#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.
原理图的VDD是常电
这个RTC寄存器的的读写要在上电以后等500ms以后再去操作,不然通信还没有建立。
好的,感谢您的解答。此外,我有一些问题请教您:
1.SPI通信时读取时间偶尔成功,偶尔读取到错误的无效的时间数据,是什么原因呢?
2.在SPI读取数据时,SDI线上的数据在发送完指令以及地址后必须继续发送0直到读取数据完成吗?
1:查看原理图是被否正确,考虑下面的稳定以后再操作寄存器:
2:按照DS上的读写详细操作执行:
原理图能看下吗?
我仔细看了这个case之前已经被关掉了,这里您如果是想重新打开的话建议再开一个帖子或者直接提交一个ticket:
Home