2025-12-19 12:27 PM
I am starting use of UM3029 Rev 3 (STM32C0 HAL drivers) and trying ensure I use HAL_SYSCONFIG_SetPinBinding properly (important because the 6 usable IO pins are multiply bonded to device peripheral pads.)
I am working with STM32C011J6 (SO8 package) and am using STM32CubeMX and HAL to create example device support code (i.e., drivers.)
UM3029 Rev 3 section 6 (HAL System Driver) takes me to section 6.2.1 (HAL Bind Pin Config) which has a listing for some device package/pin assignments for GPIO (my current task is to get a pin working as GPIO input), however, the list does not include any defines for SO8 package. The instruction I'm currently trying to verify (generated by STM32CubeMX for my project) is HAL_SYSCFG_SetPinBinding(HAL_BIND_SO8_PIN5_PA8), but there are others and I'd like to fully understand the utility of this function and it's arguments.
I looked in UM3029 Rev 3 for a listing of allowed arguments to SetPinBinding for C0 series SO8 package in UM3029 and came up empty handed. Do I instead need to refer to the source code files used by STM32CubeMX for code generation? If so, can a message be sent (how?) to the authors/maintainers of UM3029 suggesting that verbiage by included in section 6.2.1 indicating that the arguments enumerated there is not a comprehensive list?
Happy to provide any further/clarifying information.
*** Moderators - if I've not placed this postin in the correct location, please relocate it or let me know where I should re-submit? ***
Thank you.
Solved! Go to Solution.
2025-12-19 12:44 PM
The source code is always the best place to look. In particular, the source code within your project. Use the "Go to definition" to find the definition of the function.
Here are the possibilities:
2025-12-19 12:44 PM
The source code is always the best place to look. In particular, the source code within your project. Use the "Go to definition" to find the definition of the function.
Here are the possibilities:
2025-12-19 12:49 PM
Thanks very much - I'll head down that path!
Dave