Tool/software: Code Composer Studio
hey guys,
we use a TIDA00489 layout module and newest SDK for CC1310 15.4stack. We use the sensor collector example. I wanted to see how much current the sensor code needs, when in frequency hopping mode before the node joins a collector. Since the radio is always on, also for a sleepy end node, I changed the code, so that when an async message was send and the trickle timer has expired and no async response (PA or PC message) was received the sensor should go to sleep. To do this, I dont give it any task to do and set a timer. When this timer expires a new event is triggered. I measured the current until the timer has expired and it was about 130µA which is way higher than the 5µA I measure when using non beacon mode between backoff scan intervals.
The sensor has POWER_MEAS enabled and is set to sleepy and RX is actively set to false when the trickle timer has expired, too. This is what I do in processPASTrickleTimeoutCallback:
/* If trickle timer timed out, go to sleep */ ApiMac_mlmeSetReqBool(ApiMac_attribute_RxOnWhenIdle, CONFIG_RX_ON_IDLE); /* define wake up case and go to sleep */ smartFHWakeUpCase = PAS_WakeUp; Timer_setTimeout(FHjoinClkHandle, FH_TIMETOWAKEUP); Timer_start(&FHjoinClkStruct);
What else do I have to shutdown to have the equivalent current consumption like in non-beacon mode between backoff scans?
best wishes
Slev1n