PWM in multiple GPIO ports with phase angle shift
Posted: Tue Oct 06, 2020 7:02 am
Hi Matrix team,
Currently, I try to make a simulation board using STM32F4 series ARM processor for one of my testing projects. I would like to generate the PWM in 6 GPIO ports,
Port 1 = 0 deg Phase angle
Port 2 = Just invert of Port 1 signal
Port 3 = 120 deg Phase angle
Port 4 = Just invert of Port 3 signal
Port 5 = 240 deg Phase angle
Port 6 = Just invert of Port 5 signal
I use 6 timers to generate the PWM. I try to generate the PWM in two different ports, But port's start's at same time and no any phase difference. Can you please guide how to generate the PWM in diffent Phase angle and how to invert the PWM with respect to other port.
Please support.
Regards,
Palani
Currently, I try to make a simulation board using STM32F4 series ARM processor for one of my testing projects. I would like to generate the PWM in 6 GPIO ports,
Port 1 = 0 deg Phase angle
Port 2 = Just invert of Port 1 signal
Port 3 = 120 deg Phase angle
Port 4 = Just invert of Port 3 signal
Port 5 = 240 deg Phase angle
Port 6 = Just invert of Port 5 signal
I use 6 timers to generate the PWM. I try to generate the PWM in two different ports, But port's start's at same time and no any phase difference. Can you please guide how to generate the PWM in diffent Phase angle and how to invert the PWM with respect to other port.
Please support.
Regards,
Palani