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.
Hello Champs,
As described in F2803x TRM Chapter "4.2.3.3 Duty Cycle Range Limitation":
"When high-resolution period control is disabled, although for the first three cycles, the HRPWM capabilities are not available, regular PWM duty control is still fully operational down to 0% duty."
"When high resolution period control is enabled (HRPCTL[HRPE]=1), the duty cycle must not fall within the restricted range. Otherwise, there may be undefined behavior on the ePWMxA output."
That is to say, if high resolution period control is enabled, even if setting CMPAHR = 0, the minimum duty cycle will still be limited by the "3 cycles" and cannot reach 0% duty cycle, is it right?
If yes, considering to realize 0% duty cycle, the only way is to disable "high-resolution period control" and set CMPAHR = 0, is it correct?
Would you please kindly help? Thanks!
Best Regards,
Linda
Linda,
Linda Zhang84708 said:That is to say, if high resolution period control is enabled, even if setting CMPAHR = 0, the minimum duty cycle will still be limited by the "3 cycles" and cannot reach 0% duty cycle, is it right?
No, the application code is required to account for this. If you enter the 3 cycle keep out incorrect PWM output or Glitches may occur.
Linda Zhang84708 said:If yes, considering to realize 0% duty cycle, the only way is to disable "high-resolution period control" and set CMPAHR = 0, is it correct?
Yes. Also if you want 0% duty you can utilize the AQFRC feature without disabling the HRPWM.
Regards,
Cody