the jetson tx2 L4T version :R32.2.1
the spi pins :
SPI1_CLK G13
SPI1_MISO F14
SPI1_MOSI F13
SPI1_CS0 E13
my devicetree node is :
spi@3240000 {
spi_qy@0 {
compatible = "spidev";
reg = <0x0>;
spi-max-frequency = <0x1312d00>;
nvidia,enable-hw-based-cs;
nvidia,cs-setup-clk-count = <0x1e>;
nvidia,cs-hold-clk-count = <0x1e>;
nvidia,rx-clk-tap-delay = <0x1f>;
nvidia,tx-clk-tap-delay = <0x0>;
}
}
while I’m runing ./spidev_test -D /dev/spidev3.0
the RX is 00 00 00…
the ture should be FF FF …
at the L4T R28.2.1 the function is usefull.the hardware is well .
what should I do ? thanks