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.

CC2640R2F: time synchronization

Part Number: CC2640R2F

Hi,

We have a product that uses the CC2640R2F.

We would like to synchronize the RTC of the CC2640R2F with the clock of an Android smartphone. The precision we need is <= 1 ms.

Is it possible to achieve this with a standard Android OS?

If yes, can you point me to a guide/article/forum that explains how to do this?

Best Regards,

Carloalberto Torghele

  • Hello Carloalberto Torghele, 

    I hope you are doing well. When using the BLE stack there is a BLE connection interval minimum of 7.5 ms (so 7.5 ms latency), however this connection event is predictable (you could configure the connection event to specifically happen every 7.5 ms).

    Thanks,
    Alex F

  • Hi,

    The CC2640R2F has utc_clock library that you can find here, C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\source\ti\blestack\common\cc26xx\time.

    It works accurately, but you need to update the clock value from smartphone on first connect, power on after power off and wake up from shutdown mode. You can also update the clock value every time the smartphone connects to your CC2640R2F board. 

    -kel