cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f1 Push-Pull PWM

nxp
Associate II
Posted on June 11, 2017 at 13:15

Hi,

I want to create two PWM by STM32F103 for a Push-Pull system. Now, I would be grateful if you tell me how can I shift one of the PWMs through this sysem?

3 REPLIES 3
Posted on June 11, 2017 at 16:27

There a TIM with inverted 'N' outputs. There is also PWM1 mode vs PWM2 mode.

Other phase shifts can be achieved using Toggle mode.

I believe the example code also has a 3 or 6 phase example, but this requires interrupt based management rather than just programming once and letting the hardware do the work.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
nxp
Associate II
Posted on June 11, 2017 at 16:58

Thank Clive One.......

Posted on June 12, 2017 at 17:08

rafizadeh.arash.003 wrote:

Thank Clive One.......

https://community.st.com/0D50X00009bMM5DSAW