Fixing RTC Clock: T-Lora Pager actually uses PCF85063 for RTC#7886
Fixing RTC Clock: T-Lora Pager actually uses PCF85063 for RTC#7886hotellonely wants to merge 2 commits into
Conversation
…has a different RTC masking scheme.
|
|
fifieldt
left a comment
There was a problem hiding this comment.
Thank you for the patch and attention to detail. Unfortunately just adding to the enum does not result in successful detection. There's a need to modify code in src/detect/ScanI2CTwoWire.cpp as well.
I don't know exactly why, but after doing the said changes in the 2 commits you can get correct time display |
|
Supporting PCF85063 would mean to migrate from the no longer maintained library lewisxhe/PCF8563_Library to lewisxhe/SensorLib which implements both RTC clocks with a unique interface. Then there's only work to be done in RTC.cpp besides removing/replacing all lewisxhe/PCF8563_Library in the platformio.ini files. |
most likely comes from your GPS time |
|
My gps time is still in 2005 as the tpager has a really bad gps reception.. And I rarely go out with it.
…________________________________
发件人: Manuel ***@***.***>
发送时间: 2025年9月9日 16:40
收件人: meshtastic/firmware ***@***.***>
抄送: Freeman Jin ***@***.***>; Author ***@***.***>
主题: Re: [meshtastic/firmware] Fixing RTC Clock: T-Lora Pager actually uses PCF85063 for RTC (PR #7886)
[https://avatars.githubusercontent.com/u/71137295?s=20&v=4]mverch67 left a comment (meshtastic/firmware#7886)<#7886 (comment)>
I don't know exactly why, but after doing the said changes in the 2 commits you can get correct time display
most likely comes from your GPS time
―
Reply to this email directly, view it on GitHub<#7886 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACFKKSZ44ABIH7A4CIEIPNL3RZY4NAVCNFSM6AAAAACF3A4ODGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENRZGEYDCNBZHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
I have done the actual work of porting to SensorLib for PCF85063 support in #8061, this can be closed |
PCF85063 has a different RTC masking scheme than the PCF8563. This would fix the RTC clock issue on many devices.
fixes #7885
🤝 Attestations