I picked up one of the nRF52840 boards, nice:
https://learn.sparkfun.com/tutorials/sp … -guide/all
However, on the details, it mentions:
• Real-time clock (RTC) – Keep close track of seconds and milliseconds, also supports timed deep-sleep features.
I have been looking around but I have not found any information about the RTC,
does anyone know more about the RTC and how to use it ?
Thanks!
/ Heikki
Hi Heikki,
The Hookup Guide just covers the basics of the hardware and how to use the bootloader. We have a couple of [software development guides that can help you get started programming using Arduino, CircuitPython or Nordic’s SDK. There are pros and cons to each. I believe the [Adafruit nRF52 Arduino Core has some functions created for RTC or at the very least, mentions register information for using it. The CircuitPython core is very much a work in progress so I am not sure if that will have much help for using the RTC but you can check for yourself in the [Nordic port for CircuitPython.
The best option may be to use Nordic’s SDK since it will have access to all the features of the nRF52840 but it is very advanced and for a lot of their examples, you will need to modify or create a Makefile for the code to run on the SparkFun board. We cover this a bit in our [tutorial but if you intend to use Nordic’s SDK, I would highly recommend reading through both our tutorial and [the resources linked in this section of that guide.](https://learn.sparkfun.com/tutorials/nrf52840-advanced-development-with-the-nrf5-sdk#resources-and-going-further)](https://learn.sparkfun.com/tutorials/nrf52840-advanced-development-with-the-nrf5-sdk)](https://github.com/adafruit/circuitpython/tree/master/ports/nrf)](GitHub - adafruit/Adafruit_nRF52_Arduino: Adafruit code for the Nordic nRF52 BLE SoC on Arduino)](https://learn.sparkfun.com/tutorials/sparkfun-pro-nrf52840-mini-hookup-guide#software-development-guides)