AnsweredAssumed Answered

How to end a DMA circular mode transfer?

Question asked by danielsson.henrik on Apr 15, 2013
Latest reply on Apr 15, 2013 by danielsson.henrik
Hello

I have setup a timer comparator to toggle an output pin. The comparator values are loaded with a DMA set up to work in circular mode and the output toggles as expected until the last round of data to be output. The last time I fill one half of the circular buffer I'm not likely to have the right number of data to fill it all and I can not just fill it with dummy data as this would cause undesirable toggling of the output pin. I can not change the number of data to transfer while the DMA channel is enabled. Does any one know how to deal with this.





Outcomes