2022-07-07 12:09 AM
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!
2022-07-07 12:10 AM
Here is the video: https://www.youtube.com/watch?v=v8__Ro12Al4
2022-09-15 12:44 AM
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 Accept as Solution on the reply which solved your issue or answered your question.