AnsweredAssumed Answered

MWCT controller DMA configuration for continuous transfer

Question asked by Amitava Das on Aug 8, 2018
Latest reply on Nov 9, 2018 by Saurabh Dass



I've a question regarding MWCT1013 controller DMA and PWM module.

I want to load the PWM module VALx registers with the contents stored at a memory location. The DMA is configured to get a trigger every PWM period to start the transfer of values from memory to 4 of the VALx registers. To do this, BCR register is loaded with 4. This indicates the DMA module to make 4 transfers. The issue is that the BCR value decrements to 0 after those 4 transfers. Then the BCR registers have to be reinitialized. How can I overcome this issue? Using the interrupt is one option. But is there a way to avoid using interrupt and the BCR is loaded with 4 after the completion of the transfers? e.g. by configuring different DMA channel which can load 0x4 from some other memory location?