rtc pcf85163 chip return back to 1970 issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

rtc pcf85163 chip return back to 1970 issue

ソリューションへジャンプ
975件の閲覧回数
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 解決策
842件の閲覧回数
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 返答(返信)
843件の閲覧回数
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 件の賞賛
842件の閲覧回数
hwo
Contributor III

是的,我就是那个Chinese customer.

Thanks!

0 件の賞賛