Discovery Kit With STM8S001J3M3, STM8L001J3M3 And STM8L050J3M3 MCUs UM2339 STM8 SO8 DISCO User Manual
User Manual:
Open the PDF directly: View PDF
.
Page Count: 26
| Download | |
| Open PDF In Browser | View PDF |
UM2339
User manual
Discovery kit with STM8S001J3M3,
STM8L001J3M3 and STM8L050J3M3 MCUs
Introduction
The STM8-SO8-DISCO helps to discover features of STM8S Value Line and STM8L Value
Line devices available in SO8 packages. This discovery kit offers three SO8 to DIL8
modules designed with STM8S001J3M3, STM8L001J3M3 and STM8L050J3M3
microcontrollers, and allows the user to easily develop and share applications. It includes an
on-board ST-LINK/V2 to debug and program any of the embedded STM8 microcontrollers,
or even an external target by means of a SWIM connector. The STM8-SO8-DISCO is
operated by simply plugging it into a PC through a standard USB Type-A to Micro-B cable.
Figure 1. STM8-SO8-DISCO (Top view)
1. Picture is not contractual.
March 2018
UM2339 Rev 1
1/26
www.st.com
1
Contents
UM2339
Contents
1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3
System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4
Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5
Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7.1
Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7.2
Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.2.1
Using the ST-LINK/V2 to program/debug one on-board STM8 device . 10
7.2.2
Using the ST-LINK/V2 to program/debug a STM8 device on a DIL8
module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.2.3
Using the ST-LINK/V2 to program/debug an external STM8 device . . . 11
7.2.4
Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
7.2.5
ST-LINK/V2 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
7.3
Power supply (CN3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
7.4
LEDs (LD1 and LD2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
7.5
Push-button (B1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
7.6
IDD measurement (JP1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Appendix A STM8S001J3M3 DIL8 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Appendix B STM8L001J3M3 DIL8 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Appendix C STM8L050J3M3 DIL8 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Appendix D Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2/26
UM2339 Rev 1
UM2339
Appendix E
Contents
Federal Communications Commission (FCC)
and Industry Canada (IC) Compliance . . . . . . . . . . . . . . . . . . . . . . . 24
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
UM2339 Rev 1
3/26
3
List of tables
UM2339
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
4/26
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Selecting one on-board STM8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
DIL8 socket (U3) pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
External SWIM connector (CN1) pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
User LED port assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
User push-button port assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
STM8S001J3M3 DIL8 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
STM8L001J3M3 DIL8 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
STM8L050J3M3 DIL8 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
UM2339 Rev 1
UM2339
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
STM8-SO8-DISCO (Top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
STM8-SO8-DISCO board interconnections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
STM8S001J3M3 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
STM8L001J3M3 module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
STM8L050J3M3 module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Button, LED and programming socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
ST-LINK/V2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
UM2339 Rev 1
5/26
5
Features
1
UM2339
Features
• STM8S001J3M3 microcontroller featuring 8 Kbytes of Flash memory, 1 Kbyte of RAM
and 128 bytes of Data EEPROM in an SO8 package
• STM8L001J3M3 microcontroller featuring 8 Kbytes of Flash memory including up to
2 Kbytes of Data EEPROM and 1.5 Kbytes of RAM in an SO8 package
• STM8L050J3M3 microcontroller featuring 8 Kbytes of Flash memory, 1 Kbyte of RAM
and 256 bytes of Data EEPROM in an SO8 package
• 1 user Led
• 1 user push-button
• Individual and breakable STM8 SO8 to DIL8 module
• DIL8 socket to ease programming of the STM8 MCU
• On-board ST-LINK/V2 debugger/programmer
• Comprehensive free software libraries and examples
• Support of a wide choice of Integrated Development Environments (IDEs) including
Cosmic, IAR™, Raisonance, iSYSTEM and STMicroelectronics
2
Product marking
Evaluation tools marked as ‘ES’ or ‘E’ are not yet qualified and therefore they are not ready
to be used as reference design or in production. Any consequences deriving from such
usage will not be at ST charge. In no event, ST will be liable for any customer usage of
these engineering sample tools as reference design or in production.
‘E’ or ‘ES’ marking examples of location:
3
•
On the targeted STM8 that is soldered on the board (for illustration of STM8 marking,
refer to the section ‘Package information’ of the STM8 datasheet at www.st.com).
•
Next to the evaluation tool ordering part number, that is stuck or silkscreen printed on
the board
System requirements
• Windows® OS (7, 8 and 10)
• USB Type-A to Micro-B cable
6/26
UM2339 Rev 1
UM2339
4
5
Development toolchains
Development toolchains
•
STMicroelectronics: free STVD-STM8 (using Cosmic toolchain)
•
IAR™: IAR-EWSTM8
•
Cosmic: free IDEA
•
Raisonance: RIDE-STM8
•
iSYSTEM: winIDEA-STM8
Demonstration software
The demonstration software, included in the corresponding STM8 standard peripheral
library package, is preloaded in the STM8S001J3M3 Flash memory for easy demonstration
of the device peripherals in standalone mode. The latest versions of the demonstration
source code and associated documentation can be downloaded from the
www.st.com/stm8-discovery web page.
6
Ordering information
To order the STM8-SO8-DISCO kit, refer to Table 1.
Table 1. Ordering information
Order code
Target STM8
STM8-SO8-DISCO
STM8S001J3M3
STM8L001J3M3
STM8L050J3M3
UM2339 Rev 1
7/26
25
Hardware layout and configuration
7
UM2339
Hardware layout and configuration
The STM8-SO8-DISCO has been designed around three STM8 microcontrollers available
in SO8 package: STM8S001J3M3, STM8L001J3M3 and STM8L050J3M3. To ease the
evaluation, each STM8 device is mounted on individual and breakable SO8 to DIL8 module.
Figure 2 helps users to locate the different features of the STM8-SO8-DISCO board.
Figure 2. Top layout
67/,1.0LFUR%
86%FRQQHFWRU
67/,1.
FRPPXQLFDWLRQ/('
6:,0H[WHUQDO
FRQQHFWRU
,''MXPSHU
',/VRFNHW
8VHUSXVKEXWWRQ
8VHU/('
6706-0',/
PRGXOH
670/-0',/
PRGXOH
670/-0',/
PRGXOH
06Y9
8/26
UM2339 Rev 1
UM2339
Mechanical drawing
Figure 3. Mechanical drawing
PP
PP
PP
PP
PP
7.1
Hardware layout and configuration
PP
PP
PP
PP
PP
06Y9
UM2339 Rev 1
9/26
25
Hardware layout and configuration
7.2
UM2339
Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the STM8-SO8-DISCO
board.
The embedded ST-LINK/V2 can be used in 3 different ways:
•
Program/debug one on-board STM8 device by selecting it using the corresponding
solder bridges
•
Program/debug a STM8 device mounted on a DIL8 module plugged to the socket U3
•
Program/debug an external STM8 device mounted on a user application board using a
cable connected to SWIM connector (CN1)
The embedded ST-LINK/V2 supports only SWIM for STM8 devices. For information about
debugging and programming features refer to ST-LINK/V2 in-circuit debugger/programmer
for STM8 and STM32 User manual (UM1075), which describes in details all the ST-LINK/V2
features.
7.2.1
Using the ST-LINK/V2 to program/debug one on-board STM8 device
To program/debug one of the on-board STM8 device, solder bridges must be configured as
detailed in below table. In addition, no DIL8 module must be present on the socket U3 and
no external target must be connected to CN1.
Table 2. Selecting one on-board STM8
Selected STM8 device
Solder Bridge ON
Solder Bridge OFF
STM8S001J3M3 (U2)
SB1, SB2, SB3
SB4, SB5, SB6, SB7, SB8, SB9
STM8L001J3M3 (U7)
SB4, SB5, SB6
SB1, SB2, SB3, SB7, SB8, SB9
STM8L050J3M3 (U10)
SB7, SB8, SB9
SB1, SB2, SB3, SB4, SB5, SB6
Note:
Practically, only SB1, SB4 and SB7 are used to redirect the SWIM signal to the selected
STM8 device. But to prevent conflict on GPIOs used for the user push-button and LED, it is
preferable to also configure others solder bridges.
7.2.2
Using the ST-LINK/V2 to program/debug a STM8 device on a DIL8
module
To program/debug a STM8 device mounted on a DIL8 module plugged to the socket U3, it is
required to set all solder bridges OFF (SB1 to SB9) and no external target must be
connected to CN1. The DIL8 socket pinout is detailedTable 3.
Table 3. DIL8 socket (U3) pinout
Pin number
10/26
Pin name
Description
1
GPIO1/SWIM
Serial wire interface module (SWIM)
2
GPIO2
Not connected
3
GND
Ground
4
VDD
Power supply (+3.3 V)
5
GPIO3/LED
User LED
UM2339 Rev 1
UM2339
Hardware layout and configuration
Table 3. DIL8 socket (U3) pinout (continued)
Pin number
Pin name
Description
6
GPIO4
Not connected
7
GPIO5/BP
User push-button
8
GPIO6
Not connected
Note:
When plugging the DIL8 module to the socket, please pay attention to the pin 1.
7.2.3
Using the ST-LINK/V2 to program/debug an external STM8 device
To program/debug an external STM8 device mounted on a user application, it is required to
set all solder bridges OFF (SB1 to SB9) and to remove any DIL8 module from the socket
U3.
The user application must be connected to the STM8-SO8-DISCO using the SWIM
connector (CN1).
Table 4. External SWIM connector (CN1) pinout
Pin number
Pin name
Description
1
NC
Not connected
2
SWIM
Serial wire interface module
3
VSS
Ground
4
NRST
Reset of STM8 device
Note:
This program/debug connector is only 3.3 V compliant.
7.2.4
Driver
Before connecting the STM8-SO8-DISCO board to a Windows PC via USB, a driver for the
ST-LINK/V2 must be installed. It can be downloaded from the www.st.com website.
In case the STM8-SO8-DISCO board is connected to the PC before installing the driver, the
PC device manager may report the interface as ‘Unknown’.
To recover from this situation, after installing the dedicated driver, the association of the
‘Unknown’ USB device found on the STM8-SO8-DISCO board to this dedicated driver, must
be updated in the device manager manually.
7.2.5
ST-LINK/V2 firmware upgrade
The ST-LINK/V2 embeds a firmware upgrade mechanism for in-situ upgrade through the
USB port. As the firmware may evolve during the life time of the ST-LINK/V2 product (for
example new functionality, bug fixes, support for new microcontroller families), it is
recommended to visit www.st.com website before starting to use the STM8-SO8-DISCO
board and periodically, in order to stay up-to-date with the latest firmware version.
UM2339 Rev 1
11/26
25
Hardware layout and configuration
7.3
UM2339
Power supply (CN3)
The STM8-SO8-DISCO is designed to be powered using the ST-LINK/V2 USB connector
CN3.
7.4
LEDs (LD1 and LD2)
The STM8-SO8-DISCO features a user LED (LD1) connected to the pin 5 of the DIL8
module. To light on this LED, a high logic state must be output on the corresponding STM8
GPIO.
Table 5. User LED port assignment
Selected STM8 device
STM8S001J3M3 (U2)
GPIO assigned to user LED
PA3/PB5
STM8L001J3M3 (U7)
PB3/PB5/PD0
STM8L050J3M3 (U10)
The tricolor LED (green, orange, red) LD2 (COM) provides information about ST-LINK
communication status:
7.5
•
Slow blinking Red/Off: at power-on before USB initialization
•
Fast blinking Red/Off: after the first correct communication between the PC and
ST-LINK/V2 (enumeration)
•
Red LED On: when the initialization between the PC and ST-LINK/V2-1 is complete
•
Green LED On: after a successful target communication initialization
•
Blinking Red/Green: during communication with target
•
Green On: communication finished and successful
•
Orange On: Communication failure
Push-button (B1)
The STM8-SO8-DISCO offers a user push-button (B1) connected to pin 7 of the DIL8
module. To retrieve the push-button state, the firmware must read the corresponding STM8
GPIO.
Table 6. User push-button port assignment
Selected STM8 device
STM8S001J3M3 (U2)
GPIO assigned to user push-button
PC3/PC4/PC5
STM8L001J3M3 (U7)
PB7/PC0
STM8L050J3M3 (U10)
The use of the push-button depends on the STM8 device firmware.
12/26
UM2339 Rev 1
UM2339
7.6
Hardware layout and configuration
IDD measurement (JP1)
Jumper IDD (JP1) allows to measure the consumption of a STM8 device by removing the
jumper and by connecting an ammeter:
Note:
•
Jumper ON: STM8 device(s) is (are) powered (default).
•
Jumper OFF: an ammeter must be connected to measure the STM8 device(s) current.
If there is no ammeter, STM8 device(s) is (are) not powered.
By default all STM8 devices are powered. To isolate the power consumption of only one
STM8 device, it is required to either cutout the non-required DIL8 modules or to cut all of
them and insert the required DIL8 module in the socket U3.
UM2339 Rev 1
13/26
25
STM8S001J3M3 DIL8 module
Appendix A
UM2339
STM8S001J3M3 DIL8 module
Table 7. STM8S001J3M3 DIL8 module
DIL8 module pin
number
14/26
DIL8 module pin name
STM8 SO8 pin
number
Description
1
GPIO1/SWIM
8
PC6/PD1/PD3/PD5
2
GPIO2
1
PA1/PD6
3
GND
2
Ground
4
VDD
4
Power supply
5
GPIO3
5
PA3/PB5
6
GPIO4
6
PB4
7
GPIO5
7
PC3/PC4/PC5
8
GPIO6
NC
Not connected
N/A
N/A
3
1.8 V voltage regulator
decoupling capacitor
UM2339 Rev 1
UM2339
STM8L001J3M3 DIL8 module
Appendix B
STM8L001J3M3 DIL8 module
Table 8. STM8L001J3M3 DIL8 module
DIL8 module pin
number
DIL8 module pin name
STM8 SO8 pin
number
Description
1
GPIO1/SWIM
1
PA0/PC3/PC4
2
GPIO2
2
PA2/PA4/PA6
3
GND
3
Ground
4
VDD
4
Power supply
5
GPIO3
5
PB3/PB5/PD0
6
GPIO4
6
PB6
7
GPIO5
7
PB7/PC0
8
GPIO6
8
PC1/PC2
UM2339 Rev 1
15/26
25
STM8L050J3M3 DIL8 module
Appendix C
UM2339
STM8L050J3M3 DIL8 module
Table 9. STM8L050J3M3 DIL8 module
DIL8 module pin
number
16/26
DIL8 module pin name
STM8 SO8 pin
number
Description
1
GPIO1/SWIM
1
PA0/PA2/PC6
2
GPIO2
2
PA3
3
GND
3
Ground
4
VDD
4
Power supply
5
GPIO3
5
PB3/PB5/PD0
6
GPIO4
6
PB6
7
GPIO5
7
PB7/PC0
8
GPIO6
8
PC1/PC4/PC5
UM2339 Rev 1
UM2339
Electrical schematics
Appendix D
Electrical schematics
This section provides design schematics of the STM8-SO8-DISCO discovery board:
•
Figure 4: STM8-SO8-DISCO board interconnections
•
Figure 5: STM8S001J3M3 module
•
Figure 6: STM8L001J3M3 module
•
Figure 7: STM8L050J3M3 module
•
Figure 8: Button, LED and programming socket
•
Figure 9: ST-LINK/V2
UM2339 Rev 1
17/26
25
U_ST-LinkV2_SWIM
ST-LinkV2_SWIM.SchDoc
T_SWIM
U_Mechanical
Mechanical.SchDoc
U_Button-Led-ProgSocket
Button-Led-ProgSocket.SchDoc
T_SWIM
STM8S001J3_USER_B
STM8S001J3_USER_LED
STM8S001J3_T_SWIM
Electrical schematics
18/26
Figure 4. STM8-SO8-DISCO board interconnections
U_STM8S001J3_Module
STM8S001J3_Module.SchDoc
STM8S001J3_USER_B
STM8S001J3_USER_LED
STM8S001J3_T_SWIM
U_STM8L001J3_Module
STM8L001J3_Module.SchDoc
STM8L001J3_USER_B
STM8L001J3_USER_LED
STM8L001J3_T_SWIM
STM8L001J3_USER_B
STM8L001J3_USER_LED
STM8L001J3_T_SWIM
UM2339 Rev 1
U_STM8L050J3_Module
STM8L050J3_Module.SchDoc
STM8L050J3_USER_B
STM8L050J3_USER_LED
STM8L050J3_T_SWIM
STM8L050J3_USER_B
STM8L050J3_USER_LED
STM8L050J3_T_SWIM
Reference: MB1383
Sheet: 1 of 1
UM2339
Title: Top
Project: STM8 SO8 Discovery
Variant: Default
Revision: A -02
Size: A4
Date: 11-DEC-17
UM2339
Figure 5. STM8S001J3M3 module
U1
1
STM8S001J3_T_SWIM
2
VDD
3
4
1
8
2
7
3
6
4
5
8
7
STM8S001J3_USER_B
6
5
STM8S001J3_USER_LED
UM2339 Rev 1
DIL8-LYCONN--7.40X1.83
VDD
U2
1
2
3
4
PA1/PD6
PC6/PD1/PD3/PD5
VSS/VSSA
VCAP
VDD/VDDA
PC3/PC4/PC5
PB4
PA3/PB5
8
7
6
5
STM8S001J3M3
C2
1uF
C3
100nF
Reference: MB1383
Sheet: 3 of 8
19/26
Electrical schematics
Title: STM8S001J3 module
Project: STM8 SO8 Discovery
Variant: Default
Revision: A -02
Size: A4
Date: 11-DEC-17
Electrical schematics
20/26
Figure 6. STM8L001J3M3 module
U5
1
STM8L001J3_T_SWIM
2
VDD
3
4
1
8
2
7
3
6
4
5
8
7
STM8L001J3_USER_B
6
5
STM8L001J3_USER_LED
DIL8-LYCONN--7.40X1.83
UM2339 Rev 1
U7
1
VDD
2
3
4
PA0/PC3/PC4
PC1/PC2
PA2/PA4/PA6 PB7/PC0
VSS
VDD
PB6
PB3/PB5/PD0
8
7
6
5
STM8L001J3M3
C7
100nF
Reference: MB1383
Sheet: 4 of 8
UM2339
Title: STM8L001J3 module
Project: STM8 SO8 Discovery
Variant: Default
Revision: A -02
Size: A4
Date: 11-DEC-17
UM2339
Figure 7. STM8L050J3M3 module
U9
1
STM8L050J3_T_SWIM
2
VDD
3
4
1
8
2
7
3
6
4
5
8
7
STM8L050J3_USER_B
6
5
STM8L050J3_USER_LED
DIL8-LYCONN--7.40X1.83
UM2339 Rev 1
U10
1
VDD
2
3
4
PA0/PA2/PC6
PA3
VSS/VSSA
VDD/VDDA
PC1/PC4/PC5
PB7/PC0
PB6
PB3/PB5/PD0
8
7
6
5
STM8L050J3M3
C19
100nF
Reference: MB1383
Sheet: 5 of 8
21/26
Electrical schematics
Title: STM8L050J3 module
Project: STM8 SO8 Discovery
Variant: Default
Revision: A -02
Size: A4
Date: 11-DEC-17
Electrical schematics
22/26
Figure 8. Button, LED and programming socket
1
2
3V3_STLINK
HW1
B1
SW_BLUE
USER
3
4
BLUE HAT
R15
1K
R14
100K
C9
10pF
C12
100nF
UM2339 Rev 1
T_SWIM
STM8S001J3_T_SWIM
STM8L001J3_T_SWIM
STM8L050J3_T_SWIM
SB1
U3
SB4
SB7
1
VDD
2
3
4
C1
1uF
1
8
2
7
3
6
4
5
8
7
6
5
STM8S001J3_USER_B
SB2
STM8L001J3_USER_B
SB5
STM8L050J3_USER_B
SB8
STM8S001J3_USER_LED
SB3
STM8L001J3_USER_LED
SB6
STM8-MODULE-DIL8-SOCKET
STM8L050J3_USER_LED
SB9
LD1
GREEN
R13
510R
GND
UM2339
Title: Button, LED and programming socket
Project: STM8 SO8 Discovery
Variant: Default
Reference: MB1383
Revision: A -02
Size: A4
Sheet: 6 of 8
Date: 11-DEC-17
UM2339
Figure 9. ST-LINK/V2
3V3_STLINK
3V3_STLINK
C13
100nF
C5
100nF
C10
100nF
UM2339 Rev 1
PWR_EXT
SWIM_RST_IN
VBAT
PC13
PC14
PC15
OSCIN
OSCOUT
NRST
VSSA
VDDA
PA0
PA1
PA2
R1
CN1
220R
47R
R4
R2
1
2
3
4
SWIM
SWIM_RST
47R
NC
SWIM
VSS
NRST
SWIM
U4
1
2
3
3V3_STLINK
IO1
GND
IO2
IO_1
VBUS
IO_2
6
5
4
3V3_STLINK
USBLC6-2P6
3V3_STLINK
VDD_2
VSS_2
JTMS/SWDIO
PA12
PA11
PA10
PA9
PA8
PB15
PB14
PB13
PB12
SWIM_IN
SWIM
T_SWIM
R3
680R
220R
48
47
46
45
44
43
42
41
40
39
38
37
1
2
X1
3
4
5
STLK_OSC_IN
NX3225GD-8.00MSTLK_OSC_OUT 6
7
STLK_RST
8
3V3_STLINK
9
R16
4K7
AIN_1 10
11
C11
100nF
12
R17
4K7
13
14
15
16
17
18
19
20
21
22
23
24
JP2
C6
10pF
VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4/JNTRST
PB3/JTDO
PA15/JTDI
JTCK/SWCLK
C8
10pF
10K
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2/BOOT1
PB10
PB11
VSS_1
VDD_1
R11
SWIM_IN
SWIM_RST
SWIM_RST_IN
SWIM_IN
SWIM
3V3_STLINK
R5
SWIM_IN
100K
Board Ident: PC13=0
R9
10K
R6
680R
R8
4K7
R7
STLINK_SWCLK
C4
100nF
36
35
34
33
32
31
30
29
28
27
26
25
CN2
3V3
1
SWCLK
2
VSS
3
SWDIO
4
3V3_STLINK
STLINK_SWDIO
STLINK_USB_D_P
STLINK_USB_D_N
LD2
Green
R18
LED_STLINK
3
4
2
1
STLINK_SWCLK
STLINK_SWDIO
RESERVED
330R
R19
330R
Red
LD_BICOLOR_CMS
COM
U6
STM32F103CBT6
3V3_STLINK
5V_STLINK
3V3_STLINK
HW7
3V3_STLINK
U11 LD3985M33R
1
R12
1K5
3
VBUS
DM
DP
ID
GND
Shield
Shield
Shield
Shield
EXP
EXP
USB_uB_105017-0001
USB STLink
2
1
2
3
4
5
6
7
8
9
10
11
INH
GND
C18
1uF
STLINK_USB_D_N
STLINK_USB_D_P
R10
100K
C17
100nF
Vout
JP1
5
VDD
IDD
BYPASS
C14
10nF
C15
1uF
C16
100nF
U8
1
2
3
IO1
GND
IO2
IO_1
VBUS
IO_2
6
5
4
5V_STLINK
CN6
HW8
CN7
HW9
USBLC6-2P6
CN5
HW10
CN4
HW11
Title: ST-Link/V2 SWIM mode
Project: STM8 SO8 Discovery
Variant: Default
Revision: A -02
Size: A4
Date: 11-DEC-17
Reference: MB1383
Sheet: 7 of 8
23/26
Electrical schematics
USB_Micro-B receptacle
CN3
Vin
4
5V_STLINK
Federal Communications Commission (FCC) and Industry Canada (IC) Compliance
Appendix E
UM2339
Federal Communications Commission (FCC)
and Industry Canada (IC) Compliance
This kit is designed to allow:
24/26
1.
Product developers to evaluate electronic components, circuitry, or software associated
with the kit to determine whether to incorporate such items in a finished product and
2.
Software developers to write software applications for use with the end product. This kit
is not a finished product and when assembled may not be resold or otherwise
marketed unless all required FCC equipment authorizations are first obtained.
Operation is subject to the condition that this product not cause harmful interference to
licensed radio stations and that this product accept harmful interference. Unless the
assembled kit is designed to operate under part 15, part 18 or part 95 of 47 CFR,
Chapter I (‘FCC Rules’), the operator of the kit must operate under the authority of an
FCC license holder or must secure an experimental authorization under part 5 of this
chapter.
UM2339 Rev 1
UM2339
Revision history
Revision history
Table 10. Document revision history
Date
Revision
19-Mar-2018
1
Changes
Initial version
UM2339 Rev 1
25/26
25
UM2339
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2018 STMicroelectronics – All rights reserved
26/26
UM2339 Rev 1
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.3 Linearized : No Tagged PDF : Yes Language : en Page Layout : SinglePage Page Mode : UseNone Page Count : 26 Producer : Acrobat Elements 10.0.0 (Windows); modified using iText 2.1.7 by 1T3XT Keywords : Technical Literature, 031382, Product Development, Specification, User manual, STM8-SO8-DISCO Modify Date : 2018:03:20 15:17:50+01:00 Subject : - Creator : C2 v4.2.0220 build 670 - c2_rendition_config : Techlit_Active Revision : 1 Title : Discovery kit with STM8S001J3M3, STM8L001J3M3 and STM8L050J3M3 MCUs Alternate Name : UM2339 Classification : Unclassified Doc ID : UM2339 Document Type : User manual Create Date : 2018:03:20 11:10:34Z Author : STMICROELECTRONICSEXIF Metadata provided by EXIF.tools