rtc pcf85163 chip return back to 1970 issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

rtc pcf85163 chip return back to 1970 issue

跳至解决方案
1,100 次查看
hwo
Contributor III

Hi all,

I have a mx28 board with a NXP PCF85163 rtc chip using i2c bus.

Recently I found when set the time to the last minutes of the year(take 2016-12-31 23:59:00 as an example), and one minute later rtc time turn to 1970-1-1 00:00:00

Test for any time but other than the last day of a year is OK.

Is this the chip's problem?       Any one came across similar problem ever?

Thanks in advance!

标签 (2)
0 项奖励
1 解答
967 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello hk,

      The question is the same as that of a Chinese customer, I don't know whether you are same people, if you can understand Chinese, see the link, please!

rtc芯片设置时间后重新回到1970年-恩智浦MCU论坛论坛 - 21ic电子技术论坛

     The chinese customer found and solved the issue, the root cause is : The valuse of register for Month starts from 1, but in kernel, 1 is taken from the value and access arry, so error will occur.

Best regards,

Weidong

在原帖中查看解决方案

0 项奖励
2 回复数
968 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello hk,

      The question is the same as that of a Chinese customer, I don't know whether you are same people, if you can understand Chinese, see the link, please!

rtc芯片设置时间后重新回到1970年-恩智浦MCU论坛论坛 - 21ic电子技术论坛

     The chinese customer found and solved the issue, the root cause is : The valuse of register for Month starts from 1, but in kernel, 1 is taken from the value and access arry, so error will occur.

Best regards,

Weidong

0 项奖励
967 次查看
hwo
Contributor III

是的,我就是那个Chinese customer.

Thanks!

0 项奖励