Hi,
Does anyone know if there is a way to achieve 12 bit duty cycle resolution at 25 KHz PWM frequency for 5 channels (individual duty cycle for each channel) using the NRF52823 ?
Hi,
Does anyone know if there is a way to achieve 12 bit duty cycle resolution at 25 KHz PWM frequency for 5 channels (individual duty cycle for each channel) using the NRF52823 ?
Hi,
25 KHz PWM frequency with 12 bit duty cycle would require a base PWM clock of:
25 KHz * 2^12 ~= 100MHz
The maximum base clock for the PWM (and most of the peripherals) on the nRF52 is 16 MHz, see here. The maximum duty cycle resolution with 25 KHz PWM and 16 MHz base clock is:
16MHz / 25 KHz = 640 (a bit above 9 bits)
Ole