NRF9160 zephyr SPI - CS stay low too long

Hi,
I'm working on nRF9160 with Zephyr (SDK 1.7.1) and one SPI device. I analyze CS signal with correlation to SPI SCK. Is that normal that CS signal stays low much longer than SCK signal?

For example:
SPI SCK = 2 MHz:

CS goes low ~8us before SCK and goes high ~21 us after the end, while communication takes 12us.

SPI SCK = 8 MHz:

CS goes low ~7us before SCK and goes high ~7us after SCK, while communication takes 3us.

When I working with time sensitive SPI devices - these delays matter a lot. Is there a chance to reduce them?

&spi0 {
	compatible = "nordic,nrf-spim";
	status = "okay";
	sck-pin = <21>;
	mosi-pin = <22>;
	miso-pin = <23>;
	cs-gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
};
Of course - I set CS gpio delay to 0.

 

Parents Reply Children
No Data
Related