Closed edge-tech-eu closed 2 years ago
Hi @edge-tech-eu, the RTC component is only present in the latest revision of the board, which will be available in the store soon.
On all the revisions of the boards, when you don't need the RTC surviving resets, you can still use the nRF52840's Real-Time Counter via the MbedOS RTC and Time APIs as shown in RTCClock.ino.
the rtc example (RTCClock in
examples/Application
) in this repository does not work. the code compiles and sets the data&time correctly but when commenting out the line that sets the time&date (setSystemClock(__DATE__, __TIME__)
) the timer restarts. it does not remember the time&date set before. see belowthe rtc excample (RealTimeClock in
examples/Basic
) in this repository does also not work as it fails to detect the rtc. see below.also i noticed that the rtc (u22) is not on the schematics as on the website (https://docs.arduino.cc/hardware/edge-control) date 27/07/2020
thanks frank
RealTimeClock:
RTCClock: