How to solve the dma mux source problem of dma channel 6-7 in s32k312 mcal rm module

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

How to solve the dma mux source problem of dma channel 6-7 in s32k312 mcal rm module

214 Views
xiaoyaojun
Contributor II

I am configuring dma mux source of S32K312 mcal and found that dma mux source can not configure LPSPI3 of channel 6 and channel 7. I checked RM and found that dma mux after channel 6 can not be used.

Q1: Why can't it be used?

Q2: How do I get around this limitation and use it

xiaoyaojun_0-1719496901287.pngxiaoyaojun_1-1719496919490.png

Please answer my question ,Thank you very much
note: I'm making a little tool, not that security critical

0 Kudos
Reply
4 Replies

195 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi xiaoyaojun,

If you want to use DMA_MUX_0_LPSPI_3_RX_REQUEST with S32K312, please select DMAMUX_0 channels 0-5 instead of DMA_CHANNEL_6.

DMA_MUX_0_LPSPI_3_RX_REQUEST DMAMUX S32K312.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

192 Views
xiaoyaojun
Contributor II

Thank you for answering me!

my DMAMUX_0 channels 0-5 have been used by LPSPI0 LPSPI1 LPSPI2 (TX RX) . Is there any other solution? I want to use all LPSPI resources 

0 Kudos
Reply

107 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

LPSPI0-3 belong to DMAMUX0, (for S32K3x4 LPSPI4-5 belong to DMAMUX1).  But there are only 6 DMAMUX_0 channals on S32K312. (DMAMUX_0 channels 0-5). Have you considered configuring some of them in interrupt mode? 

0 Kudos
Reply

190 Views
xiaoyaojun
Contributor II

xiaoyaojun_0-1719540396569.png

xiaoyaojun_1-1719540422291.png

Here's my configuration,Please help me. Thank you

 

0 Kudos
Reply