Is there any way to run the TIMER peripherals off of the 32khz clock? We need to generate a 1khz PWM while the micro is asleep, and we really need to be able to shut down the HF clock to save power.
Is there any way to run the TIMER peripherals off of the 32khz clock? We need to generate a 1khz PWM while the micro is asleep, and we really need to be able to shut down the HF clock to save power.
No there is no way to run the TIMERS off the 32kHz clock, that clock only runs the RTC peripherals.
Sorry for the late reply, but maybe this can help someone else who stumbles on this thread.
You can't connect the LF clock to the timer directly, but you can run the timer off the RTC, through the PPI. On the nRF51 series this doesn't require the HF clock. On the nRF52 series, the PPI is sync'd to the 16 MHz clock. My understanding is that this would run the HF clock only as many cycles as required. This may not help much trying to run a 1 kHz PWM, but it allows running a real-time clock at low power.