Hi,
We tried to do loopback test in Jetson AGX Xavier by shorting the MOSI and MISO pins(19,21). After done the initial setup we ran the code spidev_test.c in the linux source code linux/tools/spi/spidev_test.c.
It also worked . But why even removed the wire, the loopback is working .
If the wire is not shorted means, it no need to work right?
Thanks for the reply DaneLLL.
I’ve referred the link you shared which is for jetson nano…Jetson nano’s SPI pins are GPIO based (MOSI - GPIO 19 and MISO - GPIO 21) which requires to remove the “GPIO usage of SPI pins”
But in Jetson AGX Xavier , the SPI pins are not GPIO based. They are fixed as MOSI and MISO. So I didn’t follow the step “Removing usage of GPIO pins”
Command for loopback : ./spidev_test -D /dev/spidev0.1 -v -p “helloWorld123456789abcdef”
Attached the screenshot also. This loopback test is working after removing the wires