AnsweredAssumed Answered

RTC issue - PCF2127

Question asked by sharmila d on Nov 15, 2018
Latest reply on Nov 18, 2018 by sharmila d

Hi,

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

3. hwclock

 

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 

 

Thank you,

Regards,

Sharmila

Outcomes