2018-12-23 11:47 AM
Using: stm32l476 on the ST eval board, I set the CAN INT as follows:
if (HAL_CAN_ActivateNotification(&CanHandle, CAN_IER_TMEIE | CAN_IER_FMPIE0 | CAN_IER_ERRIE |
CAN_IER_EPVIE | CAN_IER_BOFIE) != HAL_OK)
{
/* Notification Error */
Error_Handler();
}
Any idea?
2018-12-23 12:51 PM
Does it end up in the Error_Handler()?
Does it end up in the Default_Handler()?
Do you have body code for an CAN1_TX_IRQHandler?
2018-12-23 01:01 PM
It end up in no handler, no exception. I do have a body code for CAN1_TX_IRQHandler()
2018-12-23 03:23 PM
NVIC?
/* NVIC configuration for CAN1 Transmission interrupt */
HAL_NVIC_SetPriority(CAN1_TX_IRQn, 1, 0);
HAL_NVIC_EnableIRQ(CAN1_TX_IRQn);
2018-12-23 10:34 PM
Damn! I'm so ashamed...