Skip to main content
Visitor II
August 11, 2020
Question

[SOLVED] Custom board with STM8 - SWIM Pinout?

  • August 11, 2020
  • 1 reply
  • 1073 views

Hi =)

I am designing a custom board with an STM8. I have a couple of STM32 Nucleo and eval board but looking at the schematics the ST-link only seem to have the SWD interface, not the SWIM.

I do not have any STM8 board from ST have but I have another "cheap" ST-Link like the picture below. This one has a SWIM interface.

0693W000003OxS9QAK.png

My questions:

1) Is this ST-Link enough to program my STM8?

2) Which pins do I need to access on the STM8 - is it only SWIM and RST (+ VDD & GND)?

3) Will the STM8 always respond to the SWIM pin when booting up? Because I see no "Boot" pin like the STM32's have. What if the pin is not configured as SWIM in the firmware?

Thank you!! :D

Simon

    This topic has been closed for replies.

    1 reply

    Visitor II
    August 11, 2020

    1-yes

    2- gnd - rst - swim (and vcc if board power is off)

    3- if swim used for another function, you can only connect to MCU under reset.

    SLasn.1Author
    Visitor II
    August 11, 2020

    Ha! Easy :D

    Perfect - thanks for the reply!