This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-MSPM0G3507: MCAN cannot switch to NORMAL mode after SW-INITIALIZATION MODE

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG, CCSTUDIO

Tool/software:

This is a random issue (about 10% of the time) in "ti_msp_dl_config.c" file.

In CCS studio I found that in the code: -

    DL_MCAN_setOpMode(CANFD0, DL_MCAN_OPERATION_MODE_NORMAL);

    while (DL_MCAN_OPERATION_MODE_NORMAL != DL_MCAN_getOpMode(CANFD0));
 
after the MCAN is initialized the execution is stuck in the above mentioned while loop, as mentioned above this is random and many times the software works fine and I am able to Tx and Rx CAN messages.
Please help in identifying the possible causes for this kind of issue?