0

STMPE610 interface with Jetson Nano python3
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

STMPE610 interface with Jetson Nano python3

by Aniruddha_Dongare on Tue Jan 05, 2021 1:22 am

STMPE610_jetson_nano_4.jpeg
Jetson Nano Interface With Adafruit STMPE610 Module Via SPI.
STMPE610_jetson_nano_4.jpeg (183.48 KiB) Viewed 113 times
Hello,

I have interface STMPE610 with Nvidia Jetson Nano via SPI interface. I have used adafruit stmpe610 circuitpython library to communicate with STMPE610. I'm not getting the correct version id of STMPE610 via SPI interface.

My connections are as Follow:-

Jetson Nano SPI Port0 adafruit STMPE610
CS0 -----------------------> SDA/CS
SCL ------------------------> SCL
MOSI ------------------------> SDI
MISO ------------------------> SD0
3.3V ------------------------> Vin
GND ------------------------> GND
3.3V -------------------------> MODE

When I run the example code it throws Run time error "Failed to find STMPE610! Chip Version 0x0".

Aniruddha_Dongare
 
Posts: 12
Joined: Thu Dec 24, 2020 1:33 am

Re: STMPE610 interface with Jetson Nano python3

by adafruit_support_carter on Tue Jan 05, 2021 1:17 pm

You have 3.3V from the Jetson connected to 3Vo on the STMPE, not Vin. Try changing that and see if it helps.

Please also post a photo showing the soldering job on the header pins of the breakout.

adafruit_support_carter
 
Posts: 18190
Joined: Tue Nov 29, 2016 2:45 pm

Re: STMPE610 interface with Jetson Nano python3

by Aniruddha_Dongare on Wed Jan 06, 2021 2:17 am

Hi,

I have tried Vio pin for input supply but results are same. Getting 0x00 all the time. I have verified voltage levels and connectivity between Nano and STMPE610.

I am attaching the image of stmpe610 pin soldering.
Attachments
STMPE610_Soldering.jpeg
Stmpe610 pins solder
STMPE610_Soldering.jpeg (131.24 KiB) Viewed 98 times

Aniruddha_Dongare
 
Posts: 12
Joined: Thu Dec 24, 2020 1:33 am

Re: STMPE610 interface with Jetson Nano python3

by adafruit_support_carter on Wed Jan 06, 2021 2:31 pm

Thanks. That soldering looks generally OK. Is the Jetson Nano the only board you have available for testing?

adafruit_support_carter
 
Posts: 18190
Joined: Tue Nov 29, 2016 2:45 pm

Re: STMPE610 interface with Jetson Nano python3

by Aniruddha_Dongare on Thu Jan 07, 2021 3:45 am

Hi...
I have tested the module with Arduino Uno board.... and it works fine with arduino board...
I wanted to ask one question that, Will this module is available in bulk quantity in future?
As STMPE610 IC is showing me obsolete in STM website.

Aniruddha_Dongare
 
Posts: 12
Joined: Thu Dec 24, 2020 1:33 am

Re: STMPE610 interface with Jetson Nano python3

by Aniruddha_Dongare on Thu Jan 07, 2021 7:59 am

I have one more doubt regarding touch co-ordinates, I am not getting the repeatability in touch co-ordinates. co-ordinates are varying in large difference at same position touch.

Aniruddha_Dongare
 
Posts: 12
Joined: Thu Dec 24, 2020 1:33 am

Re: STMPE610 interface with Jetson Nano python3

by adafruit_support_carter on Thu Jan 07, 2021 1:08 pm

OK, so it works on the UNO, so we know the hardware is generally working. Are you continuing to use it with the UNO? What touch overlay are you using?

adafruit_support_carter
 
Posts: 18190
Joined: Tue Nov 29, 2016 2:45 pm

Re: STMPE610 interface with Jetson Nano python3

by Aniruddha_Dongare on Fri Jan 08, 2021 1:41 am

I am using 3.5" 480x320 4-wire Resistive TFT touchscreen. LCD driver is HX8357D. when i touch on same position once i got x=3378, y=238, On second attempt i got x=278, y=320.

Aniruddha_Dongare
 
Posts: 12
Joined: Thu Dec 24, 2020 1:33 am

Re: STMPE610 interface with Jetson Nano python3

by adafruit_support_carter on Fri Jan 08, 2021 2:39 pm

One of these?
https://www.adafruit.com/product/2050

What about subsequent presses? Does it continue to be random, or does it settle on some specific value?

adafruit_support_carter
 
Posts: 18190
Joined: Tue Nov 29, 2016 2:45 pm

Re: STMPE610 interface with Jetson Nano python3

by Aniruddha_Dongare on Mon Jan 11, 2021 1:22 am

On subsequent presses on different location it settles down on same co-ordinates for 10-15 touches then it changes...

Aniruddha_Dongare
 
Posts: 12
Joined: Thu Dec 24, 2020 1:33 am

Re: STMPE610 interface with Jetson Nano python3

by adafruit_support_carter on Mon Jan 11, 2021 12:22 pm

Something like that could be software or hardware related. Let's check the hardware first. Please post a photo of the UNO + STMPE610 + TFT setup you are currently using for testing.

adafruit_support_carter
 
Posts: 18190
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.