Page 1 of 1

RTC

Posted: Thu Apr 04, 2019 2:54 pm
by ldbm
Hello,
Could someone point me to the type of RTC onboard the Pyboard D please? I 'd like to know what kind of drift to expect over a long period of time, such as months to a year. My reference RTC at the moment is a DS3231 but I'd rather use the internal one if I can. Thx.
Laurent

Re: RTC

Posted: Fri Apr 05, 2019 1:28 am
by jickster
Wouldn’t that be in datasheet?


Sent from my iPhone using Tapatalk Pro

Re: RTC

Posted: Fri Apr 05, 2019 1:55 am
by ldbm
No datasheet posted yet it seems
L.

Re: RTC

Posted: Fri Apr 05, 2019 5:17 am
by Roberthh
According to the schematics the crystal oscillator is a SIT1533, https://www.sitime.com/datasheet/SiT1533.
The RTC clock logic is part of the CPU.

Re: RTC

Posted: Fri Apr 05, 2019 1:27 pm
by ldbm
Thx Robert.
L.

Re: RTC

Posted: Sun Apr 07, 2019 8:00 am
by pythoncoder
@ldbm On the Pyboard 1.x you can calibrate the RTC. Calibration values are stored in battery backed RAM. I wrote a utility which enabled the RTC to be calibrated in five minutes using a DS3231 as the reference. This may be found in this repo. So long as power to the RTC is maintained it runs at about +-2 minutes/year accuracy (at room temperature).

I haven't tested this on the Pyboard D but you might like to give it a try. The MEMS oscillator used on the Pyboard D is good, but not to timepiece standards.

Re: RTC

Posted: Wed May 20, 2020 5:30 pm
by ldbm
Good to know. Thx Peter.
l.