Skip to main content
JCajk
Associate
February 6, 2020
Question

CAN classic master on FDCAN (stm32g4xxx)

  • February 6, 2020
  • 2 replies
  • 1203 views

Please how to set FDCAN classic master for standard CAN in Stm32cubemx. MCU is from stm32g4 series.

This topic has been closed for replies.

2 replies

Amel NASRI
ST Technical Moderator
February 26, 2020

Hello @Community member​ ,

In STM32CubeG4 package, you have an example called "FDCAN_Classic_Frame_Networking" under STM32G474E-EVAL\Examples\FDCAN\FDCAN_Classic_Frame_Networking. In this example, FDCAN peripheral is configured to operate in classic CAN frame mode, with CAN

Bit Rate of 1 MBit/s.

In the same folder, you find the file FDCAN_Classic_Frame_Networking.ioc that you can use as an entry to STM32CubeMX in order to update the project on your way and re-use it.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Amel NASRI
ST Technical Moderator
February 26, 2020

For more details on FDCAN, please refer to AN5348.

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.