SPI loopback RX not receiving


How to do SPI loopback on jetson agx orin ?
For this one I went through
After the setup, we’re
$ sudo /opt/nvidia/jetson-io/jetson-io.py
In our case we select SPI1 (pins 19,21,23,24,26)
MOSI MISO pins shorted
1-> sudo modprob spidev

2-> https://raw.githubusercontent.com/torvalds/linux/v4.9/tools/spi/spidev_test.c
3-> sudo ./spidev_test -v -D /dev/spidev0.0
i got like below fig

1.Anything missed on my end?
2. What’s the next step to solve this one?

Using Jetson AGX Orin dev kit
And jetpack version 5.1.2
Jetson Linux_R35.4.1

Thank you in advance

Hi eduri.lavanya,

Do you reboot the board to apply the change?

Have you shorted PIN19(SPI1_MOSI) and PIN21(SPI1_MISO)?

Could you try to run the following command instead?

$ sudo ./spidev_test -D /dev/spidev0.0 -v -p "HelloWorld123456789abcdef"

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.