STM8S-DISCOVERY STMicroelectronics, STM8S-DISCOVERY Datasheet - Page 34

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
Building and running your STVD project
34/42
Linking the STM8 touch sensing library to your STVD project
This section explains step by step how to link the STM8 touch sensing library to your STVD
project.
Prior to linking the library to your project, check that the library is up-to-date. If it is not,
download the latest release (see
Follow the steps below to link the touch sensing library to your STVD project:
1.
Configure the library according to the number of touchkeys (up to 24), sliders (up to 2)
and wheels (up to 2) used in your application:
a)
b)
c)
d)
Configure STM8_TSL_RC_Configuration.h
To use only the touch sensing key TS1, reuse the configuration file from the
Discover project by copying STM8_TSL_RC_Configuration.h from STM8S-
DISCOVERY_dev\Project\Discover\inc to your project folder STM8S-
DISCOVERY_dev\Project\My_own_project\inc.
Otherwise, copy the original configuration file,
STM8_TSL_RC_Configuration_TOADAPT.h, available in STM8S-
DISCOVERY_dev\Libraries\STM8_TouchSensing_Driver\inc to your project
folder STM8S-DISCOVERY_dev\Project\My_own_project\inc. Rename it
STM8_TSL_RC_Configuration.h. Set the parameters in compliance with your
application hardware (refer to the touch sensing library online help available in the
installation directory).
Copy STM8_TSL_RC_Configuration.h to the root of the Include Files directory in
the STVD workspace panel.
All the sources and header files (.c and .h) except for the
STM8_TSL_RC_Configuration_TOADAPT.h (see above) have to be copied from
STM8SDISCOVERY_dev\Libraries\STM8S_TouchSensing_Driver\src and
STM8SDISCOVERY_dev\Libraries\STM8S_TouchSensing_Driver\inc to
Source Files\TSLib and Include Files\TSLib, respectively.
Add the #include <stm8_tsl_rc_api.h> statement in your main.c file.
Doc ID 16499 Rev 3
Section 5.4: Updating the
libraries).
UM0834

Related parts for STM8S-DISCOVERY