2025-10-26 3:11 AM - last edited on 2025-10-27 12:59 AM by mƎALLEm
Hi everyone,
I’m working on CAN communication using STM32F746 in STM32CubeIDE.
My goal is to transmit CAN frames continuously and verify them using BusMaster or PEAK CAN analyzer,but I’m not seeing any CAN frames on the bus.
To help review my setup, I have attached my project ZIP file below.
Could someone please check and confirm:
If my CAN clock configuration is correct
Whether the CAN2 TX/RX pins are configured with the right alternate functions
If my main.c code for CAN initialization and transmission looks correct
Whether I need any filter configuration even if I only want to transmit
Setup details:
Controller: STM32H746
Interface: CAN1
Mode: Normal
Baud rate: 500 kbps
TX/RX Pins: [PD0/PD1]
Using HAL drivers
Can you please check with my project and help me out .
2025-10-27 4:44 AM
So you need to check again your hardware I suspect something wrong in your hardware: either in the transceiver itself (it could be defective), its power supply is not well connected to 5V or it's an issue your wiring (so test the continuity on CAN_H and CAN_L)! I don't see something wrong in the code you shared in your first post.