Based on the BLE-CC254x-1.4.0 SimpleBLEPeripheral application:
a. Config xPOWR_SAVING
b. Config xCC2540_MINIDK
c. Use osal_getClock() to get the RTC time
As a result:
a. Tested on CC2540, the clock looses about one second a minute or one minute a hour
b. Tested on CC2541, the clock is accurate
Is CC2540 different with CC2541 on the RTC part? Any solution? Thanks!
Albin Zhang:
Hi Hansong,
not so sure about your question.
but anyway, you can consider the two chips are the same, expect of the communication interface, I2C or USB.
BR. AZ
宋寒松:
回复 Albin Zhang:
AZ,
目前我已经把问题反馈出来,另外两个朋友也测到了同样的问题,如果有时间的话,可否帮忙先简单验证一下?
因为我们只是基于TI标准的SimpleBLEPeripheral进行简单的修改,基本上可以确定要么是固件库的BUG,要么是芯片的差异。
可是这些部分,我们都无法进一步往下查,只能期待TI的协助了,谢谢!
PS:
CC2541比较精准而CC2540会慢,同样的配置、同样的程序和同样的板子只是更换芯片而已
附件是我这边稍作修改的程序,用LightBlue读取CHAR5就好,大约半个小时就可以看出问题了
Hansome
宋寒松:
没有TI的工程师愿意简单的验证一下吗?真的极有可能是固件库的BUG或者是CC2540和CC2541之间RTC部分的差异。
TI中文支持网


