Skip to main content
anuj
Associate II
November 10, 2022
Solved

Can FDCAN work with CAN 2.0B devices?

  • November 10, 2022
  • 7 replies
  • 12699 views

I am working on a project where the requirement for the microcontroller is to communicate over the CAN bus. The STM32G0B1KET6 is having FDCAN controller inside. It mentions in the datasheet that "The CAN modules are compliant with ISO 11898-1 (CAN protocol specification version 2.0 part A, B) and CAN FD protocol specification version 1.0".

Does it mean it will work with Non-FDCAN devices i.e just the CAN2.0A/B interface?

While looking at the other series for STM32 controller, it is clearly mentioned that The CAN peripheral supports CAN protocol version 2.0 A, B Active.

This topic has been closed for replies.
Best answer by Amel NASRI

Hi @anuj​ ,

The answer is yes.

Here an example STM32CubeG0/Projects/STM32G0C1E-EV/Examples/FDCAN/FDCAN_Classic_Frame_Networking.

AN5348 can bring you some more insights about FDCAN implementation in STM32 products.

-Amel

7 replies

Amel NASRI
Amel NASRIBest answer
ST Technical Moderator
November 16, 2022

Hi @anuj​ ,

The answer is yes.

Here an example STM32CubeG0/Projects/STM32G0C1E-EV/Examples/FDCAN/FDCAN_Classic_Frame_Networking.

AN5348 can bring you some more insights about FDCAN implementation in STM32 products.

-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.
Visitor II
August 10, 2023

I forgot to mention this..... The project properties to change the MCU type is not available.

tmlee_mts_0-1691686176704.png

 

Visitor II
August 10, 2023

Hello Amel,

Please tell me what are the exact steps to porting the FDCAN_Classic_Frame_Networking example from the STM32G0C1VETX CPU you reference above to my STM32H735IGK6 CPU on my STM32H735G-DK board. I have tried importing the project and importing the example, creating a new project with the h735 and importing source from the G0C1, but CubeIDE still references the old  STM32G0C1VETX builds files and fails.

 

 

mƎALLEm
ST Technical Moderator
November 17, 2023

Hello @tmlee_mts ,

Refer to Projects\STM32H743I-EVAL\Examples\FDCAN\FDCAN_Classic_Frame_Networking (from STM32CubeH7) instead of STM32G0C1 (not the same family). But you have to check the clocks where you have some differences.

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