Skip to main content
TLin.6
Associate II
July 7, 2022
Question

The FDCAN.c file doesn't automatically generated

  • July 7, 2022
  • 2 replies
  • 1869 views

Hello,

I am doing a project related to using FDCAN to transfer data. The project is based on stm32h745 dual-core. First, I created a project on TouchGFX and then imported the project on stm32CubeIDE. I set the FDCAN1 (video: 00:01) on the Pinout&Configuration.

I need to manually include ' stm32h7xx_hal_fdcan.h ' (video: 00:07) on main.c file, otherwise the fdcan functions on main.c will be undefinded.

Also, the project does not automatically generate the ' stm32h7xx_hal_fdcan.c ' file. So, I add the source file manually to the 'STM32H7XX_HAL_Driver' folder (video: 00:15). But it seen like the file does not link to the folder.

Does anyone have an idea? Please give me some advice, thank you!0693W00000QKckcQAD.png 

This topic has been closed for replies.

2 replies

TLin.6
TLin.6Author
Associate II
July 7, 2022
KDJEM.1
ST Technical Moderator
September 15, 2022

Hi @TLin.6​ ,

I recommend that you use the STM32CubeMx to create the TouchGFX project.

For that, I advise you to take a look at this MOOC.

Then, you can configure the FDCAN1.

 Maybe this discussion can help you.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar  

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