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.

not sleep automatic

Other Parts Discussed in Thread: CC2541

cc2541, ble 1.3.2.

static void Set_Sleep(PACK_P ppack)
{
uint8 turnOffAdv = FALSE;
GAPRole_SetParameter( GAPROLE_ADVERT_ENABLED, sizeof( uint8 ), &turnOffAdv );
GAPRole_TerminateConnection();
//ensure no other task, cpu goes into sleep automatic
//clear and stop all events
osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_LONG_PERIODIC_EVT, 10000);
}

if ( events & SBP_LONG_PERIODIC_EVT )
{
return ( events ^ SBP_LONG_PERIODIC_EVT );
}

after Set_Sleep, I see current goes to 1uA, after 10second, current goes up back at 8mA, not sleep anymore.  (project POWER_SAVING enabled)

why?