SPI loopback RX not receiving

Hi

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
image|8https://global.discourse-cdn.com/nvidia/original/3X/8/4/841dc9af913c2c3165673436f5443f363aebe507.png3x66

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?

FYI
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.