Xavier agx spi jetpack 4.4

Hi all,

has anyone successfully got SPI working with jetpack 4.4 using the jetson-io? (XAVIER AGX)

I have selected SPI1 with jetson-io, what other steps are necessary to enable SPI?

Do I need to modify the device-tree? modify any kernel files?

any pointers/info would be great.

Thanks
Matt.

Can’t use jetson-io for Xavier. Jetson-io only for the Nano/NX 40 pins configure.

Hello ShaneCCC
thanks, i am using Jetson Nano with jetpack 4.4
“SPIdev_test.c” loop back itself not working… could you kindly share workflow that can be used to make SPI to work in Jetson nano with jetpack 4.4 //thanks in advance

Have a try below method.

Hello ShaneCCC
SPI loopback test is working in Jetson nano with JETPACK 4.4
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/hw_setup_jetson_io.html this page is useful. ( took GUI route which is given in the above URL and that had helped me get spidev_test.c wok well.
thanks a lot
// jk

Did you change SPI mode from 3 to 1 too?

spi mode: 4