Skip to main content
Visitor II
September 25, 2017
Question

The minimum electrical circuit

  • September 25, 2017
  • 3 replies
  • 1251 views
Posted on September 25, 2017 at 17:03

What is the minimum electrical circuit to program the STM8S microcontroller by SWIN?

#minimun-circuit
    This topic has been closed for replies.

    3 replies

    Visitor II
    October 5, 2017
    Posted on October 05, 2017 at 10:59

    I'm not sure what you want to ask for. My guesses are:

    1) The minimal circuit on the programmer side, i.e. a replacement for the ST-LINK or ST-LINK/V2? I don't know.

    2) The minimal circuit on the board at the SWIM pins? AFAIK none is required - having a connector is nice, but if you want to save on board costs, you could just put test hooks on the pins

    3) The minimal circuit for the whole board just to be able to get the STM8 programmable via SWIM? AFAIK, two or three ceramic capacitors should do - one for the osciallator, the others on the power supply.

    You might want to have a look at the rather minimalist (if you leave out the extension board) STM8S001 reference design - just 3 capacitors and some pin headers:

    https://community.st.com/0D50X00009bMM7iSAG

     

    Philipp

    Visitor II
    November 11, 2017
    Posted on November 11, 2017 at 23:45

    If the STM8 device has a reset pin I would put a capacitor on it as recommended in the data sheet.

    Visitor II
    November 12, 2017
    Posted on November 12, 2017 at 05:57

    The minimal circuit for programming device via ST-LINK  consist 4 wires.  This is signals: GND, NRST, VDD, SWIM. But power supply environment depend on model of the device.