2024-08-20 05:57 AM
I have found an issue with code generation from .ioc file. Using STM32H7S78 DK when choosing pins for FDCAN2 (I chose pb5 and pb6), after code generation it doesnt set pb 6 as an RX. Even if you manualy add it in the code it will remove it after code generation.
Solved! Go to Solution.
2024-08-20 06:33 AM
Works for me. Here's the pin initialization code it generated:
You're not on the latest STM32CubeIDE version. Could be that. Could also be misreading something.
2024-08-20 05:58 AM - edited 2024-08-20 05:59 AM
Attach your IOC file. Are you using the latest STM32CubeIDE or STM32CubeMX version?
Pins PB5 and PB6 are used by other things on the board by default.
2024-08-20 05:59 AM - edited 2024-08-20 06:01 AM
I am using STM32CubeIde Version: 1.16.0 Build: 21983_20240628_1741 (UTC)
@TDK wrote:Pins PB5 and PB6 are used by other things on the board by default.
I have unsoldered some bricks and used them as FDCAN. I have changed their settings from default to FDCAN also
2024-08-20 06:33 AM
Works for me. Here's the pin initialization code it generated:
You're not on the latest STM32CubeIDE version. Could be that. Could also be misreading something.
2024-08-20 06:34 AM
Alright, I'll update it