Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 9 months ago.
Sinusoidal PWM Stm32f1
Hello, It's my first post and my first play with the mbed IDE so please bear with me. I am looking to get a Sinusoidal PWM working on my stm32f103RB .
So far I have got the code from this website (https://ioprog.com/2015/12/07/sinusoidal-pwm-on-the-stm32f103-nucleo-board/) working but what I would really like is a setup like this..
where the -Vo signal is a separate pin output to the Vo signal pin both going high but on an opposite cycle. The pins then drive a pair of MOSFET drivers connected to a H bridge to generate a 50hz sine wave after a LPF.
What would be the best approach to this via mbed and are there any examples for me to go over.
Thanks in advance.