2025-06-22 10:02 PM
Hello,
I’m using STM32F746 with CAN1 peripheral in Normal mode, and facing an issue during runtime:
when the master and slave device communicate at baud rate of 1Mbps and if I change the baud rate of master device to any other baud rate then then gets stuck in a while loop waiting for Normal Mode acknowledgment:
I perform a software reset before reinitializing CAN:
I cleared the BUS-OFF condition manually:
I enabled auto bus-off recovery:
CAN is configured in Normal mode, with filters set and interrupts enabled.
After the master changes its baud rate, the STM32 re-initializes, but hangs at the wait for Normal mode acknowledge.
Is there something else needed to recover cleanly from this situation?
Do I need to delay or detect bus idle before exiting INIT mode?
Any additional register I should clear or sequence to follow?
Any suggestions or official guidance would be appreciated.