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.

TMS320F28035: up-count mode 高精度PWM问题

Part Number: TMS320F28035

在<<TMS320x2802x, 2803x Piccolo High Resolution
Pulse Width Modulator (HRPWM)>>手册中, 2.3.4 High Resolution Period
里面有例子:60Mhz主频,175k开关频率,

Integer period value = 342 * TTBCLK
= int (342.857) * TTBCLK
= int (PWMperiod) * TTBCLK
In up-count mode:
TBPRD register value
= 341 (TBPRD = period value - 1)
= 0155h

我的问题是,为什么此时TBPRD寄存器的值是等于period value-1(此例中的341),而不是period value(342)?实测也是要等于period value-1频率精度才更高,这是为什么呢?