Skip to main content
nxp
Associate
June 11, 2017
Question

STM32f1 Push-Pull PWM

  • June 11, 2017
  • 2 replies
  • 1072 views
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?

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    June 11, 2017
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    nxp
    nxpAuthor
    Associate
    June 11, 2017
    Posted on June 11, 2017 at 16:58

    Thank Clive One.......

    Nesrine M_O
    Associate
    June 12, 2017
    Posted on June 12, 2017 at 17:08

    rafizadeh.arash.003 wrote:

    Thank Clive One.......

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