S32K144 LPSPI5 eDMA channel map

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

S32K144 LPSPI5 eDMA channel map

1,106件の閲覧回数
Mark_977
Contributor I

Hello,

I want to use LPSPI5 with DMA to automatic send and receive data.

In the S32Kxx_DMAMUX_map.xlsx, LPSPI5 TX/RX are maped to DMAMUX1.

From S32K3xxRM.pdf chapter 13.1.1, DMAMUX_1 channels are mapped to eDMA_TCD 6-12.

S32K3XXRM_DMAMUX.png

According to above, I try to configure MCAL with EBTresos and RTD package SW32K3_RTD_4.4_2.0.2.

I find that in the MclMcl config/DMA logic channel/Logic channel configuration, DMAMUX_1 source is unconfigurable when the selection of DMA hardware channle is lower than 16. When DMA hardware channle is lower than 16, only DMAMUX_0 is configurable. According to the reference manucal, DMAMUX_1 source shall be configurable when DMA hardware channel is 6-12.

eb2.pngeb1.png

I looked into the source code, in the intializtion code, the DMAMUX intance is calculated by divide TCD channel with 16 too.

Is there something I missed in the reference manual or I misunderstand, why the configuration in EBTresos differs from description in reference charpter 13.1.1?

 

0 件の賞賛
返信
1 返信

1,047件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

As per S32K3XXRM_Rev_5, chapter 13 DMAMUX:

cuongnguyenphu_0-1705069843252.png


In S32K344 has 32 eDMA channels, so DMAMUX1 is mapped to TCD16-31

0 件の賞賛
返信