AnsweredAssumed Answered

FlexCAN Reset Stuck

Question asked by Bryce Readyhough on Aug 30, 2019
Latest reply on Sep 3, 2019 by Kerry Zhou

Hello,

I am having a problem with the FlexCAN module on our MIMXRT1060-EVK evaluation board. When using the MCUXpresso IDE with the board's SDK and C, after creating a project and setting up the CAN peripheral and routing the pins (See below for configuration screenshots) the program that is created runs and compiles but it gets stuck in the "Wait until FlexCAN reset completes" loop of the fsl_flexcan.c file (See code snippet below). 

Thank you all!

 

/* Assert Soft Reset Signal. */
base->MCR |= CAN_MCR_SOFTRST_MASK;
/* Wait until FlexCAN reset completes. */
while (0U != (base->MCR & CAN_MCR_SOFTRST_MASK))
{
}

 

 

 

Outcomes