A bug in SDK EAR_0.8.4 has been detected (in power_smc_hw_access.c), which will halt the CPU if DEV_ASSERT is enabled:
status_t SMC_SetPowerMode(SMC_Type * const baseAddr,
const smc_power_mode_config_t * const powerModeConfig)
{
........
/* Previous code: */
/*DEV_ASSERT((((uint16_t)SMC_GetPowerModeStatus(baseAddr)) & transitionTable[powerModeName]) != 0U);*/
/* Should be logic AND, not bit AND */
DEV_ASSERT((((uint16_t)SMC_GetPowerModeStatus(baseAddr)) && transitionTable[powerModeName]) != 0U);
…
}
Hope NXP can fix it in the next SDK release.