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.

CC1310: Relation between RAT RX timestamp and ClockP_timestamp() to calculate ClockP_setTimeout()?

Part Number: CC1310

Hi there!

I'm using CCS 11.0.0.00012 and SimpleLink CC13x0 SDK 4.20.01.03 to develop a NoRTOS app for the CC1310.

In my case the received packet contains info when to expect the next beacon packet (up to 20 seconds later). I want to use the ClockP FW module to wake up a few milliseconds in advance, do some housekeeping, and start RX just in time to receive the beacon packet.

The received packet is timestamped by the RAT (4 MHz) but the ClockP module has a 100 kHz timebase. Both are using the RTC for synchronization(?).

Is there a way to convert the RAT timestamp into a ClockP timestamp so that I can calculate the appropriate delay for ClockP_setTimeout()?

Or should I rather save a ClockP timestamp when I get an RF_EventRxEntryDone event (which is cruder and not the most accurate)?

Thanks in advance,

Pieter

https://piconomix.com