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.
F280049 TRM中关于HRPWM有提到存在Duty Cycle Range Limitationd的问题,当没有使能高分辨率周期(TBPRDHR)控制时,新周期开始后的三个EPWMCLK后开始启用。也就是每个周期开始的三个EPWMCLK是不能用的。如果采用up-count mode,就会存在最小占空比的限制,而采用down-count mode,就会存在最大占空比的限制。那如果是用up-down count mode产生对称波形,duty的限制是怎么样的呢?是最大最小duyt都会有限制吗?假设频率100kHz,duty的变换范围就是0.6%~99.4%?关于这个问题请专家帮忙看一下,希望能够收到回复,感谢!
额,你好,不知道你的问题跟TRM中的Figure 18-90. Up-Down Count Duty Cycle Range Limitation Example有什么不同吗?
你好,Figure 18-90我看是TBPRDHR使能(HRPCTL[HRPE]=1)情况下的说明,TBPRDHR不使能(HRPCTL[HRPE]=0)也是相同的吗?up-count模式下是有却别的,所以需要确认一下,谢谢!
收到回复:
TRM中有一组图表显示不允许的范围。在这些范围内,“HR”模块无法运行,因此如果你的duty在这些范围内,可以选择禁用“HR”模块,当duty返回这些范围外时,再重新启用HR。
你好,谢谢回复。当没有使能高分辨率周期(TBPRDHR)控制时,TRM中只给出了up-count和down-count模式下duty限制的说明图,而我使用的是up-down计数模式,想知道这种模式下的duty范围。频率比较高,必须用HR模式呢
NO HIGH RESOLUTION PERIOD:
Three EPWMCLK cycles after the period starts when high-resolution period (TBPRDHR) control is not enabled
HIGH RESOLUTION PERIOD ENABLED:
In up-down count mode: when counting up, three cycles after CTR = 0 until three cycles before CTR = PRD, and when counting down, three cycles after CTR = PRD until three cycles before CTR = 0