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?
Solved! Go to Solution.
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
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?
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