It’s been over three weeks and I’m still unable to make a simple and stable Serial communication via UART TX/RX work between an Arduino and the Jetson Developer Kits (Xavier NX or the Nano).
Initially, I managed to make things work on the Jetson Xavier NX, on port /dev/ttyTHS0
via GPIO pins 8,10.
After disabling nvgetty everything seemed to work well.
I then tried to replicate the same setup on the Jetson Nano (as we will need multiple boards for our research) but the serial data is scrambled / corrupt (still trying to solve it here).
A few days ago (Monday, Oct. 26th) things stopped working on the Xavier NX as well.
I’m still getting inbound data from the Arduino, but unable to send anything to the Arduino.
So my guess is something is wrong with the TX pin (GPIO pin 8)?
I don’t think its a hardware issue as I tested it with a new kit which I got today.
- As mentioned the same setup still (almost) works on the Jetson Nano, the data goes both ways but is scrambled.
- When connecting the Arduino via USB the serial communication works well on both kits.
- Similar setup works perfectly on a Raspberry Pi.
Here are images of my setup:
↑↑↑ Jetson Xavier NX Kit Connected to an Arduino - Only the RX on the Jetson works (TX stopped working on Monday Oct. 26th)
↑↑↑ Jetson Nano Kit Connected to an Arduino - Both TX and RX work but the data is scrambled as described here
↑↑↑ The Same setup with a RaspberryPi - works very well
I’m using “Minicom” and the “Arduino IDE Serial Monitor” to test the communication on all platforms.
Seems like using a USB cable is the only reliable option for serial communication with the Jetson boards at the moment.