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
VS Code 1.109.0
MCUXpresso for VS Code extension 26.1.56
SDK 25.09.00
Hardware
Tria SM2S-IMX93 on a custom carrier board
LCD with ILI9341 controller connected via SPI (LPSPI6)
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?
Thank you for the sample code. Reviewing the example helped me to make it work.
Hi @albi84
Please refer the attachment patch file configuration the LPDPI with EDMA
B.R
Hello,
Can you please share the skeleton for the LPSPI with eDMA?
Thanks.
It is not a skeleton but the actual code I use. Does this help?