2021-10-30 05:50 AM
Hi, xSemaphoreTake is not working properly(getting held at taskENTER_CRITICAL) after existing sleep mode. Before entering sleep mode using HAL_PWR_EnterSLEEPMode the value of portNVIC_INT_CTRL_REG is 4194304. After exiting from sleep mode using an external interrupt when I tried to use xSemaphoreTake in another task it get held there. After exiting from sleep mode the value of portNVIC_INT_CTRL_REG is 4196374. Can anyone suggest the root cause for the issue