Jetson Nano SPI Not Working

The SPI loopback test does not work

I have modified some settings but it doesn’t work:



Are you using the devkit or custom board for Jetson Nano?

It seems you’ve done some setups for SPI1.

Could you help to refer to the following thread to do loopback test step-by-step?
Jetson Nano SPI Bus Not Working - #10 by KevinFFF

1 Like

I am Using the Devkit.
Yes,I have done some setups for SPI1 , But it still doesn’t work.

I have referred many threads including this one you provided.

The GPIO status is always as shown in the picture above : C: 0:2 1f
I have checked the device tree file, there is no such information as “TEGRA_GPIO(B, 4)” “TEGRA_GPIO(B, 5),…”

Have you done the whole steps in this thread w/o any issue?

Could you help to provide the result of the following command on your board?

$sudo cat /sys/kernel/debug/tegra_pinctrl_reg | grep -i spi

My problem is almost the same as in this thread.

sudo cat /sys/kernel/debug/tegra_pinctrl_reg | grep -i spi

Your pinmux value seems unexpected for SPI usage.

Have you used Jetson-IO to configure them for SPI and apply them correctly?
You should select Save and reboot to reconfigure pins and your board would reboot.

You should also remove the GPIO usage for these pins as step2 in the previous thread I shared.

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