cancel
Showing results for 
Search instead for 
Did you mean: 

xSemaphoreTake not working properly

KK Y.1
Associate II

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

0 REPLIES 0