STM8S-DISCOVERY STMicroelectronics, STM8S-DISCOVERY Datasheet - Page 2

EVAL KIT STM8S DISCOVERY

STM8S-DISCOVERY

Manufacturer Part Number
STM8S-DISCOVERY
Description
EVAL KIT STM8S DISCOVERY
Manufacturer
STMicroelectronics
Series
STM8Sr
Type
MCUr

Specifications of STM8S-DISCOVERY

Contents
Board
Processor To Be Evaluated
STM8S
Processor Series
STM8
Interface Type
USB, I2C, SPI, UART
Operating Supply Voltage
5 V
Silicon Manufacturer
ST Micro
Core Architecture
STM8
Core Sub-architecture
STM8
Silicon Core Number
STM8
Silicon Family Name
STM8L1xx
Kit Contents
Brd, Cable, Doc
Rohs Compliant
No
For Use With/related Products
STM8S
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
497-10040

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STM8S-DISCOVERY
Manufacturer:
STMicroelectronics
Quantity:
42
Part Number:
STM8S-DISCOVERY
Manufacturer:
ST
0
Contents
Contents
1
2
3
4
5
2/42
Overview of STM8 software development toolchain . . . . . . . . . . . . . . . 6
1.1
1.2
1.3
1.4
Installing the development toolchain . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1
2.2
Description of firmware libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1
3.2
Configuring the option bytes for your application . . . . . . . . . . . . . . . . 22
Building and running your STVD project . . . . . . . . . . . . . . . . . . . . . . . 25
5.1
5.2
5.3
ST Visual Develop (STVD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ST Visual Programmer (STVP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
C and assembly compilers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Firmware libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Downloading and installing STVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Downloading and installing the compilers . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.1
2.2.2
2.2.3
STM8S standard firmware library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1.1
3.1.2
STM8S touch sensing library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2.1
3.2.2
3.2.3
3.2.4
Description of the STM8S-DISCOVERY development package . . . . . 25
5.1.1
5.1.2
5.1.3
Running the STM8S-Discovery examples . . . . . . . . . . . . . . . . . . . . . . . . 27
Creating your STVD project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.3.1
Installing the Cosmic compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installing the Raisonance compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Compiler settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Description of the STM8S standard firmware library . . . . . . . . . . . . . . . 16
STM8S standard firmware library online help . . . . . . . . . . . . . . . . . . . . 17
STM8S touch sensing library working principles . . . . . . . . . . . . . . . . . . 18
Configuring the STM8S touch sensing library . . . . . . . . . . . . . . . . . . . . 19
Developing your application with the STM8S touch sensing library . . . 20
STM8S touch sensing library online help . . . . . . . . . . . . . . . . . . . . . . . 21
Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Application code examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Project structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Creating your project structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Doc ID 16499 Rev 3
UM0834

Related parts for STM8S-DISCOVERY