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

Custom PWM base clock frequency

Heyho!

Is it possible to set the PWM base clock frequency to 40kHz? If so, how? I see that the predefined base clock frequencies don't go any lower than 125kHz.

I'm using an nRF52 DK with the PWM-hardware driver. (nrf_drv_pwm)

EDIT: I might add that what I want here is to set the switching frequency of the pwm signal to be 40kHz. Is the switching frequency and the base clock frequency the same?

Related