This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BLE时间同步机制是如何实现的?

Other Parts Discussed in Thread: CC2541

BLE时间同步机制是如何实现的?精度能达到多少呢?

  • jianzhao,

    你是说系统时间,还是连接以后slave 和 master 的同步时间?

    不过,这两个都是由CC2541 的timer 2来实现的。硬件上呢,由32.768KHz 和 32MHz 在低功耗模式和 正常工作模式下进行切换。

    在OSAL_ClockBLE.c 中,你可以看一下osalTimeUpdate()函数,这个会告诉你如何利用 timer2 来获取定时效果,提供给系统应用层。