UM1482
User Manual
STM8SVLDISCOVERY
STM8S value line discovery
Introduction
The STM8SVLDISCOVERY is a quick start evaluation kit which helps you to discover the STM8S value line features, and to develop your own application. It is based on an STM8S003 and includes an embedded debugger, ST-LINK, and a user button. Numerous applications are available from www.st.com/stm8svldiscovery.
Features
●STM8S003K3T6 microcontroller, 8 KB Flash, 1 KB RAM, 128 bytes EEPROM
●Powered by USB cable between PC and STM8SVLDISCOVERY
●Selectable power of 5 V or 3.3 V
●Push button, B1
●User LED, LD1
●Extension header for all I/Os
●Wrapping area for users own application
●Embedded ST-LINK for STM8S
●USB interface for programming and debugging
●SWIM debug support
November 2011 |
Doc ID 022392 Rev 1 |
1/20 |
www.st.com
Contents |
UM1482 |
|
|
Contents
1 |
Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. 5 |
|
2 |
Hardware and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. 6 |
|
|
2.1 |
STM8S003K3T6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
8 |
|
2.2 |
ST-LINK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
2.2.1 Using the ST-LINK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2.2 Using the ST-LINK on other STM8S applications . . . . . . . . . . . . . . . . . 10
2.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.5 Push button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 |
Daughterboard connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
4 |
Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
5 |
Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
6 |
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
19 |
2/20 |
Doc ID 022392 Rev 1 |
UM1482 |
List of tables |
|
|
List of tables
Table 1. SWIM connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Table 2. CN1 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Table 3. CN2 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Table 4. CN3 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Table 5. CN4 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Table 6. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Doc ID 022392 Rev 1 |
3/20 |
List of figures |
UM1482 |
|
|
List of figures
Figure 1. STM8SVLDISCOVERY evaluation board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Figure 4. STM8S003K3T6 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Figure 5. STM8S003 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Figure 6. Typical configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 7. ST-LINK without breaking the PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 8. Separated ST-LINK module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 9. Power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Figure 10. STM8SVLDISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Figure 11. STM8SVLDISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Figure 12. STM8SVLDISCOVERY MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Figure 13. STM8SVLDISCOVERY ST-LINK (SWIM only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4/20 |
Doc ID 022392 Rev 1 |
UM1482 |
Quick start |
|
|
It is very simple to get started using the STM8SVLDISCOVERY, just follow these four steps:
1.Connect the STM8SVLDISCOVERY to a PC with a USB cable.
2.Press the B1 button, and observe LED LD1 blinking.
3.Press the B1 button to change blinking speed.
4.Visit www.st.com/stm8svldiscovery and follow the tutorial, then discover other applications.
|
You can discover more of the STM8S features by downloading and executing the proposed |
|
programs in the project list. |
Note: |
The software code corresponding to this application is available under the name Discover |
|
(AN3996) in the project list of the STM8SVLDISCOVERY web page. |
Doc ID 022392 Rev 1 |
5/20 |
Hardware and layout |
UM1482 |
|
|
The STM8SVLDISCOVERY is designed around the STM8S003K3T6 microcontroller in an LQFP32 package. It has two distinct sections that may be separated, the STM8S003K3T6 module and the ST-LINK module.
Figure 2 illustrates the connections between the STM8S003K3T6 and its peripherals (STLINK, user button, LED and connectors).
Figure 3 helps you to locate these features on the STM8SVLDISCOVERY board, as well as the potential point of separation (for more details refer to Section 2.2.2: Using the ST-LINK on other STM8S applications).
6/20 |
Doc ID 022392 Rev 1 |