Re: [chrony-dev] [RFC] Transparent fallback from NTP reference clock to RTC

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On 4/1/2025 8:08 AM, Ahmad Fatoum wrote:
:
We have measured the accuracy we get out of our RTC as mentioned before
and it's sufficient for our use case. Epson sells this RTC as "High-Stability",
so I do not refuse the claim that cheaper RTCs can be much worse.
:
This is a wrong summary of my proposal. The RTC is only used as reference
clock while the system has no network connectivity. Once online, system time
is synchronized against NTP and the RTC is reset to UTC to be better equipped
for the next offline period.
:

Does your RTC output a PPS and is that PPS connected to a CPU GPIO? If so, you can use the "local" option to the PPS refclock:
https://chrony-project.org/doc/4.6.1/chrony.conf.html#refclock

Chrony can use that to correct the system's frequency and improve the timekeeping while offline. I have some more details on: https://blog.dan.drown.org/strat-2-tcxo/

--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/