cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL33x default SWD pins

angus123
Associate

Hello all :)

I am designing a board using the STM32WL33CCV6TR, and want to program/debug using the SWD interface. However, there are multiple pins the SWDIO and SWCLK can be mapped to using alternate functions. Usually with STM products, I have seen a footnote saying which pins the SWD interface is mapped to on boot. However, I cannot see this on the STM32WL33xx datasheet.

 

My question is which pins should I use as SWDIO and SWCLK so that I can program the chip out of the box (without having to mess around with the bootloader). And could I have found this information, as I am sure it is somewhere but cannot find it. I am guessing the PA2 and PA3 pins, but not really for any good reason...

 

Many thanks in advance!

1 REPLY 1
TDK
Super User

Look at the default GPIO register settings in the Reference Manual.

If you feel a post has answered your question, please click "Accept as Solution".