RTC usage Nordic Connect SDK

Hello, 

I would like to keep track of time in Nordic Connect SDK (v1.9.1) based application.

The application has both BLE and Openthread enabled.

Before using Openthread, we used RTC2 as timer. With maximal prescaler.

However when enabling Openthread. Openthread takes control as well over RTC2.

I've read that softdevice by Nordic uses RTC0, and timers etc use RTC1. 

Am I correct that this leave us no available RTC?

Is there a way to get running time of the application through BLE or Openthread stack? 

I want to use the RTC as it should be more accurate than uptime cycles of the MCU. 

Or does k_uptime_get() actually uses RTC? (Instead of system cycles) 

Regards,

Parents Reply Children
No Data
Related