Asymmetric PWM + DMA #24
-
Could you tell - is it possible to use the DMA module for updating 2 (or more) registers to generate the waveform with pre-calculated coefficients stored in the RAM? When I am using the asymmetric PWM - I need to update several registers to change the output waveform. According to HPM6200_UM_V1_0 (34.2.14):
So:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
1.yes |
Beta Was this translation helpful? Give feedback.
-
How should I setup the DMA to use the PWM_CMPxx as a trigger?
^^^ is it the right sequence? |
Beta Was this translation helpful? Give feedback.
1.yes
2.Requires a hardware trigger to update shadow registers
3.CMP is easier to implement, just move a block of memory space. RLD requires the use of DMA chain transfers.