I am trying to use SPI1 of the expansion header in Xavier AGX(L4T32.5). For this I have configured the pinmux accordingly,
pinmux.0x0243d040 = 0x00000404; # spi1_sck_pz3: spi1, pull-down, tristate-disable, input-disable, lpdr-disable pinmux.0x0243d020 = 0x00000454; # spi1_miso_pz4: spi1, pull-down, tristate-enable, input-enable, lpdr-disable pinmux.0x0243d058 = 0x00000404; # spi1_mosi_pz5: spi1, pull-down, tristate-disable, input-disable, lpdr-disable pinmux.0x0243d010 = 0x00000400; # spi1_cs0_pz6: spi1, tristate-disable, input-disable, lpdr-disable pinmux.0x0243d050 = 0x00000400; # spi1_cs1_pz7: spi1, tristate-disable, input-disable, lpdr-disable
I am using a loopback application to varify the data transfer, by shorting MISO and MOSI. Data loopback is happening properly and I am getting the output as expected. But If I probe and see the CS pin, and the CLK pin of this SPI1;CS0 is Always HIGH and there is no CLK during the loopback
(I have tried the pinmux configuration with ).
Why the CS0 pin is not becoming low? And why there is no clock signal?