Skip to main content
JCajk
Associate
Feb 6, 2020 12:14 PM UTC
Question

CAN classic master on FDCAN (stm32g4xxx)

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
Feb 26, 2020 12:37 PM UTC

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
Feb 26, 2020 12:38 PM UTC

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.