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

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

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

ソリューションへジャンプ
81件の閲覧回数
sstelmak
Contributor II

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?

 

ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
43件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
26件の閲覧回数
sstelmak
Contributor II

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?

0 件の賞賛
44件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

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

0 件の賞賛