Skip to main content
Associate II
November 16, 2023
Solved

90 Degree Phase Shift

  • November 16, 2023
  • 2 replies
  • 1818 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.SBest answer
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 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Harsh_18Author
Associate II
November 17, 2023

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