Hi,
Here's the device tree node:
#include "imx8mp.dtsi"
&ecspi2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2>;
status = "okay";
};
I'm running a kernel module (calling spi_sync_transfer), but I've tested with spidev_test by sending data and measuring on a scope.
Each attachment is a single 2048 byte transfer at 10MHz, including a fast example and a slow example with increasing zoom. I'm just showing the clock so you can see how long the transfer takes.
In fast.png, the clock is continuous with small delays between each byte.
In slow.png, there are large delays every 32 bytes and significant delays between each byte.
Is this the DMA limitation? If so, would the Cortex-M not have the same issue?
Thanks