I need some information to the RTC M41T81S.
- Clock register map: delivering/default values
- Handling of the ST - Oscillator Stop bit (Clock register: bit 7 of address 01h)
>> writing: High-Low and then waiting 4 seconds before clearing OF - Oscillator Fail bit (Clock register: bit 2 of address 0Fh). Is this a must?
- Please refer to datasheet page 22, table 5 (https://www.st.com/resource/en/datasheet/m41t81s.pdf). There you will find default register settings.
- Technically, you can clear the OF bit without waiting 4 sec, but it can happen that system will set it again if the oscillator is not stable yet. Refer to AN3060 chapter 6.1 for more details (public on st.com, but also attached here)
(extracted from ST OLS Support Database)