I’m using a Tria i.MX9332 (B1 silicon) SMARC module and trying to use LPSPI6 with eDMA on the Cortex-M33, but I can’t get it working.
Development environment
Hardware
Current status
The display works correctly when using LPSPI6 without DMA.
I’m trying to switch to LPSPI6 + eDMA to improve throughput, but I cannot get completion notification.
Issue
The DMA-based transfer appears to start, but I never receive the LPSPI DMA completion callback at the end of the transfer.
Details and relevant code/config are in the attached file.
Could someone point out what I might be missing, or why the callback is not triggered?