2025-06-18 6:51 PM
Hi all,
I am Struggling with STM32L432 CAN Bus communication from one STM32L432 to another STM32L432 using MCP2551.
* I have checked loopback works.
*I am using HSE Clock (After soldering SB17) -
* I have also tried putting Oscilloscope at TX pins between STM32 Transmitter and MCP2551 but signal just stays high.
* Plus, i can see that this never triggers but putting it in debug mode and putting a breakpoint in there
I also tried following this guy: 115. STM32CubeIDE MCP2551 CAN BUS with STM32 F103C8T6
but to no avail.
* I also tried doing the same setup i.e. ADC on transmitter sending information to other side via CANBUS.
* I have quadrupled checked Hardware circuitry, and all seems to be right.
* CANBUS Distance is also less than a meter now with termination at both ends.
TX Code -
RX Code -
Any help would be much appreciated.
Thanks