Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

DMA problem using two timers

$
0
0
Hi,

I guess the problem is that the DMA channel 1 and DMA channel3 are competing trying to set the shadow transfer enable of the two PWMs.
Instead just use one DMA channel and set the shadow_transfer_enable to enable shadow transfer on both.
For this to work you should use the period match event to trigger the transfer instead of the compare match, assuming both PWMs has the same period.

Regards,
Jesus

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>