PCF85263A Weekday always 0

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

PCF85263A Weekday always 0

ソリューションへジャンプ
1,326件の閲覧回数
jharris_rhi
Contributor I

Anyone having an issue with the PCF85263A RTC where the weekday value is always 0?

The seconds, minutes, hours, month, month day, and year values are all accurate.

I have attached a picture of a buffer containing the seconds, minutes, hours, month days, weekdays, months, and years. The weekdays value is always 0.

0 件の賞賛
返信
1 解決策
1,304件の閲覧回数
jharris_rhi
Contributor I

After reset, I am seeing a 6 for the weekday. After setting the time again, I found a bug in my code. Issue resolved. Thanks for answering.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,305件の閲覧回数
jharris_rhi
Contributor I

After reset, I am seeing a 6 for the weekday. After setting the time again, I found a bug in my code. Issue resolved. Thanks for answering.

0 件の賞賛
返信
1,311件の閲覧回数
ErikaC
NXP TechSupport
NXP TechSupport

Hello,

Does this still happen even after a reset? The default value should be Saturday (110 in BCD). If so, what value are you writing to that register?

 

weekdaysregister.jpg

weekdaysassigments.jpg

  

 

 

 

0 件の賞賛
返信