STM32H723VGT6 FDCAN unable to see waveform from oscilloscope in external loopback mode
- November 11, 2024
- 1 reply
- 2761 views
Hi
I am trying to send some CAN-bus messages from a STM32H723VGT6
I am following this video to send standard CAN messages in external loopback mode (https://www.youtube.com/watch?v=kXyzaaSk6Qs&t=568s&ab_channel=ControllersTech).
The code seems to be working as I am using some blinking LEDs to monitor the sending and receiving of messages
However I tried to connect an oscilloscope to the bus to monitor the waves and I am not able to see the messages that are being sent from the board
To make sure that my setup is working correctly I added another node to the bus and I am able to read its messages correctly (I made sure to have the bus resistance set to 60ohm)
Do you have any idea why the board woud appear to be able to send and receive messages in external loopback mode but we only see radio silece with the oscilloscope?
If I try to use Nomal mode instead I keep seeing nothing with the oscilloscope and after a couple of second the LED stops blinking and I get error 512 (the other node is still connected to the bus)

Attached you can find both the code and the schematics of the board I am using. Note however that there is a mistake in the schematics. The pins used for CANbus and USB are swapped. So in the actual board pins PA11/PA12 are used for CANbus and PB8/PB9 are used for usb.


