I want to make a frequency of 750khz, 50:50 duty ratio.
How do I use pwm?
I use it. nRF52832 PCA10040
I used the PWM library example but it failed.
The frequency that I could generate was 1Mhz 500khz.
I want to make a frequency of 750khz, 50:50 duty ratio.
How do I use pwm?
I use it. nRF52832 PCA10040
I used the PWM library example but it failed.
The frequency that I could generate was 1Mhz 500khz.
I made 768khz by modifying app_pwm.c. Is there a way to make it more accurate?
Hi,
With a timer running at 16 MHz, the closest you could get to 750 kHz would be 761.9 kHz, with a compare value of 21 (16 MHz/21 = 761.9 kHz)
Best regards,
Jørgen