Struggling with this issue for days now and can't find a solution. Maybe someone saw something like this before and can give me a hint.
I have FreeRTOS running on an STM32L4 with different tasks. One of these tasks should handle CAN communication.
In the CAN interrupt enable register (CAN_IER) I set the enable for ERRIE, BOFIE, EPVIE, FMPIE0 and TMEIE. The application ends up in an infinite loop error with the following trace
I figured out that if I remove the enable for the TMEIE (Transmit mailbox empty interrupt enable) the application starts to run normally but also crashes as soon as one of the other interrupts trips (e.g. if a message is received).
Is this something obvious, maybe an issue with my interrupt handling? Or can someone guide me in the right direction?
CAN1_TX_IRQHandler()
,CAN1_RX0_IRQHandler()
, etc? \$\endgroup\$CAN1_TX_IRQHandler()
didn't give any result... \$\endgroup\$