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.

LAUNCHXL-CC26X2R1: RTC using Xtal: not bad but not precise enough, how to adjust

Guru 18515 points
Part Number: LAUNCHXL-CC26X2R1

Hi there,

I did a quick test of our board. Results were not bad, but not great either.

The design uses the RTC of the CC26X2R to keep track of seconds. We use Seconds_set() and Seconds_get().

Yesterday, I set the time at 11:38:00 as 11:38:00 and I asked it the time at it was 11:38:00 Slight smile

Today, I asked it the time at 11:38:00 and it was 11:38:10, so there is a drift of 10 seconds during a 24 hours period.

This seems a lot for something being driven by a crystal.

Is there a way to adjust this? Maybe a driverlib call to SET something in the crystal pins?

I already know the way to GET the crystal frequence in a IO pin, by reading this document, section 6.3.

        https://www.ti.com/lit/an/swra640g/swra640g.pdf?ts=1713512379348

We are hoping we can adjust this for every board.

Please, let me know and have a nice day.