2022-06-13 03:09 PM
I have a stm32f446 setup with a virtual com port. I using a task with FREE RTOS. The task is blocked by waiting on a semaphore (xSemsphoreTake). In my CDC_Receive_FS routine I am simply calling xSemaphoreGiveFromISR when ever this function is called. Everytime I send data over usb my board crashes. If I remove the xSemaphoreGiveISR call everything works fine. Is there any other setup I need to do ?