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.

MSPM0G3507: dma transfer to seperate addresses.

Part Number: MSPM0G3507

Tool/software:

Hey.
I wonder if it is possible to set up a repeated dma transfer from one address to four seperate addresses?
Specifically, I would like to find a smart way to periodically write a specific value to the load registers of four timers.
I was thinking about using a fifth timer to trigger a repeated dma transfer.
I'm fairly certain that I can get this to increment the source address every time it is triggered, but the difficult part is to get it to write to the four seperate timers' load register....

Regards

Anders

  • Hi, Anders

    Refer to the G3507's datasheet: 4 Functional Block Diagram

    DMA has permission to access DMA and timer's register.

    Two ways you can try:

    1. Set 4 DMA channel to write four timer's register.

    2. Set 1 DMAc channel (DMA-C) to control another DMA channel (DMA-T)'s destination address. DMA-t control the Timer address' value.

    Regards,

    Helic