-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Hello, I am having issues getting this RTC to enable I2C communication when the RTC transitions from main power to to backup power (on-board super-capacitor). According to the datasheet for this RTC, changing the 7th bit in the IOBATMODE register to 1 should enable I2C communication regardless of the RTC's power state. In order to accomplish this, I tried called the following functions from your library within my code:
//Set various registers to minimize power consumption
writeRegister(RV1805_CONF_KEY, RV1805_CONF_WRT);
writeRegister(RV1805_IOBATMODE, 0x80); //should enable I2C communication in VBackup
However, setting the 7th bit of the IOBATMODE register to 1 did not seem to fix the issue. are there any additional settings I can enable/disable within this library in order to achieve constant I2C communication regardless of power state? Eventually I would like to power this RTC off of a solar cell and need to be able to transmit data from the RTC when it is running off of the super-capacitor only.
Thanks in advance