STMPE610 interface with Jetson Nano python3
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Aniruddha_Dongare
- Posts: 12
- Joined: Thu Dec 24, 2020 1:33 am
STMPE610 interface with Jetson Nano python3
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".
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: STMPE610 interface with Jetson Nano python3
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.
Please also post a photo showing the soldering job on the header pins of the breakout.
- Aniruddha_Dongare
- Posts: 12
- Joined: Thu Dec 24, 2020 1:33 am
Re: STMPE610 interface with Jetson Nano python3
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.
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 pins solder
- STMPE610_Soldering.jpeg (131.24 KiB) Viewed 133 times
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: STMPE610 interface with Jetson Nano python3
Thanks. That soldering looks generally OK. Is the Jetson Nano the only board you have available for testing?
- Aniruddha_Dongare
- Posts: 12
- Joined: Thu Dec 24, 2020 1:33 am
Re: STMPE610 interface with Jetson Nano python3
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.
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
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.
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: STMPE610 interface with Jetson Nano python3
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?
- Aniruddha_Dongare
- Posts: 12
- Joined: Thu Dec 24, 2020 1:33 am
Re: STMPE610 interface with Jetson Nano python3
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.
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: STMPE610 interface with Jetson Nano python3
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?
https://www.adafruit.com/product/2050
What about subsequent presses? Does it continue to be random, or does it settle on some specific value?
- Aniruddha_Dongare
- Posts: 12
- Joined: Thu Dec 24, 2020 1:33 am
Re: STMPE610 interface with Jetson Nano python3
On subsequent presses on different location it settles down on same co-ordinates for 10-15 touches then it changes...
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: STMPE610 interface with Jetson Nano python3
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.
Please be positive and constructive with your questions and comments.