1896014_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

1896014_en-US

1896014_en-US

DMA 4.0.0 driver won't let configure DMA request (for LPSPI)

With DS3.5 and RTD 4.0.0.202311, micro S32K344

I tried to configure LPSPI to use DMA.

DMA_IP won't let select DMAMUX source.

In the attached doc there are UM screenshot and the actual from DS.

UM shows that DMA channel gets linked with, in that example,  SPI2_Tx source.

Actual config does not have any fields to configure DMA source.

Is it enough to pick just any two DMA hardware channels and tell LPSPI to use them for SPI tx/rx?


S32 SDK for S32K1Re: DMA 4.0.0 driver won't let configure DMA request (for LPSPI)

Hello VaneB,

Your suggestion is correct.

RM component does include DMAMUX source config, I added that and also Rm_Init call.

Unfortunately entire Lpspi component still does not work as it was with 2.0.0 RTD version.

It is probably because of DMA config issue since Lpspi_Ip_SyncTransmit works fine but Lpspi_Ip_AsyncTransmit makes absolutely no activity.

I wonder if there any more updates in 4.0.0 that could affect DMA functionality?

Re: DMA 4.0.0 driver won't let configure DMA request (for LPSPI)

Hi @sstelmak 

Check the following thread. It seems to have information related to the topic you may find useful. 

S32k3 RTD 3.0.0 removed dmamux configuration in code generator


B.R. 

VaneB

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 09:38 PM
更新人: