Report
3 years, 5 months ago.

Is rtc_api implemented for nRF51?

Hi,

I want to use the time library and the RTC functions of the nRF51, but am not sure if the rtc api is implemented for my target.

I'm using the nRF51-DK platform, however when I search for the rtc_api.c, I can see that it's implemented for TARGET_DELTA_DFCM_NNN40, but not for the TARGET_NRF51_DK.

I'm not totally clear on how the mbed build process works, so forgive any ignorance in the question.

If I use the time functions, will it use the nRF51 timer as the rtc, or do I have to implement my own code as in following example

https://developer.mbed.org/users/fxschumacher/code/nrf51_rtc/file/3677a016109b/nrf51_rtc

Regards Andrew

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers ...
Comment on this question
Be the first to answer this question.

You need to log in to post a question