AnsweredAssumed Answered

Stuck in initialisation of FlexCAN

Question asked by Viktor Michel on Mar 23, 2020
Latest reply on Mar 24, 2020 by Viktor Michel

Hello,

i have a problem with the MIMXRT1021 flexCAN. When I add in the peripheral drivers the flexCAN driver and update the Code, the programm stucks in the initialisation of the CAN "BOARD_InitBootPeripherals();". In peripherals.c it stucks at "FLEXCAN_SetRxMbConfig(CAN1_PERIPHERAL, 0, &CAN1_rx_mb_config_0, true);". In fsl_flexcan.c the function "FLEXCAN_IsMbOccupied" is called and there it stucks at the "return fgRet;" line.

Does anyone know where is my fault?

Attachments

Outcomes