I should have clarified. We have two different PCBs to which MOD5270s are attached.
I was given charge of maintaining the software for one PCB. It was pointed out to me that on the board I was maintaining the software for that the RTC could not be set.
The board has an ISL12026 connected to the I2C lines of the Netburner.
Reading the Netburner Runtime Libraries Reference manual I see for section 17. RTC Library.
The RTC (real-time clock) library allows users to set and read the real-time clock manually, or use the current system time to set the RTC time or use the current RTC time to set the system time. The RTC is external to the core module and is located on the MOD-DEV-40, -70, and -100 development boards. While the system time inside a core module can be lost when it loses power or is reset, the RTC is sustained by a supercapacitor which is also located on the development boards. This library acts as an interface between the system and RTC time clocks.
Header File
#include <rtc.h> // Found in \Nburn\<HardwarePlatform>\include
We have MOD-DEV-70s that come with MOD5270 that has a PCF8563 RTC (same as MOD-DEV-100)
However I see the MOD-DEV-40 comes with an X1226S8 RTC.
This seems to be an obsolete version of the ISL12026.
Therefore I take it that the rtc.h library can work with either the PCF8563 or the ISL12026 rtc's?
Interchangeable through address detection?