cancel
Showing results for 
Search instead for 
Did you mean: 

Using SWD pins as GPIO

Ricko
Senior II

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

 

0 REPLIES 0