As title, MCU:STM32L151RET6, use freertos and enable tickless, when run PreSleepProcessing(uint32_t *ulExpectedIdleTime) function sometimes, cause hardfault. the sleep para is PWR_LOWPOWERREGULATOR_ON.
but when use PWR_MAINREGULATOR_ON, it's run OK....