Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Hi, I’m working on a FreeRTOS-based STM32 project where I receive CAN messages using interrupts. I’ve assigned a dedicated task for processing received CAN messages. This task is initially suspended and should be resumed from the CAN receive interrupt callback. However, the code seems to get stuck in the HAL_CAN_RxFifo0MsgPendingCallback() function, and the task doesn’t resume properly.
I fixed it, the issue was that I wasn’t handling the CAN message, so the system got stuck in the ISR waiting for processing
Oh!. Yeah sometimes these things happen.
Btw great to manage to solve it by your own👍
What does the uart showing?
CONTRIBUTE TO THIS THREAD