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

Can BLE stack work without TIMER0/1/2?

I need to use Timer 0,1,and 2(I have only 3 timers 0-2 in nRF51822xxAA). This means, I cannot afford to let the BLE use a timer(I can certainly afford to give one RTC for BLE, I need one RTC for my application). Can the BT stack work without any of timers(0-2)? Thanks.

Parents
  • This is in the softdevice spec. The stack needs TIMER0 to do its job, it has high frequency timing requirements. You get to use TIMER1 and TIMER2 and that's it and there's no way around it (*)

    (*) the softdevice does have a multiprotocol timeslot API which gives you occasional, not-under-your-control-when small slots during which the softdevice allows you to use resources including TIMER0, however unless your use case for the timer can fit into those randomly spaced, small windows, this doesn't help you.

Reply
  • This is in the softdevice spec. The stack needs TIMER0 to do its job, it has high frequency timing requirements. You get to use TIMER1 and TIMER2 and that's it and there's no way around it (*)

    (*) the softdevice does have a multiprotocol timeslot API which gives you occasional, not-under-your-control-when small slots during which the softdevice allows you to use resources including TIMER0, however unless your use case for the timer can fit into those randomly spaced, small windows, this doesn't help you.

Children
No Data
Related