關於SDK_CMSIS_UASRT_EDMA_transfer

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

關於SDK_CMSIS_UASRT_EDMA_transfer

571 Views
JetWen
Contributor I

JetWen_0-1704865188980.png

我的理解是先DMAMUX某個DMA channel  assigned給Peripheral在enable DMA,可是此Example直接啟用是為甚麼?似乎沒有assigned的動作

0 Kudos
Reply
4 Replies

558 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I do not know the part number you are using.

Anyway, for Kinetis, there is DMA MUX chapter or section in Chip configuration chapter.

Pls search the "DMA MUX" as key words, you can see the DMA mux source, it is chip by chip, but I am sure that there is DMAMUX_CHCFGx register, which defines the DMA triggering source for each DMA channel, refer to the DMA mux source and fill it to the DMAMUX_CHCFGx register, it is okay.

Hope it can help you

BR

XiangJun Rong

 

0 Kudos
Reply

550 Views
JetWen
Contributor I

Hi~

Thank you for your answer,I still have a question.

If I finish the DMAMUX that assigned DMA channel to UART ,the UART will be work with DMA automatically or I have to enable UART register which is control DMA enable.

0 Kudos
Reply

544 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

You have to enable UART register which is to control DMA enable.

BR

XiangJun Rong

0 Kudos
Reply

528 Views
JetWen
Contributor I

I got it, thanks for your answer~~

0 Kudos
Reply