cancel
Showing results for 
Search instead for 
Did you mean: 

CAN classic master on FDCAN (stm32g4xxx)

JCajk
Associate II

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

2 REPLIES 2
Amel NASRI
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

Amel NASRI
ST Employee

For more details on FDCAN, please refer to AN5348.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.