UM1482 User Manual

STM8SVLDISCOVERY

STM8S value line discovery

Introduction

The STM8SVLDISCOVERY is a quick start evaluation kit designed to help users discover the STM8S value line features and develop their own applications. It is based on the STM8S003 microcontroller 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 connected between a PC and the STM8SVLDISCOVERY
  • Selectable power output: 5 V or 3.3 V
  • Push button, B1
  • User LED, LD1
  • Extension header for all I/Os
  • Wrapping area for users' own application development
  • Embedded ST-LINK for STM8S
  • USB interface for programming and debugging
  • SWIM debug support

Figure 1: A photograph of the STM8SVLDISCOVERY evaluation board, showing its main components including the STM8S microcontroller, ST-LINK debugger, USB connector, LEDs (LD1, LD2), user button (B1), and various headers and connectors.

Contents

This document is structured as follows:

  1. Quick start
  2. Hardware and layout
    • 2.1 STM8S003K3T6 microcontroller
    • 2.2 ST-LINK
      • 2.2.1 Using the ST-LINK
      • 2.2.2 Using the ST-LINK on other STM8S applications
    • 2.3 Power supply and power selection
    • 2.4 LEDs
    • 2.5 Push button
  3. Daughterboard connection
  4. Mechanical drawing
  5. Electrical schematics
  6. Revision history

Hardware and layout

The STM8SVLDISCOVERY is designed around the STM8S003K3T6 microcontroller, housed in an LQFP32 package. The board is divided into two distinct sections that can be separated: the STM8S003K3T6 module and the ST-LINK module.

Figure 2: A hardware block diagram illustrating the main functional blocks of the STM8SVLDISCOVERY. It shows a USB interface connecting to an ST-LINK module, which in turn interfaces with the STM8S003K3 microcontroller. Peripherals like GPIOs, LED (LD1), and Button (B1) are connected to the microcontroller. A 'Wrapping area' is also indicated.

Figure 3: A detailed layout diagram of the top side of the STM8SVLDISCOVERY PCB. It labels the USB connector, LEDs (LD2, LD1), ST-LINK core components, SWIM connector (CN7), the possible separation point between the ST-LINK and MCU modules, the power supply jumper (JP1), the external oscillator footprint, the STM8S003K3T6 microcontroller, and the user button (B1). It also shows the pinout headers (CN1, CN2, CN3, CN4) and the wrapping area.

2.1 STM8S003K3T6 microcontroller

Figure 4: An image of the STM8S003K3T6 microcontroller chip, presented in an LQFP32 (32-pin quad flat package) with dimensions of 7x7 mm.

The STM8S003K3T6 8-bit microcontroller offers:

  • 8 Kbytes of Flash program memory
  • 128 bytes data EEPROM
  • 1 Kbyte RAM

Key features of this device include:

  • High-performance proprietary 8-bit core with excellent code density.
  • Innovative design architecture, featuring 16-bit index registers, a 32-bit memory interface, and a 3-stage pipeline.
  • Leading-edge embedded Flash memory technology.
  • Advanced clock controller for optimized power consumption and noise control.
  • A comprehensive set of embedded peripherals: UART, I²C, SPI, timers, analog, and debugging functions.

These features provide the following benefits:

  • Cost efficiency derived from an optimized product manufacturing flow.
  • Lower system cost due to integrated peripherals.
  • Full compatibility with the existing STM8S product portfolio.
  • Efficient power management capabilities.
  • An easy-to-use, non-intrusive, and low-cost development environment.

The device is particularly suitable for applications such as:

  • Consumer electronics
  • Large-volume industrial equipment
  • PC peripherals
  • All mass market electronics

2.2 ST-LINK

The ST-LINK provides a USB interface for programming and debugging, utilizing a single wire interface module (SWIM). The ST-LINK module on the STM8SVLDISCOVERY also supplies 5 V and 3.3 V to the STM8S003K3T6 module.

2.2.1 Using the ST-LINK

Figure 6: A diagram showing the typical configuration for using the STM8SVLDISCOVERY. It depicts a personal computer connected via a USB cable to the STM8SVLDISCOVERY board. Hardware requirements include a USB cable (Type A to B) and a PC running Windows XP, Vista, or 7. Optional software environments like IAR Embedded Workbench for STM8, or the ST Toolset (ST Visual Develop and ST Visual Program) which support ST-LINK SWIM, are also mentioned.

Note: The driver for ST-LINK is installed automatically when the USB is connected. For detailed information on debugging and programming features, refer to resources on ST-LINK, STVD, STVP, and SWIM available on www.st.com.

2.2.2 Using the ST-LINK on other STM8S applications

The ST-LINK can be connected to other STM8S applications in two ways:

  • By removing the solder bridges: This method utilizes the ST-LINK without physically breaking the PCB. It involves unsolderingsolder bridges SB1 and SB2 located under the SWIM connector (see Figure 7). These bridges can be re-soldered later to restore the STM8SVLDISCOVERY's full functionality.
  • By breaking the board and removing the ST-LINK: This approach offers an alternative for programming STM8S devices in other applications (see Figure 8).

Note: This ST-LINK is exclusively for the STM8S family. It should not be used with other STM8 families.

Figure 7: A close-up view of the STM8SVLDISCOVERY board highlighting the SWIM connector (CN7) and the solder bridges SB1 and SB2. The description indicates that removing these bridges allows the ST-LINK to be used independently without physically separating the board.

Figure 8: An illustration showing the STM8SVLDISCOVERY board with the ST-LINK module physically detached from the STM8S003K3T6 evaluation board. It indicates that the ST-LINK module can be used separately, but requires an external SWIM cable and power supply for the STM8S003K3T6 board.

Warning: Removing the ST-LINK module will disable power supply to the STM8S003K3T6 evaluation board. Consequently, a SWIM cable and an external power supply will be necessary to program and operate the STM8S003K3T6 board. To reconnect the STM8S003K3T6, use connector CN7 as detailed in Table 1.

Table 1. SWIM connector CN7
Pin CN2 Designation
1 VDD_TARGET VDD from application
2 SWIM SWIM data input/output
3 GND Ground
4 SWIM_RST SWIM reset

2.3 Power supply and power selection

The power supply is provided via a USB connector. Jumper JP1 is used to select the VDD value (5 V or regulated 3.3 V), as shown in Figure 9.

Figure 9: A diagram showing the JP1 jumper on the STM8SVLDISCOVERY board. It illustrates the two possible positions for JP1, one connecting to '3V3 VDD' and the other to '5V VDD', indicating the selection of either 3.3 V or 5 V power supply.

2.4 LEDs

The ST-LINK provides two LEDs:

  • LD1: A green LED connected to the I/O PD0 of the STM8S003K3.
  • LD2: A red LED that indicates communication between the PC and the ST-LINK.

2.5 Push button

Push button B1 is connected to the I/O PB7 of the STM8S003K3.

Daughterboard connection

Four 12-pin male headers (CN1, CN2, CN3, and CN4) are connected to the STM8S003K3T6 microcontroller. The following tables provide pin assignments:

Table 2. CN1 pinout
CN1 Pin Pin (chip) Pin name Type Main function Alternate function
11NRSTI/OReset
22OSCIN/PA1I/OPort A1
33OSCOUT/PA2I/OPort A2
44GNDSDigital ground
54GNDSDigital ground
65VCAPS1.8 V regulator capacitor
7NCVDDSDigital power supply
87PA3I/OPort A3Timer 2 - channel 3 / SPI master slave
8PF4I/OPort F4
Table 3. CN2 pinout
CN2 Pin Pin (chip) Pin name Type Main function Alternate function
117PE5I/OPort E5SPI master slave
218PC1I/OPort C1Timer 1 - channel 1 / UART2 synchronous clock
319PC2I/OPort C2Timer 1 - channel 2
420PC3I/OPort C3Timer 1 - channel 3
521PC4I/OPort C4Timer 1 - channel 4
622PC5I/OPort C5SPI clock
723PC6I/OPort C6SPI master out / slave in
824PC7I/OPort C7SPI master in / slave out
Table 4. CN3 pinout
CN3 Pin Pin (chip) Pin name Type Main function Alternate function
19PB7/B1IOPort B7
210PB6IOPort B6
311PB5I/OPort B5I2C data
412PB4I/OPort B4I2C clock
513PB3I/OPort B3Analog input 3 / Timer 1 external trigger
614PB2I/OPort B2Analog input 2 / Timer 1 inverted channel 3
715PB1I/OPort B1Analog input 1 / Timer 1 inverted channel 2
816PB0I/OPort B0Analog input 0 / Timer 1 inverted channel 1
Table 5. CN4 pinout
CN4 Pin Pin (chip) Pin name Type Main function Alternate function
125PD0/LD1I/OPort D0Timer 1 - break input / configurable clock output
226PD1/SWIMI/OPort D1SWIM data interface
327PD2I/OPort D2Timer 2 - channel 3
428PD3I/OPort D3Timer 2 - channel 2 / ADC external trigger
529PD4I/OPort D4Timer 2 - channel 1 / BEEP output
630PD5I/OPort D5UART1 data transmit
731PD6I/OPort D6UART1 data receive
832PD7I/OPort D7Top level interrupt / Timer 1 - channel 4

Mechanical drawing

Figure 10: A technical drawing of the STM8SVLDISCOVERY board with precise dimensions indicated for length, width, and component placement areas.

Electrical schematics

Figure 11: A high-level electrical schematic showing the connection between the ST-LINK module and the MCU module via the SWIM interface.

Figure 12: A detailed schematic of the STM8S003K3T6 microcontroller's connections to various components on the board, including the USB connector, LEDs, push button, and the header connectors (CN1, CN2, CN3, CN4). It shows pin assignments and associated components like capacitors and resistors.

Figure 13: A detailed schematic of the ST-LINK circuitry, showing its connection to the USB interface and the SWIM pins. It includes components like the STM32F103C8T6 microcontroller (used for the ST-LINK functionality), crystal oscillator, voltage regulator, LEDs, and connectors.

Revision history

Table 6. Document revision history
Date Revision Changes
18-Nov-2011 1 Initial release.

Important Information

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries reserve the right to make changes, corrections, modifications, or improvements to this document and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST's terms and conditions of sale. Purchasers are solely responsible for the choice, selection, and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection, or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. ST disclaims any express or implied warranty with respect to the use and/or sale of ST products, including without limitation implied warranties of merchantability, fitness for a particular purpose, or infringement of any patent, copyright, or other intellectual property right. ST products are not recommended, authorized, or warranted for use in military, aircraft, space, life-saving, or life-sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. ST products not specified as "Automotive Grade" may only be used in automotive applications at the user's own risk. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. © 2011 STMicroelectronics. All rights reserved.

PDF preview unavailable. Download the PDF instead.

stm8svldiscovery usermanual Acrobat Distiller 9.0.0 (Windows) C2 v2.0.0 build 003

Related Documents

Preview STM8L-DISCOVERY User Manual: Getting Started Guide
Comprehensive guide to getting started with the STM8L-DISCOVERY evaluation board from STMicroelectronics. Learn about system requirements, software setup, running examples, and developing your own applications.
Preview STM32F0DISCOVERY Development Kit User Manual - STMicroelectronics
User manual for the STM32F0DISCOVERY development kit by STMicroelectronics, featuring the STM32 F0 Cortex-M0 microcontroller. Learn about its hardware, features, getting started, and connecting modules for embedded system development.
Preview STM32 Nucleo-144 Boards (MB1137) User Manual - STMicroelectronics
This user manual provides detailed information on the STM32 Nucleo-144 development boards (MB1137) from STMicroelectronics. Discover features, hardware layout, configuration options, and quick start guides for STM32 microcontroller prototyping.
Preview STM32 Nucleo-144 Boards (MB1137) User Manual
This user manual details the STM32 Nucleo-144 boards (MB1137) from STMicroelectronics. It covers features, ordering information, development environment, hardware layout, and compliance statements for these versatile microcontroller development kits, which include an integrated ST-LINK/V2-1 debugger and support for ARDUINO Uno V3 shields.
Preview STM32 Nucleo-144 Board NUCLEO-L496ZG - STMicroelectronics
Data brief for the STM32 Nucleo-144 board (NUCLEO-L496ZG) from STMicroelectronics, featuring an STM32L496ZGT6 microcontroller, Arduino Uno V3 and ST morpho connectivity, and an integrated ST-LINK/V2-1 debugger. Ideal for prototyping and embedded system development.
Preview STM32N6 Nucleo-144 Board (MB1940) User Manual - STMicroelectronics
Discover the STM32N6 Nucleo-144 board (MB1940, NUCLEO-N657X0-Q) by STMicroelectronics. This user manual covers its features, including the STM32N657X0H3Q microcontroller, expansion connectors (Arduino, ST morpho), and integrated STLINK-V3EC debugger, making it a flexible platform for embedded development and prototyping.
Preview STM32429I-EVAL Evaluation Board User Manual - STMicroelectronics
Comprehensive user manual for the STMicroelectronics STM32429I-EVAL evaluation board, featuring the STM32F429NIH6 microcontroller. Details hardware, peripherals, connectors, and development support for embedded system design.
Preview STM32 Nucleo-144 Boards User Manual - STMicroelectronics
Explore and prototype with STMicroelectronics STM32 Nucleo-144 development boards (NUCLEO-L496ZG, NUCLEO-L496ZG-P). This user manual details features, hardware, integrated ST-LINK/V2-1 debugger, Arduino Uno V3 compatibility, and software libraries for embedded system development.