2023-11-16 01:21 AM
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)
Solved! Go to Solution.
2023-11-16 06:40 AM
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.
2023-11-16 06:40 AM
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.
2023-11-16 09:15 PM
Can you plz share the link or the image of that AN4776 (2.4 section)