Hi,
By following the S32R45_Linux_BSP_32.0_ user_Manual, i did Setting up and building the Linux kernel Image and generated the .dtb file.
By default in .dts file the SPI node looks like:
spidev10: spidev@0 {
compatible = "rohm,dh2228fv";
spi-max-frequency = <40000000>;
reg = <0>;
fsl,spi-cs-sck-delay = <100>;
fsl,spi-sck-cs-delay = <100>;
};
let me know how much delay is required for spi-sck-cs-delay, there is more delay(22us) in CS to SCLK for every spi write.
Regards,
Praveen Kumar
Hi Praveen,
The required SCK to CS delay is dependent on the SPI slave device; how long does the slave expect CS to be asserted after last SCK edge. It should be detailed in the slave device datasheet.
Regards,
Gary