How to access SPI0 Slave in jetson orin nano/nx

Hi,

I am using L4T 36.4.4. Trying to access the spi0 as spi-slave. I followed below steps in orin nx. But I could not access the spi as slave.

How to access?> Please share any guide or suggestions to access the spi0 as slave. I am using other 3.3v spi pins from microcontroller.

Hi kamalesh1,

Are you using the devkit or custom board for Orin NX?

Do you want to configure Orin NX as SPI slave on SPI0?
If so, please just configure the compatible string for spi@3210000 and you should get slave related information in dmesg.

Hi Kevin,

I am using custom board only.

Yes I made as slave. I got slave message as well. But It did not receive any messages from SPI master. Here I used SPI master as some microcontroller board which is 3.3v.

How to debug this?

How did you verify that the messages are not received?

Maybe you can refer to https://elinux.org/Jetson/L4T/peripheral/#Slave_Mode for the steps to configure one SPI as Master and another as Slave to verify.