Issue facing in SPI on expansion header

Hi,
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?

Thanks
Ashik P.

Could you check the loopback for two SPI controllers.

Thanks @ShaneCCC
The issue was with the SPI application.
I used a different application (linux/spidev_test.c at master · torvalds/linux · GitHub) and now clock and CS is working properly.