在F2803xEqep_freqcal示例程序中的EPwmSetup函数中,有一点很是不明白:
//
在设定时基计数周期TBPRD时,为什么 SP=CPU_CLK/[2*PWM_CLK]公式中要除以一个2.
TBPRD为16位,就算用60M的时基计数器计数频率,它也不会溢出啊,为什么非要除以个2?
难道TBPRD的设置,还有什么别的限制?
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.