Skip to main content
Associate
June 22, 2026
Solved

STM32G474RE multiple FDCAN firmware

  • June 22, 2026
  • 2 replies
  • 102 views

The STM32G474RE support 3 FDCAN and that fit my design well.  When I checked the nucleo board, the firmware does not have any CAN example.  I searched the ST website, the user, programmer and reference manual do not have any information on the registers and their memory map information.  Although I found “STM32 FDCAN running at 8 Mb/s on Nucleo boards” helpful, it does not give me enough information of the FDCAN 2 & 3’s interrupt vector location, calls, setup and etc.  I need a example template to set up my FDCAN.  Where can I find that?

Best answer by mƎALLEm

Hello ​@KTThomasL and welcome to the ST community,

the user, programmer and reference manual do not have any information on the registers and their memory map

information

The memory mapping is provided in the reference manual RM0440 / Table 3. Memory map and peripheral register boundary addresses

and the FDCAN register description is provided in the same reference manual / Table 421. FDCAN register map and reset values.

As there is no CAN transceiver on that NUCLEO board, no FDCAN example available in Cube package but you can inspire either from the FDCAN examples provided in the CubeHAL with the Eval board or use the knowledge base article: STM32 FDCAN running at 8 Mb/s on NUCLEO boards   and the github hotspot: CKB-STM32-FDCAN-8Mbs

There is no example that shows all 3 FDCAN instances are running at the same time. It's not hard to add another FDCAN instance to the project, that’s the same work to do for all FDCAN instances. 

Hope that helps.

2 replies

ST Technical Moderator
June 23, 2026
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
June 23, 2026

Hello ​@KTThomasL and welcome to the ST community,

the user, programmer and reference manual do not have any information on the registers and their memory map

information

The memory mapping is provided in the reference manual RM0440 / Table 3. Memory map and peripheral register boundary addresses

and the FDCAN register description is provided in the same reference manual / Table 421. FDCAN register map and reset values.

As there is no CAN transceiver on that NUCLEO board, no FDCAN example available in Cube package but you can inspire either from the FDCAN examples provided in the CubeHAL with the Eval board or use the knowledge base article: STM32 FDCAN running at 8 Mb/s on NUCLEO boards   and the github hotspot: CKB-STM32-FDCAN-8Mbs

There is no example that shows all 3 FDCAN instances are running at the same time. It's not hard to add another FDCAN instance to the project, that’s the same work to do for all FDCAN instances. 

Hope that helps.

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