Hi:
I’m using JetPack 4.5.1 on TX2 NX, test with spidev_test, SPI0 is working, SPI1 is not.
I have not modified pinmux configuration : bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-p3636-0001-a00.cfg, because I think the 2 SPI are all configured correctly:
pinmux.0x0243d018 = 0x00000446; # gpio_wan5_ph0: spi1, pull-down, tristate-disable, input-enable, lpdr-disable
pinmux.0x0243d010 = 0x00000446; # gpio_wan6_ph1: spi1, pull-down, tristate-disable, input-enable, lpdr-disable
pinmux.0x0243d008 = 0x00000446; # gpio_wan7_ph2: spi1, pull-down, tristate-disable, input-enable, lpdr-disable
pinmux.0x0243d000 = 0x0000044a; # gpio_wan8_ph3: spi1, pull-up, tristate-disable, input-enable, lpdr-disable
pinmux.0x0c302050 = 0x00000444; # gpio_sen1_pv1: spi2, pull-down, tristate-disable, input-enable, lpdr-disable
pinmux.0x0c302058 = 0x00000444; # gpio_sen2_pv2: spi2, pull-down, tristate-disable, input-enable, lpdr-disable
pinmux.0x0c302060 = 0x00000444; # gpio_sen3_pv3: spi2, pull-down, tristate-disable, input-enable, lpdr-disable
pinmux.0x0c302068 = 0x00000448; # gpio_sen4_pv4: spi2, pull-up, tristate-disable, input-enable, lpdr-disable
test output:
# ./spidev_test -D /dev/spidev3.0
spi mode: 0x3
bits per word: 8
max speed: 500000 Hz (500 KHz)
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 | ................................