This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,
i am using high resolution PWM module for controlling my Buck Converter
previosly i was using normal PWm ,then i migrated to HRPWM
i am trying to use the HRPWM for controlling both edges for better accuracy using CMPAHR ,is this possible
if yes ,which piints should i consider
regard
waqar
Hi Waqar,
Do you require symmetric PWM such as with up-down count mode?
If not, you can use up-count and set ePWM-A to SET on CTR=ZERO event and CLEAR on CTR=CMPA-UP event to achieve Hi-Res.
Regards,
Daniel
hi Daniel,
actually i need symetric PWM AS its a requirement
do you mean that its impossible to use both edges with CMPA
now i just implemented falling edge with symetric PWM setting on CTR=CMPA down and Clearing on CTR=CMPA up
it seems to work fine ,but it still gives me enough performance
regard
waqar
hi Daniel,
actually i need symetric PWM AS its a requirement
do you mean that its impossible to use both edges with CMPA
now i just implemented falling edge with symetric PWM setting on CTR=CMPA down and Clearing on CTR=CMPA up
it seems to work fine ,but it still doesn't gives me enough performance
regard
waqar
I believe that when configured for up-down count and BE control, the PWM module will allow for high-resolution positioning of both the rising and falling edges for high-resolution duty using CMPAHR register.