2018-11-12 10:12 AM
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.
2022-05-20 07:22 AM
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?
2022-05-20 09:16 AM
2022-05-20 09:21 AM
Related, be clear about what you're using..
2022-05-21 12:22 AM
I'm using a clone of the original ST-LINK/V2. I measured between pin 19 on the JTAG and pin 3 on the SWIM connector, and sure enough, I have 3,3V there. I'm assuming it's alright to connect those two then?