This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

xQueueSendFromISR returns without pdTRUE

we develop 52832 from the project "ble_app_hrs_freertos" , in nRF5_SDK_14.2.0.

occasionally,  xQueueSendFromISR  returns  without  pdTRUE in Interrupt handler.

so  xQueueSendFromISR should sent message to a normal task , but  this  make the program fail.

i try to put xQueueSendFromISR in a loop to retry 1000 times, this improve the problem, but  occasionally , it get fail

i think there is enough heap and queue room. but what make xQueueSendFromISR wrong.

 thanks for someone  to give  some guide 

Parents Reply Children
No Data
Related