2018-12-24 07:28 AM
PWM channel 01 controls Mosfet 1, PWM 02 - Mosfet 2. Also I need to insert dead time (dt) between channel switches. My MCU has HRTIM. Is there any way to solve this task using HRTIM? If it possible, what is the best way to reduce IRQ count to reach waveform (sine) generation stability (use DMA or something else)?
2018-12-24 10:34 AM
difficult to know which way would be the most efficient. is a pulse corresponding to a timer full period?
With DMA, you could generate a train of pulses with muted time for each channel.
Or use 2 timers each one generating a pulse and triggered by other timers generating the "timer enable" timewindow... What are the dT value range, the pwm period and the active time of each PWM. Are PWM duty cycle dynamically changing?
2018-12-24 08:37 PM
Yes, i plan to change duty cycle to get sine waveform.
2019-04-06 08:50 AM
Hi,
do you have found a solution to change the duty cycle from a DMA to generate a sine waveform?