SPI doesn't work on Jetson Nano 2GB. How to use SPI on Jetson Nano?

Hello!
SPI doesn’t want to work on my Jetson Nano.

In my devices from terminal I have this:
al@val-desktop:~$ ls /dev/spi*
/dev/spidev0.0 /dev/spidev0.1 /dev/spidev1.0 /dev/spidev1.1

And this:
val@val-desktop:~$ lsmod | grep spi
spidev 13282 0

When I’m connecting MISO and MOSI pins(19 and 21 pins according to this picture ) and testing SPI with this code I have this:
val@val-desktop:~/spi_test$ ./spi_test -v -D /dev/spidev0.0
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 kHz)
TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D |…@…|
RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |…|

No response. I was trying all 0.0 0.1 1.0 1.1 variants.

What am I doing wrong?

Sorry for the late response, is this still an issue to support?

If still have problem.
Please use jetson-io to configure the pinmux for SPI function.

Yes, It’s a solution

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