Tool/software:
I am currently implementing Fast/Slow Recovery functionality after a CAN bus off condition. When Bus Off occurs, MCAN_CCCR.INIT is set to 1, and I use the DL_MCAN_setOpMode() function to restore the MCAN to Normal mode.
However, I observed a CAN message transmitted on the bus immediately after calling DL_MCAN_setOpMode().
During the bus off state, I also noticed that the MCAN_TXBRP register indicates a request pending, and this request pending status is cleared after DL_MCAN_setOpMode() finishes executing.
Is it possible that DL_MCAN_setOpMode() automatically sends the CAN message if it detects a pending transmission request?
If so, how can I prevent this behavior from occurring?
Before calling DL_MCAN_setOpMode():

After calling DL_MCAN_setOpMode():

