SPI can not send data on jetson nano

the jetson nano-emmc of R32.6.1 cannot trigger the SPI_CLK.
1.I tried to modify the dts to spi1.


2.I change the extlinux.conf as flow and I save the dtb to the flow dir,and reboot

3.I connect the SPI_CLK pin to the oscilloscope, and used spidev_test send data, but I cannot find high-level on the oscilloscope.

What’s the below command shows.

sudo cat /sys/kernel/debug/tegra_pinctrl_reg |grep ‘spi’

Bank: 1 Reg: 0x70003050 Val: 0x0000e044 -> spi1_mosi_pc0
Bank: 1 Reg: 0x70003054 Val: 0x0000e044 -> spi1_miso_pc1
Bank: 1 Reg: 0x70003058 Val: 0x0000e044 -> spi1_sck_pc2
Bank: 1 Reg: 0x7000305c Val: 0x0000e048 -> spi1_cs0_pc3
Bank: 1 Reg: 0x70003060 Val: 0x0000e048 -> spi1_cs1_pc4
Bank: 1 Reg: 0x70003064 Val: 0x00006044 -> spi2_mosi_pb4
Bank: 1 Reg: 0x70003068 Val: 0x00006044 -> spi2_miso_pb5
Bank: 1 Reg: 0x7000306c Val: 0x00006044 -> spi2_sck_pb6
Bank: 1 Reg: 0x70003070 Val: 0x00006044 -> spi2_cs0_pb7
Bank: 1 Reg: 0x70003074 Val: 0x00006044 -> spi2_cs1_pdd0

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