UM1037
User manual
STM8L1528-EVAL evaluation board
Introduction
The STM8L1528-EVAL evaluation board is designed as a complete demonstration and
development platform for the STM8 core based STM8L152M8T6 microcontroller with I2C,
two SPI channels 3 USART channels, 12-bit ADC, two 12-bit DACs, LCD driver, internal
4 KByte SRAM, 2 Kbyte data EEPROM and 64 KByte Flash program memory as well as
SWIM debugging support.
The full range of hardware features on the board is provided to help you evaluate all the
MCU peripherals (motor control, USART, microphone, audio DAC, LCD, IR LED, IrDA, SPI
Flash, MicroSD card, temperature sensor, EEPROM… etc.) and develop your own
applications. Extension headers make it possible to easily connect a daughter board or
wrapping board for your specific application.
An ST-LINK/V2 is integrated on the board as embedded in-circuit debugger and
programmer for the STM8 MCU.
Figure 1.
STM8L1528-EVAL evaluation board
December 2010
Doc ID 18294 Rev 1
1/46
www.st.com
Contents
UM1037
Contents
1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1
1.2
1.3
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
2.15
Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
LCD glass module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
RS232 & IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Serial Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.15.1
2.15.2
Run mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Low power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.16
2.17
IR LED & IR receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Touch sensing buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.1
3.2
3.3
3.4
3.5
Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
BNC connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Daughter board extension connector CN3 and CN4 . . . . . . . . . . . . . . . . 19
SWIM connectors CN5 and CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
LCD Glass connector CN6 and CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Doc ID 18294 Rev 1
2/46
UM1037
Contents
3.6
3.7
3.8
3.9
3.10
RS232 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
USB Type B connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
ST-LINK/V2 programming connector CN11 . . . . . . . . . . . . . . . . . . . . . . . 27
Power connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
MicroSD connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix A STM8L1528-EVAL IO pin assignment . . . . . . . . . . . . . . . . . . . . . . . 42
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Doc ID 18294 Rev 1
3/46
Overview
UM1037
1
1.1
Overview
Features
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
Three 5 V power supply options: Power jack, ST-LINK/V2 USB connector or daughter
board
Audio speaker and microphone connected to DAC and ADC of STM8L152M8T6
1G Byte (or more) SPI interface MicroSD card
128 Mbit SPI serial Flash
I
2
C compatible serial interface 64 Kbit EEPROM and SMBus temperature sensor
RS232 communication
IrDA transceiver
Inductor Motor Control connector
SWIM debug support, embedded ST-LINK/V2
122x32 Dot matrix LCD connected to SPI interface of STM8L152M8T6
Joystick with 4-direction control and selector
Reset, Tamper and User button
Two touch-sensing buttons
4 color LEDs and one bi-color LED
MCU consumption measurement circuit
LCD glass (40seg x 8com) connected to STM8L152M8T6’s on-chip LCD driver
Extension connector for daughter board or wrapping board
MCU voltage selectable 3.3 V or adjustable from 1.65 V to 3.6 V
IR LED and receiver
1.2
Demonstration software
Demonstration software is preloaded in the board's Flash memory for easy demonstration of
the device peripherals in stand-alone mode. For more information and to download the
lastest version available, please refer to STM8L1528-EVAL demonstration software
available on the ST website: www.st.com.
1.3
Order code
To order the STM8L152M8T6 MCU evaluation board, use the order code
STM8L1528-EVAL.
4/46
Doc ID 18294 Rev 1
UM1037
Hardware layout and configuration
2
Hardware layout and configuration
The STM8L1528-EVAL evaluation board is designed around the STM8L152M8T6 (80-pin
LQFP package). The hardware block diagram
Figure 2
illustrates the connection between
STM8L152M8T6 and peripherals (LCD glass, dot matrix LCD, serial Flash, EEPROM,
temperature sensor, USART, IrDA, audio, MicroSD card, Motor Control and embedded ST-
LINK/V2) and
Figure 3
will help you locate these features on the actual evaluation board.
Figure 2.
Hardware block diagram
Doc ID 18294 Rev 1
5/46