2314206_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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?

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎03-10-2026 04:28 AM
更新者: