STM32F446RE CAN Works in Loopback Mode but Not in Normal Mode
Hello,
I configured CAN communication between two STM32F446RE boards. The code works in Loopback Mode, but not in Normal Mode.
I did not use an external CAN transceiver, as I read that direct communication is possible on the STM32F446RE.
What I have tried:
- CAN initialization is correct, and messages are transmitted successfully in Loopback Mode.
- In Normal Mode, HAL_CAN_AddTxMessage() returns HAL_OK, but no messages are received.
- Connected CAN_TX of Board 1 to CAN_RX of Board 2 and vice versa, with a shared GND.
- Enabled CAN interrupts and checked for errors using HAL_CAN_ErrorCallback(), but none appear.

