2020-06-30 07:23 PM
Instead of using JTAG, I would like to enable SWD programming (via STLink) for a custom STM32L476RG board that I am designing. Which pins of the MCU correspond to the 5 SWD pins normally found on boards like Nucleo and Sensortile? I probably found out 4 of the 5 pins (VDD, GND, NRST (reset) and SWDIO (PA13)) but can't find SWDCLK.
2020-06-30 07:59 PM
PA13 (SWDIO), PA14 (SWCLK), PB3 (SWO), NRST, GND
2020-06-30 07:59 PM
SWCLK is PA14.
Can be found in the reference manual, the datasheet, STM32CubeMX and other places.