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

Example to use app_timer for calendar on nRF52810

Hi

I have seen some queries for support asking if app_timer can be used for real time clock and calendar functionality,

i am using the nRF52810 but the answers were either for the nRF52832 suggesting to use RTC2 or

there was no real code shared showing, how it may be achieved.

nRF52810 has only RTC0 and RTC1, so i would like to know how to setup the app_timer for this purpose

as I am using the Soft device (S112) also for BLE operations.

I know that using app_timer_create() one can start a new timer, this time has to be running running when my device is put to

systemOn sleep mode and wakeps up periodically to capture some data from ADc and time stamp it, then send it to a phone

smart phone.

My accuracy requirement is only up to one minute resolution, it need not be accurate to the second.

Any suggestions to get me going would be greatly appreciated.

Parents Reply
  • Hi Tesc,

    I have seen it, indeed...

     I am following that - one doubt i had was - what all changes do i have to make in the CMSIS configuration for the project to get it to work for me?

    As i mentioned, i am using the ble_app_uart as the basis for my application. There I find that the RTC configuration is not enabled in the CMSIS settings, so do i have to enable it explicitly ? 

    Thanks and Regards

    Chary BS

Children
Related