UsageFault after returning from xPortPendSVHandler after sending a notification

Exactly. Also see this post Understanding priority levels of ISR and FreeRTOS APIs - #16 by aggarg containing a good and easy to understand explanation using interrupts/ISRs with FreeRTOS.

1 Like