CAN Communication Not Working on STM32F746 — No Frames on Bus MASTER or PCAN
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 .
