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

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

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

Jump to solution
1,040 Views
sstelmak
Contributor III

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?

 

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,002 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
985 Views
sstelmak
Contributor III

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 Kudos
Reply
1,003 Views
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 Kudos
Reply