2314206_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2314206_en-US

2314206_en-US

i.mx93 LPSPI + eDMA problem on Cortex-M33

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?

Re: i.mx93 LPSPI + eDMA problem on Cortex-M33

Thank you for the sample code. Reviewing the example helped me to make it work.

Re: i.mx93 LPSPI + eDMA problem on Cortex-M33

Hi @albi84 

Please refer the attachment patch file configuration the LPDPI with EDMA

B.R

Re: i.mx93 LPSPI + eDMA problem on Cortex-M33

Hello,


Can you please share the skeleton for the LPSPI with eDMA?


Thanks.

Re: i.mx93 LPSPI + eDMA problem on Cortex-M33

It is not a skeleton but the actual code I use. Does this help?

Tags (1)
No ratings
Version history
Last update:
‎03-10-2026 04:28 AM
Updated by: