Skip to main content
Visitor II
November 16, 2023
Solved

90 Degree Phase Shift

  • November 16, 2023
  • 2 replies
  • 1793 views

Hii, i am new at stm32 controller & i want a pwm phase shift of 90 degree . So can anyone plz tell me that how i will generate the phase shifted pwm (what parameters we need to set to get it)

    This topic has been closed for replies.
    Best answer by Sarra.S

    Hello @Harsh_18

    Set 2 channels of a timer to output compare toggle mode and set the respective CCRx registers to values apart the required phase shift. 

    Check AN4776 (2.4 section) and RM (17.3.9 section) to better understand the OC toggle mode 

    2 replies

    Sarra.SAnswer
    ST Employee
    November 16, 2023

    Hello @Harsh_18

    Set 2 channels of a timer to output compare toggle mode and set the respective CCRx registers to values apart the required phase shift. 

    Check AN4776 (2.4 section) and RM (17.3.9 section) to better understand the OC toggle mode 

    Harsh_18Author
    Visitor II
    November 17, 2023

    Can you plz share the link or the image of that AN4776 (2.4 section)