我的理解是先DMAMUX某個DMA channel assigned給Peripheral在enable DMA,可是此Example直接啟用是為甚麼?似乎沒有assigned的動作
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
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.
Hi,
You have to enable UART register which is to control DMA enable.
BR
XiangJun Rong
I got it, thanks for your answer~~