Question
STM32f4 4-channel PWM with phase shift and variable duty cycle
Posted on April 01, 2015 at 11:51
Hello,
I'm stucked and want to ask for some clues.I'm building an 4-phase interleaved boost converter and I need to run a 4-channel PWM with phase shift (90 degree on each channel) and variable duty cycle (same for all channels).I tried to use OC Toggle Mode, but I was unable to change duty cycle.In PWM1 I was unable to phase shift.I tried to use one timer at 4xfreq and then in interrupts fire 4 separate timer, but it wasn't accurate.Will appreciate for any hints, becouse I'm trying to manage it for a week. #phase-shift #pwm #stm32