Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The RTC in the Power Management Hat (B) loses approximately 3 seconds per day. #1

Open
mictsi1975 opened this issue May 15, 2024 · 0 comments

Comments

@mictsi1975
Copy link

mictsi1975 commented May 15, 2024

I have installed a Power Management Hat on my Raspberry Pi and configured its RTC (Real-Time Clock) correctly. I also modified the necessary files to use both the Button_Ctrl_Loop and Period_Time_Loop simultaneously. However, I have noticed that the RTC loses about 3 seconds every day. This time drift is consistent and affects the accuracy of the clock over time. Below are the details of my setup and the issue observed:

Raspberry Pi Model: Raspberry Pi 4 8GB
Power Management Module: Power Management Hat B
Configuration Steps:
I have downloaded modified the Power-example v1.0, and modified the following files for using both the Button_Ctrl_Loop and Period_Time_Loop at the same time.

image

image

image

I programmed the Power Management Hat via USB by following the wiki link

Observed Behavior: I inspected the datetime that the RTC prints every second by monitoring the com port. The RTC loses approximately 3 seconds per day.
This time drift is problematic for applications that require precise timekeeping. Any guidance on how to resolve this issue or improve the accuracy of the RTC would be appreciated.
Also is it allowed to use both the Button_ctrl_loop and the Period_time_loop functionality at the same time ?
Thank you!

@mictsi1975 mictsi1975 changed the title RTC Loses Approximately 3 Seconds Per Day on Raspberry Pi The RTC in the Power Management Hat (B) loses approximately 3 seconds per day. May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant