HI Ryan, “ These are initial configuration options and changing the ratios on the fly may result in unpredictable behavior. ”Does that mean you're not sure what the specific effects will be? My situation is different from his, we need 200-10KHz PWM waveform. It is now producing a 10KHz PWM waveform at 120MHz, so a Counter represents 0.00833us. But this frequency division factor does not reach 200Hz. Therefore, when 200Hz is required, the frequency division factor of 10 is used. If dynamic CLKDIV adjustment is not recommended, then I can only use 12MHz EPWMCLK to cover 200-10KHz, but at this time a Counter represents 0.0833us, this resolution does not meet the demand. So is there no other good way to deal with my situation?
↧