STMicroelectronics UM0817 Technical data

UM0817
User Manual
STM8S-DISCOVERY
evaluation board
Introduction
STM8S-DISCOVERY is a quick start evaluation board which helps you to discover the STM8 features , and to develop and share your own appl ication. It is based on an STM8S105C6T6 and includes an embedded debugger, ST-LINK, and a touch sensing button. Numerous applications are available.
Features
STM8S105C microcontroller
Powered by USB cable between PC and STM8S-DISCOVERY
Selectable power of 5 V or 3.3 V
Embedded ST-Link for STM8S
USB interface for programming and debugging
SWIM debug support
Touch Sensing button, TS1
User LED, LD1
Extension header for all I/Os
Wrapping area for users own application

Figure 1. STM8S-DISCOVERY evaluation board

October 2009 Doc ID 16361 Rev 1 1/17
www.st.com
Contents UM0817
Contents
1 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Hardware and la yout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 STM8S105C6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 ST-Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.1 Using the ST-Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.2 Using the ST-Link on other applications . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Single touch sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Daughter board connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2/17 Doc ID 16361 Rev 1
UM0817 Quick start

1 Quick start

It is very simple to get started using the STM8S-DISCOVERY evaluation board, just follow these four steps:
1. Connect the STM8S-DISCOVERY board to a PC with a USB cable.
2. Press the TS1 button, Observe LED LD1 blinking.
3. Press the TS1 button to change b linking speed.
4. Connect to www.st.com/stm8s-discovery and follow the tutorial. The STM8S-DISCOVERY evaluation board helps yo u to develop and share your own
application. You can discover more of the STM8S features by downloading and executing the proposed programs in the project list.
Doc ID 16361 Rev 1 3/17
Hardware and layout UM0817

2 Hardware and layout

The STM8S-DISCOVERY evaluation board is designed around the STM8S105C6 microcontroller in an LQFP48 package. It has two distinct sections that may be separated, the STM8S105C6 module and the ST-Link module.
Figure 2 illustrates the connections between the STM8S105C6 and its peripherals (ST-
LINK, touch-sensing button, LED and connectors).
Figure 3 helps you to locate these features on the STM8S-DISCOVERY board, as well as
the potential point of separat ion (f or more details ref er to Section 2.2.2: Using the ST-Link on
other applications).

Figure 2. Hardware block diagram

4/17 Doc ID 16361 Rev 1
UM0817 Hardware and layout

Figure 3. Top layout

USB connector ST-Link JTAG USB data transfer LED
ST-LINK core
ST-LINK module
SWIM connector
STM8S105C6 module
LED (LD1)
Possible separation point
Power supply jumper
External Osc. (16 MHz) STM8S105C6
Touch sensing button (TS1)
Wrapping area
SO16 footprint
Doc ID 16361 Rev 1 5/17
Hardware and layout UM0817

2.1 STM8S105C6 microcontroller

Figure 4. STM8S105C6 package

The STM8S105C6 8-bit microcontroller offers:
32 Kbytes of Flash program memory, and 1 Kbyte true data EEPROM.
This device provides the following benefits:
Reduced system cost
Integrated true data EEPROM for up to 300 K write/erase cycles – High system integration le vel; internal clock oscillators, brown- out reset, watchdog.
Performance and robustness
1 6 MHz CPU clock frequency – Up to 38 I/Os on a 48-pin package including 16 high sink outputs – Robust I/O immune against current injection – Independent watchdogs with separate clock source – Flexible clock control, 4 master clocks (HSI, LSI, HSE and external HSE) – Clock security system – A family of products for applications with 2.95 V to 5.5 V operating supply
Short development cycles
Applications scalability across common family product architecture with
compatible pinout, memory map and modular peripher als. – Full documentation and a wide choice of development tools – S tandard S/W library for firmware development quick start – Numerous application notes and firmware examples available
Product longevity
Advanced core and peripherals made in state-of-the-art technology – Low power modes (wait, active-halt, halt) – Auto wake-up timer for active halt – Permanently active, low consumption
Other features
Nested interrupt controller with 32 interrupts – Up to 37 e xternal interrupts on 6 vectors – 2 x 16-bit general purpose timers; with 2+3 CAPCOM channels (IC, OC or PWM) – A dvanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs,
dead- time insertion and flexible synchronization – 8-bit basic timer with 8-bit prescaler – UART with clock output for synchronous operation, Smartcard, IrDA, LIN – SPI interface up to 8 Mbit/s – I2C interface up to 400 Kbit/s – Analog-to-digital con v erter 10-bit, ±1 LSB ADC with up to 10 multiple x ed channels
6/17 Doc ID 16361 Rev 1
Loading...
+ 11 hidden pages