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

Add realtime clock management on [4] #54

Open
m-roberts opened this issue Feb 19, 2019 · 0 comments
Open

Add realtime clock management on [4] #54

m-roberts opened this issue Feb 19, 2019 · 0 comments

Comments

@m-roberts
Copy link
Contributor

m-roberts commented Feb 19, 2019

0xC1 4 byte register: MISC__REAL_TIME_COUNTER
Keeps track of UNIX time, so long as the MCU has power.
If the MCU loses power this number resets to 1556668800: (GMT): Wednesday, 1 May 2019 00:00:00.

Ideally would be set by RPi whenever the Pi is synced with a timeserver.

Pi should take the MCU's value on start of service if it is not set to the default in the hub, although we might want to consider if it's possible to prefer a time server.

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