PCA2131 Read time error

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

PCA2131 Read time error

2,865件の閲覧回数
yifei_cheng
Contributor I

#PCA2131# After writing registers ctrl2, ctrl3 and ctrl4, read the date and time register immediately and get the wrong value. But after a certain delay, the value is correct. The Datasheet doesn't cover that.

タグ(1)
0 件の賞賛
返信
8 返答(返信)

2,729件の閲覧回数
清清
Contributor I

原理图的VDD是常电

0 件の賞賛
返信

2,846件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

这个RTC寄存器的的读写要在上电以后等500ms以后再去操作,不然通信还没有建立。

0 件の賞賛
返信

2,834件の閲覧回数
yifei_cheng
Contributor I

好的,感谢您的解答。此外,我有一些问题请教您:

1.SPI通信时读取时间偶尔成功,偶尔读取到错误的无效的时间数据,是什么原因呢?

2.在SPI读取数据时,SDI线上的数据在发送完指令以及地址后必须继续发送0直到读取数据完成吗?

タグ(1)
0 件の賞賛
返信

2,808件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

1:查看原理图是被否正确,考虑下面的稳定以后再操作寄存器:

guoweisun_0-1728869946656.png

2:按照DS上的读写详细操作执行:

guoweisun_1-1728870074178.png

 

0 件の賞賛
返信

2,736件の閲覧回数
清清
Contributor I
您好!调试PCA2131时遇到一个问题,用1ms的速度获取日期,会使VCU无法通过KEYON下电,但10ms读取一次时间,是不会有问题的;PCA2131芯片的VDD供电是通过SBC供的常电,VCU 通过KEYON下电,VDD一直是有电的。
0 件の賞賛
返信

2,732件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

原理图能看下吗?

0 件の賞賛
返信

2,727件の閲覧回数
清清
Contributor I

_0-1729854058232.png

0 件の賞賛
返信

2,687件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

我仔细看了这个case之前已经被关掉了,这里您如果是想重新打开的话建议再开一个帖子或者直接提交一个ticket:

Home

0 件の賞賛
返信