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.
你这么问不好回答。
假设时钟100MHz,载波频率20kHz,PWM为对称模式(TB_COUNT_UPDOWN)
EPWM的分辨率可以如下计算:
100E6/20E3/2 = 2500, 11.3位。
HRPWM,这个90为浮动值由 while (SFO() == SFO_INCOMPLETE) {} 自动产生。
100E6/20E3/2 * 90 = 225000, 17.8位。
不过貌似2807X之前的芯片PWMB是不能出HRPWM的,而且A配置成HRPWM则B不能互补输出。