# RV3028 Real Time Clock Time Sync Issue

**URL:** <https://forums.pimoroni.com/t/rv3028-real-time-clock-time-sync-issue/28361>\
**Category:** Support\
**Created:** [September 25, 2025, 6:07am UTC](https://forums.pimoroni.com/t/rv3028-real-time-clock-time-sync-issue/28361 "2025-09-25T06:07:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sakthinathan](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@Sakthinathan](https://forums.pimoroni.com/u/Sakthinathan)\
**Post date:** [September 25, 2025, 6:07am UTC](https://forums.pimoroni.com/t/rv3028-real-time-clock-time-sync-issue/28361/1 "2025-09-25T06:07:43Z")

</div>

Hi Team,

We are facing an issue with the Pimoroni RTC module on Raspberry Pi 4 and 5.

When we sync the time using:

```auto
sudo hwclock -w

```

and read the time using:

```auto
sudo hwclock -r

```

The time is shown correctly. However, after performing a hard reboot and leaving the Raspberry Pi powered off for around 10 minutes, the time is not synced, and we see the error shown in the attached log/screenshot.

Could you please check and advise us on how to resolve this issue?

Regards  
Sakthinathan S

 ![image](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/a/ae1d3b45aeac9bed92eb7afc87e35334b622a774.jpeg)

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [September 25, 2025, 7:00am UTC](https://forums.pimoroni.com/t/rv3028-real-time-clock-time-sync-issue/28361/2 "2025-09-25T07:00:34Z")

</div>

Are you using the RV3028 with a backup coincell battery? And did you follow the instructions and ran [rv3028-python/examples/set-time.py at master · pimoroni/rv3028-python · GitHub](https://github.com/pimoroni/rv3028-python/blob/master/examples/set-time.py) once?

---

<div class="post-metadata">

**Author:** ![Sakthinathan](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@Sakthinathan](https://forums.pimoroni.com/u/Sakthinathan)\
**Post date:** [September 25, 2025, 7:14am UTC](https://forums.pimoroni.com/t/rv3028-real-time-clock-time-sync-issue/28361/3 "2025-09-25T07:14:02Z")

</div>

Hi,

We are expecting the RTC to automatically sync the system time during reboot so that, even without internet access, the correct time is restored after a reboot.

I have already added the `dtoverlay` for the RTC in the `config.txt` file. After running:

```auto
sudo hwclock -w

```

I can sync the time and read it back without any errors. However, this does not work after a reboot. Once the system restarts, it again fails to read the time from the RTC and shows the error logs (screenshot attached).

If I manually write the time again using `hwclock -w`, then I can read and sync it correctly — but the issue is that it doesn’t happen automatically on boot.

**Problem:** I need the system clock to sync with the RTC automatically on boot.

Any guidance on how to fix this would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [September 25, 2025, 9:24am UTC](https://forums.pimoroni.com/t/rv3028-real-time-clock-time-sync-issue/28361/4 "2025-09-25T09:24:01Z")

</div>

Pointing you back to my first reply: have you executed the script that I linked to? The docs say it has to be executed at least once. If you look at it, you will see it configures switchover which you need for your use-case.
