Skip to main content
Explorer
April 15, 2026
Solved

Problem to set FDCAN2 in STM32CubeMX for STM32H562RGT6

  • April 15, 2026
  • 2 replies
  • 142 views

Hello,

I am planning to use STM32H562RGT6 in my product to communicate and update my firmware via CAN FD.

To plan that, I am using STM32CubeMX 6.17.0, the datasheet and the AN2606 (Rev 70).

And I would like to use only one CAN FD to communicate and to update my firmware in this MCU. But it is impossible to do this in STM32CubeMX. I have only access to FDCAN1. And there are no FDCAN2 on the pins.

x314159_1-1776260323976.png

x314159_2-1776260360172.pngx314159_3-1776260415863.png

So, is it a problem in STM32CubeMX ? Or should we use FDCAN1 to do firmware updates via FDCAN for this MCU ?

PS: it is the same problem with the MCU STM32H562VGT6 (and maybe other similar MCUs)

 

Best answer by mƎALLEm

Hello,

Getting back to you regarding this topic:

FDCAN2 is not available on STM32H562 devices even FDCAN2 pins are there but the instance is deactivated internally inside the chip.

Hope that answers your question.

2 replies

mƎALLEm
Technical Moderator
April 15, 2026

Hello @x314159 and welcome to the ST community,

From the datasheet:

mALLEm_0-1776261365673.png

Only one FDCAN instance is available which is FDCAN1. So you can't use FDCAN bootloader as you need FDCAN2 instance available on the chip.

 

"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."
mƎALLEm
Technical Moderator
April 15, 2026

Ok by referring to Table 14., FDCAN2 is available in LQFP64 package.

Need to check internally what is wrong here!

mALLEm_1-1776261654472.png

Which is not the case of CubeMx which showing only FDCAN1 instance:

mALLEm_0-1776261775544.png

 

 

"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."
mƎALLEm
mƎALLEmBest answer
Technical Moderator
April 16, 2026

Hello,

Getting back to you regarding this topic:

FDCAN2 is not available on STM32H562 devices even FDCAN2 pins are there but the instance is deactivated internally inside the chip.

Hope that answers your question.

"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."