Hi,
As per below table Desired frequency is 460KHz and calculated frequency is 460.1226KHz
what will be the / How to calculate the tolerance of PWM Calculated frequency and what are the factors are affecting it (other than temperature).
Desired Frequency | 460 | KHz | ||
formulas | ||||
PWM frequency = TBCLK /(TBPRD+1) | ||||
TBCLK = VCLK3/(HSPCLKDIV*CLKDIV) | ||||
Sec. PH clock | VCLK3 | 150 | MHz | |
High speed clock div | HSPCLKDIV | 1 | ||
Clock div | CLKDIV | 1 | ||
timebase period | TBPRD | 325 | ||
Time base clock | TBCLK | 150000000 | ||
PWM Frequency | PWM fr | 460122.6994 | Hz | |
460.1226994 | khz | |||
Result | TBPRD | PWM fr | ||
325 | 460.1226 | 0.1226 | + | |