Hello,
With sdk13 and app_pwm library, I only got 9bits resolution for 32KHz freq.
The pwm should have 16bits resolution, with max freq 100KHz? please could anyone confirm that.
Hello,
With sdk13 and app_pwm library, I only got 9bits resolution for 32KHz freq.
The pwm should have 16bits resolution, with max freq 100KHz? please could anyone confirm that.
The pwm should have 16bits resolution, with max freq 100KHz? please could anyone confirm that.
Nope: Base PWM frequency is 16MHz. 16MHz/32khz = 500
. Those 500 are just short of 9bits=512
.
More bits would require a lower PWM frequency.
Turbo is correct. If you need 16-bits resolution the maximum frequency would be no more than 244 Hz ;)