Sign In
Upload
Manuals
Brands
ST Manuals
Microcontrollers
STM8L
ST STM8L Manuals
Manuals and User Guides for ST STM8L. We have
1
ST STM8L manual available for free PDF download: Application Note
ST STM8L Application Note (42 pages)
Brand:
ST
| Category:
Microcontrollers
| Size: 1 MB
Table of Contents
Table of Contents
2
Hardware Requirements Summary
6
Power Supply
6
Power Supply Overview
6
Main Operating Voltages
7
Figure 1. Power Supply
7
Power-On/Power-Down Reset (POR/PDR)
8
Figure 2. Typical Layout of V
8
DD /VSS Pair
8
Analog-To-Digital Converter (ADC)
9
Analog Power
9
Analog Input
9
Figure 3. Analog Input Interface
9
Clock Management
10
Clock Management Overview
10
Internal Clocks
10
External Clock
10
HSE Clock
10
Figure 4. HSE Clock Sources
11
LSE Clock
12
Figure 5. External Clock
12
Figure 6. Crystal/Ceramic Resonators
13
Reset Control
14
Reset Management Overview
14
Figure 7. Reset Management
14
Figure 8. Output Characteristics
15
Figure 9. Input Characteristics
15
Input Characteristics
15
Output Characteristics
15
Hardware Reset Implementation
16
Recommendations
17
Printed Circuit Board
17
Component Position
17
Ground and Power Supply (VSS , VDD )
17
Decoupling
17
Other Signals
18
Unused I/Os and Features
18
User Options
18
Bootloader
18
Reference Design
19
Component References
19
Table 2. Component List
19
Schematics
20
Figure 10. Reference Design
20
STM8 Development Tools
21
Single Wire Interface Module (SWIM)
21
SWIM Overview
21
Figure 11. Debug System Block Diagram
21
SWIM Connector Pins
22
Hardware Connection
22
Table 3. SWIM Connector Pins
22
Figure 12. Hardware Connection
22
Stice Emulator
23
Stice Overview
23
Figure 13. Connection Description
23
Stice in Emulation Configuration
24
Figure 14. Stice in Emulation Configuration
24
In-Circuit Programming and Debugging
25
Rlink and Stlink
25
Figure 15. In-Circuit Programming and Debugging
25
STM8 Software Toolchain
26
Figure 16. STM8 Software Toolchain
26
Integrated Development Environment
27
Compiler
27
Firmware Library
27
Setting up the STM8 Development Environment
28
Installing the Tools
28
Using the Tools
29
Figure 17. STVD Open Example Workspace
29
Figure 18. STVD MCU Edit Mode
30
Project Editing
30
Figure 19. STM8 Firmware Library Online Help Manual
31
Online Help
31
Running the Demonstration Software
32
Compiling the Project
32
Figure 20. STVD: Building the Project
32
Selecting the Correct Debug Instrument
33
Figure 21. STVD: Selecting the Debug Instrument
33
Connecting the Hardware
34
Figure 22. Connecting the Debug Instrument to the STM8L101-EVAL Evaluation Board
34
Figure 23. Connecting the Debug Instrument to the Stm8L152X-EVAL Evaluation Board
35
Starting the Debug Session
36
Figure 24. STVD: Starting the Debug Session
36
Running the Software
37
Figure 25. STVD: Run the Software
37
Follow up
38
Figure 26. STM8 Evaluation Board
38
Documentation and Online Support
39
Revision History
40
Table 4. Document Revision History
40
Table 1. Applicable Products
41
Advertisement
Advertisement
Related Products
ST STM8L-DISCOVERY
ST STM8S
ST STM8A
ST STM8A-DISCOVERY
ST STM8AL
ST STM8AF Series
ST STM8AF614 Series
ST STM8AF612 Series
ST STM8AF624 Series
ST STM8AF52 Series
ST Categories
Motherboard
Computer Hardware
Microcontrollers
Control Unit
Controller
More ST Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL