I am using RTC PCF2127 in our custom board. I am always getting the below error when date setting at the time of booting.
"oscillator stop detected, date/time is not reliable"
According to the data sheet this error will occur when OSF bit is set. How to clear this bit for first time reading the RTC time.
This error will not come when we write the date and try to read the same. The steps which I followed
1. Set current date using "date -s" command
2. hwclock -w
Issue observed : hwclock command is not giving me the date which I have set . Any configuration is required for solving the issue ?
Please provide the input for the same