cancel
Showing results for 
Search instead for 
Did you mean: 

90 Degree Phase Shift

Harsh_18
Associate II

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)

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

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.

View solution in original post

2 REPLIES 2
Sarra.S
ST Employee

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_18
Associate II

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