PCF85263A Weekday always 0

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

PCF85263A Weekday always 0

跳至解决方案
1,730 次查看
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,708 次查看
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,709 次查看
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,715 次查看
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 项奖励
回复