Skip to main content
Visitor II
November 12, 2018
Question

Can SWIM interface also provide power to target board while debugging ?

  • November 12, 2018
  • 1 reply
  • 1867 views

On STM8 controller the 4-pin SWIM interface has a power pin (pin#1) that has been indicated to sense the target voltage. Can this pin be repurposed some way to drive the target board ? So SWIM interface provides output power so the target circuitry does not need separate power source for low power designs say (~100mW). The SWIM itself powers the target while debugging if needed.

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 20, 2022

    I am also trying to power my very minimal circuit through the SWIM interface. Seems from OP's question that the default is that VDD is connected to SWIM only for sensing. Not what I thought/hoped!

    Can someone confirm?

    Graduate II
    May 20, 2022

    If you're using an authentic ST-LINK/V2 there's a supply pin on the 20-pin JTAG Header, see user manual..

    >>Can someone confirm?

    Should easy enough to measure with a multi-meter, surely?