2 Replies Latest reply on Nov 16, 2020 10:40 PM by GaneshD_41

    RTC clock does not keep time during main power loss


      We are providing 1.8V on pin VBACKUP during main power loss and have a 32.768 kHz crystal on pins P0.0 and P0.1 of a CY8C6247BZI-D54. We have used the example RTC code, set the time and then removed main power. Verified VBACKUP is still present and the crystal is oscillating. Left alone for about an hour. Restored main power and read the RTC over UART. It jumped back about a day.


      Any explanations for this?


      Another question is, could we provide the clock using a digital oscillator instead of a crystal?


      Thank you in advance for any help.