Hello.
We are using the ECSPI2 in the i.mx8 m mini from the M4 core.
ECSPI2 is disabled in the device tree so that the M4 has full control.
The SPI is configured to transfer 5 bytes with the ECSPI_MasterTransferNonBlocking and then generate the RXFIFO Data Request Interrupt.
This works fine for some time but at some point the SPI Transfer hangs after sending 3 byte.
What could cause ECSPI to only transfer 3 byte?
Cheers Marcel
已解决! 转到解答。
Hi Jimmy
We are using SDK 2.11.0 with a custom board using the i.MX8M Mini.
I could fix the original issue by using the CMSIS implementation of the ECSPI.
But there i face an other issue, that i cannot use ecspi2 and ecspi3 simultaneously.
I used the cmsis_ecspi_int_loopback_transfer as starting point and implemented ecspi 3 accordingly. I can use the ecspi3 alone but not both together.
Either the ECSPI2_DriverIRQHandler or the ECSPI3_DriverIRQHandler is not triggered.