Hi all,
I've a very strange problem with CC1310, I'm using the latest RTOS 2.21, compiled with no code optimization, the problem is the following:
My device remains in Task.sleep for 9,5 seconds, after this I start a Radio RX with callback using endtrigger ABS_TIME with a value of 500 ms (calculed by macro ms to radio tick), and I pend for a semaphore into main. This semaphore will released by the callback on Event_Last_Command raised.
Before and after Radio RX operation, I print out on serial port an information, by my serial monitor I can see the time, and all works correctly, I mean that between the two serial print, I can see a difference of 500ms, all right.
The target of this code is to check , during the 500ms window, if someone is transmitting packets, if so the code goes on, if not, the loop restart (the device return to wait for 9,5 seconds etc etc...)
After several hours of job, where my device found packets, do others jobs etc, it stops to work, in the sense that it can't found packets, without a apparent reason.
Checking serial logs, I noticed that the interval between the two serial prints It is not more than 500 ms but varies continuously with smaller values like 60 ms, 200 ms, 484 ms, 17 ms etc, so the RX window became to small to RX packets, it is as if the RAT timer go crazy.
If I power off and on the device, all return to work properly. I'm using ABS_TIME on end trigger, setting RF_GetCurrentTime + ms_to_radio_tick(500ms) as value.
I set always this same value. The IC revision is the 2.0
Riccardo
