2019-01-20 03:46 AM
Hi all, I am trying to program a Sine PWM using STM32F407VG, but i only got the complementary PWM instead. Can some kind person tell what can i amend or add? attached is my code. I am using ac6 system workbench for coding. Thanks.
2019-01-20 04:22 AM
What do you mean by "complementary PWM"? Where do you change the PWM fill rate?
I don't Cube.
JW
2019-01-20 04:39 AM
Better have a drawing of the waveform and some timing information.
Very fast PWM frequencies can be achieved using timer in toggle mode updated by DMA writing from circular compare table, similar to a burst pulse generation with control of each edge.