Hello,
I'm seeing 400ms before PM2 is entered. No matter what event/methods are called the CC2541 stays in a 8mA draw for the 400ms after BLE and other higher current events finish. POWER_SAVING mode is enabled and I've seen other folks state simular issues, but have not heard a common fix.
My code was built off the SensorTag source code.
Let me know what further information you may need to help suggest a place to look. I've tracked the tasks and events and found that following are repeating when I call my period event.
LL_ProcessEvent (Task 0 ) Event codes 128 and 256(??? Don't know what events these are)
GAPRole_ProcessEvent(Task 8) Event code 32768/GAP_ADV_DATA_UPDATE_DONE_EVENT
GAP_ProcessEvent(Task 5) Event code 32768/GAP_ADV_DATA_UPDATE_DONE_EVENT
SensorTag_ProcessEvent(Task 11) Event code 4 (My periodic event)
The event codes 32768 are likely the same event and being passed off between tasks.
Any ideas on where to look would be highly appreciated!
Marty