This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does nrf51822 have a clock?

Hi,

I wonder if nrf51822 has a clock inside it. It doesn't need to be real clock

but It's important to me. I store datas on flash and send it to the phone when it's ready to send.

But there is no guarantee that device is alive. so I store its time together when they are stored. so that I could send it with time difference from now.

but I have to need a clock for the case that battery is gone.

So is there a clock like?

Parents
  • The nRF51 has an internal 16 MHz RC oscillator.

    However, if you want to use the RADIO peripheral (you want to use BLE or ANT etc...) then you MUST include an external high frequency clock (see nordic's reference designs).

    Also an external low frequency 32.768 kHz crystal is optional (reduces current when using BLE and other timers) but the interal RC oscillator can generate this signal. See this post: devzone.nordicsemi.com/.../

    But if you are talking about a real time clock - a clock that stores the time in hours and minutes (i.e. 12:48) then you will need to implement this yourself using the TIMER peripheral.

    -Mike

  • Maybe instead of sending its last time to the phone, the device can save the time to its persistent storage. And then when it reconnects to the central, it can send the time it saved, and the central can figure out the difference in time?

Reply Children
No Data
Related