2024-11-19 04:15 PM
Hi,
at the moment on the STM32U5G9 we have the SWD pins (SWDIO and SWCLK) set to DEBUG, but we would like to also use them as GPIO after programming.
How do we do that?
Are they always set to SWD for programming and then revert to GPIO automatically after programming?
Also, how do we switch them back to debug at runtime in some circumstance via software (the GPIO functionality would obviously not be used at the same time)?
Thank you