2024-09-28 05:53 AM - last edited on 2024-09-30 03:09 AM by SofLit
PA11和PA12配置为FDCAN1 模式失效
Translation: PA11 and PA12 are configured as FDCAN1 mode.
Solved! Go to Solution.
2024-09-30 03:01 AM - edited 2024-09-30 03:14 AM
Hello @Erice ,
PA11 and PA12 are already used by the USB and this prevents you to use FDCAN on these pins:
You can use FDCAN on pins PD0 (FDCAN1_Rx) and PD1 (FDCAN1_Tx) on CN9 zio connector:
From the board's user manual:
Hope I answered your question.
2024-09-28 07:23 AM
> PA11 and PA12 are configured to fail in FDCAN1 mode
There's not enough information in your post to be useful.
How to write your question to maximize your chance... - STMicroelectronics Community
Perhaps pins are being used by something else. Perhaps the code is insufficient. Perhaps the pins are not hooked up as you think they are. Review the schematic or user manual to verify availability and connectivity.
2024-09-30 02:49 AM
Hello @Erice ,
Please provide more details on your issue.
Check if you have conflicts with other functions on your board.
When using STM32CubeMX, select PA11 and PA12 in the Pinout View and make sure to use the alternate function FDCAN1_Rx/Tx according to the GPIO you are using (PA11 or PA12).
Please see the following screenshot
PS: I've updated your STM32H7 label to STM32H5 (since you say in the title that you're using STM32H5).
2024-09-30 03:01 AM - edited 2024-09-30 03:14 AM
Hello @Erice ,
PA11 and PA12 are already used by the USB and this prevents you to use FDCAN on these pins:
You can use FDCAN on pins PD0 (FDCAN1_Rx) and PD1 (FDCAN1_Tx) on CN9 zio connector:
From the board's user manual:
Hope I answered your question.