I am unable to configure CAN in STM32L476VG Discovery board. I wanted to develop an application which sends CAN message and receives CAN message. I enabled 2 interrupts CAN1_TX_Interrupt, CAN1_RX0_Interrupt. I selected Normal Mode only .
When debugging I found that MX_CAN1_Init() is not getting initialized, inside this code HAL_CAN_Init() is blocked by a while loop.That blocking iteration is as follows/* Get tick */ tickstart = HAL_GetTick(); /* Check Sleep mode leave acknowledge */ ...