This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I am trying to get the ADC, DMA, and UART all working together and had some questions about the MSPM0G3507 configuration when it came to the DMA.
I want to capture data from the ADC and send it to the UART and because the data capture must be continuous, I am trying to determine the best way to do that. Can two DMA channels be active at the same time, one coming from the ADC and one going to the UART?
If you have any code examples that you could provide and/or point me to that demonstrates this behavior on the MSPM0G3507, that would be greatly appreciated.
Thank you!
Hi,
2 DMA channels can not working simultaneously on MSPM0 platform.
Reference from TRM:
"The default DMA channel priorities are DMA0 through DMA15. If two or three triggers happen simultaneously or are pending, the channel with the highest priority completes its transfer (single or block transfer) first, then the second priority channel, then the third priority channel. Transfers in progress are not halted if a higher-priority channel is triggered. The higher-priority channel waits until the transfer in progress completes before starting"
Best regards,
Cash Hao