Hello, I would like to use the STM32’s PWM block to generate two complementary PWM signals on different channels, rather than generating them on the same channel. I am doing this for a three-phase converter control simulation; I want to control each converter leg using a separate channel, and at certain times, I need to apply a PWM signal to one leg (main PWM on the top switch and complementary on the bottom switch) while applying a complementary PWM signal to another leg (main PWM on the bottom switch and complementary on the top switch). In other words, I need to change the channel polarity during the simulation.
Hi Davi,
Thanks for the explanation.
It would be helpful if you could provide a sketch of the PWM scheme you are trying to implement, or even better, an offline PLECS model that demonstrates the desired behavior. That would make it much easier for us to understand your requirements and determine the best way to implement the scheme using the STM32 Target Support Package.