Hi,
I have a question about timers. I use the TI15.4 stack in FH mode with speed 5kbps(cc1310 - sensor example, cc1312 - collector example). I calculate the timestamp of received message with the equation: ts = (timestamp*800)/16 + timestamp2/4. Is this the correct calculation? I would like to know the delay from the received message so i calculate with the equation: delay = RF_getCurrentTime()/4 - ts. The problem occurs with the timers overflow. The max value of RF_getCurrentTime() function is 4 294 967 295. What is the max value for timestamp and timestamp2? And how can I calculate this delay correctly with overflow in the calculation?
Thank you in advance for your reply.