Skip to main content
Prasad11
Visitor II
November 12, 2018
Question

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

  • November 12, 2018
  • 4 replies
  • 3051 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.

    4 replies

    lyoy
    Associate 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?

    Tesla DeLorean
    Guru
    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?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..