2016-08-25 04:33 AM
Hi
I'm using Nucleo STM32L031K6 for my project and I want to use an external debugger for the board instead of the internal debugger provided on the board. I looked at the data sheet of this STML031 and it says that the pins SWDIO and SWCLK are corresponding to the pins PA13 and PA14 on the board respectively. However I could not find where are these two pins on the STML031K6 board? Also The MCU package is 32-pins, but there are only 30 pins on the board. Where are these two PA13(SWDIO) and PA14(SWCLK) pins? Thanks, Bien2016-08-25 05:31 AM
Hi le.bien,
Both SWD pin are connected to the ST-Link SWD connector CN2. That should be done through both test-points in the Up right of the board. Take a look to the figure 3 and shematics of user manual for clarification. -Hannibal-