cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Communication Not Working on STM32F746 — No Frames on Bus MASTER or PCAN

Akhila_17
Associate II

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:

  1. If my CAN clock configuration is correct

  2. Whether the CAN2 TX/RX pins are configured with the right alternate functions

  3. If my main.c code for CAN initialization and transmission looks correct

  4. 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 .

 

0 REPLIES 0