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

Is there any way that I can use more than 3 timer in nRF 51 ??

Is there any way that I can use more than 4 timer in nRF 51 ?? (four or more...)

I'm using Softdevice 130, so It uses Timer 0,

and I'm using RGB Sensor using PWM Library, and

Red and Green is binding to One PWM it uses Timer 1. Blue is binding to Other PWM and it uses Timer 2.

So I'd like to use Timer 3 or more. But as I known, Timer 3 is dedicated to nRF 52, not nRF51.

So, Is there any way, that I can use more Timer?

(I thought about RTC peripheral too, but this peripheral will cost too much power consumption.) (The use of my other timer will be just checking about 3~5 seconds.) (Actually, RTC consumes not too much, but I think it's too heavy for just checking about 3~5 seconds)

Or is there any way that I can use System tick while Softdevice is enabled, for checking time?

  • Hi,

    On nRF51 there is only TIMER0-2, there is no TIMER3.

    Why can't you use the RTC?

    The main difference between TIMER and RTC (Real-time counter) is that:

    • TIMER uses the high-frequency clock source (HFCLK, 16 MHz), which means better resolution (62.5 ns) and higher power consumption (typ. 4 or 30 uA depending on HFCLK source/mode).

    • RTC uses the low-frequency clock source (LFCLK, 32 KHz), which means less resolution (~30 us) and lower power consumption (typ. 0.1 uA).

Related