This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is 5KHz PWM possible with 13bit resolution on 3 outputs?

Hello,

Hardware: NRF52840, Development Software: any

I am hoping to generate 3, or ideally 4 separate (independent duty cycles) PWM signals at a frequency of at least 5KHz, I also need at least 13 bits of resolution.  My understanding is that the PWM clock on the NRF52840 is 16MHz with no prescailer so the best I can do is 16MHz / 5 KHz = 3200 steps = ~11.7bits of resolution.  Is there any way to use a different clock source, system clock?  Can this be done in software (softdevice) or by some other means?  

Thank you very much!  

Related