STM8L1526-EVAL STMicroelectronics, STM8L1526-EVAL Datasheet

BOARD EVAL FOR STM8L152C6

STM8L1526-EVAL

Manufacturer Part Number
STM8L1526-EVAL
Description
BOARD EVAL FOR STM8L152C6
Manufacturer
STMicroelectronics
Series
STM8L EnergyLiter
Type
MCUr
Datasheets

Specifications of STM8L1526-EVAL

Contents
Board
Processor To Be Evaluated
STM8L15x
Data Bus Width
8 bit
Interface Type
RS-232, USB, SPI, USART
Operating Supply Voltage
5 V
Core Architecture
STM8
Core Sub-architecture
STM8
Silicon Core Number
STM8
Silicon Family Name
STM8L1xx
Silicon Manufacturer
ST Micro
For Use With/related Products
STM8L152C6
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-10590

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STM8L1526-EVAL
Manufacturer:
OMRON
Quantity:
30 000
Part Number:
STM8L1526-EVAL
Manufacturer:
ST
0
UM0684
User manual
STM8L1526-EVAL evaluation board
Introduction
The STM8L1526-EVAL evaluation board is a complete demonstration and development
platform for STMicroelectronic's STM8 core-based STM8L152C6 microcontroller which
supports I2C, SPI, USART, 12-bit ADC, 12-bit DAC, LCD driver, 2 KB internal SRAM, 32 KB
EEPROM and SWIM debugging.
The full range of hardware features on the board helps you evaluate all peripherals (motor
control, USART, audio DAC, LCD, IR LED, IrDA, SPI Flash, MicroSD Card, temperature
sensor and EEPROM… etc.) and develop your own applications. Extension headers
facilitate easy connection of a daughterboard or wrapping board for specific applications.
An ST-LINK is integrated on the board as the embedded in-circuit debugger and
programmer for the STM8 MCU.
Figure 1.
STM8L1526-EVAL evaluation board
September 2009
Doc ID 15437 Rev 1
1/46
www.st.com

Related parts for STM8L1526-EVAL

STM8L1526-EVAL Summary of contents

Page 1

... Introduction The STM8L1526-EVAL evaluation board is a complete demonstration and development platform for STMicroelectronic's STM8 core-based STM8L152C6 microcontroller which supports I2C, SPI, USART, 12-bit ADC, 12-bit DAC, LCD driver internal SRAM EEPROM and SWIM debugging. The full range of hardware features on the board helps you evaluate all peripherals (motor control, USART, audio DAC, LCD, IR LED, IrDA, SPI Flash, MicroSD Card, temperature sensor and EEPROM… ...

Page 2

... IR LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.1 RS-232 connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.2 Power connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.3 TFT LCD connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.4 Daughterboard extension connector CN4 and CN10 . . . . . . . . . . . . . . . . 22 3.5 LCD glass connector CN5 and CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.6 Motor control connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2/46 Doc ID 15437 Rev 1 STM8L1526-EVAL ...

Page 3

... ST-LINK programming connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.9 USB type B connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.10 SWIM connector CN12 and CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.11 Audio jack CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.12 MicroSD connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.13 BNC connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Appendix A STM8L1526-EVAL I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Doc ID 15437 Rev 1 Contents 3/46 ...

Page 4

... Demonstration software is preloaded in the board’s Flash memory for easy demonstration of device peripherals in stand-alone mode. For more information and to download the latest version available, please refer to STM8L1526-EVAL demonstration firmware available on web: www.st.com/mcu. 1.3 Order code To order the STM8L152C6 evaluation board, use the order code STM8L1526-EVAL. 4/46 Doc ID 15437 Rev 1 STM8L1526-EVAL ...

Page 5

... STM8L1526-EVAL 2 Hardware layout and configuration The STM8L1526-EVAL evaluation board is designed around the STM8L1526C6T6 (48-pin LQFP package). The hardware block diagram the STM8L152C6 and the peripherals (LCD glass, dot matrix LCD, serial Flash, EEPROM, temperature sensor, USART, IrDA, audio, MicroSD Card, Motor control and embedded ST- LINK) ...

Page 6

... Hardware layout and configuration Figure 3. STM8L1526-EVAL layout CN4, CN10 Extension header U16 STM8L1526 LD6 IR LED U2 IrDA CN1 USART U7 Dot matrix LCD CN2 Power Jack RV1 VDD_Adjustment RV2 Potentiometer 6/46 B1 reset key U17 joystick Doc ID 15437 Rev 1 STM8L1526-EVAL CN7 Motor control CN8 STice ...

Page 7

... STM8L1526-EVAL Figure 4. STM8L1526-EVAL jumpers and solder bridges Hardware layout and configuration Doc ID 15437 Rev 1 7/46 ...

Page 8

... Hardware layout and configuration 2.1 Power supply The STM8L1526-EVAL is designed to be powered power supply and to be protected by PolyZen from a wrong power plug-in event possible to configure the evaluation board to use any of following three power supply sources power adapter connected to CN2, the power jack on the board (power supply unit (PSU) on silk screen) ...

Page 9

... The LCD glass module must be mounted on the "IO" position for MCU power module consumption measurement. Refer to The LED LD8 is lit when the STM8L1526-EVAL evaluation board is powered by the 5 V correctly, the LED LD9 is lit if the MCU is powered by a low voltage (VDD < 1.8 V). Note: ...

Page 10

... Hardware layout and configuration 2.3 Reset source The reset signal of the STM8L1526-EVAL is low active and the reset sources include: Reset button B1 Debugging tools from SWIM connector CN12 and CN16 Daughterboard from CN10 Embedded ST-LINK RS-232 connector CN1 for ISP Table 4. Reset related jumpers ...

Page 11

... Figure 6. LCD glass module in position LCD 2.5 Audio The STM8L1526-EVAL supports: a speaker connected to the DAC output of the STM8L152C6 through an audio amplifier which can be enabled or disabled by setting JP9. The choice between BNC or DAC output on PF0 is done by JP10, refer to a microphone connected to the ADC input of the STM8L152C6 through a microphone amplifier ...

Page 12

... RS-232 and IrDA Both RS-232 and IrDA communication is supported by D-type 9-pin RS-232 connectors CN1 and IrDA transceiver U2 which connect to the USART of the STM8L152C6 on the STM8L1526-EVAL evaluation board. The signal Bootloader_RESET is added on the RS-232 connector for ISP support. RS-232 or IrDA can be selected by setting JP5. ...

Page 13

... STM8L1526-EVAL 2.8 Motor control The STM8L1526-EVAL supports three-phase brushless motor control via a 34-pin connector, CN7, which provides all required control and feedback signals to and from motor power-driving board. Available signals on this connector include emergency stop, motor speed, 3 phase motor current, bus voltage, heat sink temperature coming from the motor driving board and 6 channels of PWM control signal going to the motor driving circuit ...

Page 14

... Hardware layout and configuration Figure 7. STM8L1526-EVAL motor control re-configuration of board 14/46 Doc ID 15437 Rev 1 STM8L1526-EVAL ...

Page 15

... STM8L1526-EVAL 2.9 MicroSD Card The 1 GByte MicroSD Card connected to the SPI port of the STM8L152C6 is available on the board. MicroSD Card detection is managed by standard I/O port, PD6. The LCD glass module must be mounted in the IO position for MicroSD Card. Refer to Chapter 2.4: LCD glass module 2 ...

Page 16

... Development and debug support An embedded ST-LINK, STM8 debugger developed by STMicroelectronics, is available on the STM8L1526-EVAL as the default debugger. Third-party debuggers are also supported by the SWIM connector, CN12, or low-cost SWIM connector, CN16. The SWIM connector or embedded ST-LINK can be enabled by setting jumper JP6. Table 9. ...

Page 17

... The 4-direction joystick (U17) with selection key and general purpose button (B2) are available as input devices. The STM8L1526-EVAL evaluation board also supports a second optional 2.4" TFT LCD that can be mounted on the CN3 connector. The 2.4" TFT LCD is not populated by default. MB542 is the reference of the 2.4" TFT LCD to be connected on CN3. ...

Page 18

... For IDD measurement the circuit shown in EVAL. Figure 8. STM8L1526-EVAL IDD measurement circuit In Run mode, IDD current is measured using MAX9938FEUK+ (U20) connected to the 2ohm shunt resistor. In this case IDD_CNT_EN remains at a high level during measurement and the jumper must be connected between pin 1 and pin 2 of JP11. ...

Page 19

... Comparator noninverting input PD1 connected to the reference capacitor (Cref). One I/O PE0 used as output, connected to the reference resistor (Rref) used to charge Cref. Comparator inverting input used as ADC input PC7 to be connected to the potentiometer. Figure 10. STM8L1526-EVAL low precision ADC based on comparator 1 2 GND Cref ...

Page 20

... LD6 is driven by PA0 through two transistors, T1 and T8, when SB7 is set as pad1 connected to pad2 (default setting). SB7 LD6 is driven by PA0 directly when SB7 is set as pad2 connected to pad3. Note: JP6 needs to be set correspondingly for IR LED, please refer to 20/46 Description Doc ID 15437 Rev 1 STM8L1526-EVAL Table 9 for details. ...

Page 21

... Power connector CN2 The STM8L1526-EVAL evaluation board can be powered from power supply via the external power supply jack (CN2) shown in positive. Figure 12. Power supply connector CN2 viewed from front 3.3 TFT LCD connector CN3 CN3 is used to support TFT color LCD board (MB542 not populated by default. ...

Page 22

... Daughterboard extension connector CN4 and CN10 Two 26-pin male headers CN4 and CN10 can be used to connect the daughterboard or standard wrapping board to the STM8L1526-EVAL evaluation board. All GPI/Os are available on it. The space between these two connectors and position of power, GND and RESET pin are defined as a standard which allows to develop common daughterboards for several evaluation boards ...

Page 23

... Micro SD card_CS Motor control connector (MC_CurrentB Doc ID 15437 Rev 1 Connectors How to disconnect with function block on STM8L1526-EVAL board Set SB2 to close Remove X1 and C30 Set SB1 to close Remove X1 and C38 Remove R75 Remove R58 Disconnect power driver board from Motor control connector ...

Page 24

... MCU_VDD 26 NC Note: All I/O's marked in grey can be disconnected with function block on the STM8L1526-EVAL board by removing LCD glass module (MB821) board. 3.5 LCD glass connector CN5 and CN6 Two 36-pin male headers, CN5 and CN6, can be used to mount the LCD glass module (MB821 ...

Page 25

... PFC SYNC PFC PWM Encoder A Encoder B 3.7 STice connector CN8 The STice can be connected to emulate the STM8L1526-EVAL board. Jumper JP13 must be set to connect pin 2 and 3 when the STice is connected on CN8 used to keep the STM8L152C6 MCU on reset as explained Pin of CN17 pin CN17 pin ...

Page 26

... PA0 PA2 PA4 PA6 GND VDDA VLCD PE1 PE3 PE5 PD1 PD3 PB1 PB3 PB5 PB7 PD4 PD6 PC0 VDD_MCU PC2 PC4 PC6 PE6 NC Doc ID 15437 Rev 1 STM8L1526-EVAL 59 60 Description 2 RESET# 4 PA3 6 PA5 8 PA7 10 VDD_MCU 12 VDDA 14 PE0 16 PE2 18 PE4 20 PD0 22 PD2 ...

Page 27

... STM8L1526-EVAL 3.8 ST-LINK programming connector CN9 The connector CN9 is used only for embedded ST-LINK programming during board manufacture not populated by default and is not intended for the end user. 3.9 USB type B connector CN11 The USB connector CN11 is used to connect embedded ST-LINK to PC for debugging of board ...

Page 28

... Figure 18. Analog input connector CN15 viewed from bottom Table 21. Analog input connector CN15 Pin number 28/46 Description Pin number MicroSDcard_CS (PE3) MicroSDcard_DIN(PB6 ) +3V3 Description Pin number GND GND GND Doc ID 15437 Rev 1 STM8L1526-EVAL Description MicroSDcard_CLK 5 (PB5) 6 Vss/GND MicroSDcard_DOUT(P 7 B7) 8 MicroSDcard_detect 9 (PD6) Description 4 GND 5 Analog input PF0 ...

Page 29

... STM8L1526-EVAL 4 Schematics The schematics are shown on the following pages: Table 19: STM8L1526-EVAL on page 30 Table 20: MCU on page 31 Table 21: LCD glass connector on page 32 Table 22: Audio on page 33 Table 23: Peripherals on page 34 Table 24: Power on page 35 Table 25: Extension and STice on page 36 Table 26: LCD and SD Card on page 37 Table 27: RS-232 and IrDA on page 38 ...

Page 30

... Figure 19. STM8L1526-EVAL U_MCU MCU.SchDoc I2C_SLK U_Extension_STice connector I2C_SDA Extension_STice connector. SCHDOC PC[0..7] PC[0..7] PF0 PF0 Audio_OUT PB[0..7] PB[0..7] U_LCD_Glass PD[0..7] PD[0..7] LCD_Glass.SCHDOC PE[0..7] PE[0..7] PA[0..7] PA[0..7] PA4_LCDCOM0 RESET# PA5_LCDCOM1 EX_PC5 EX_PC5 PA6_LCDCOM2 EX_PC6 EX_PC6 PD1_LCDCOM3 PA7_LCDSEG0 PE0_LCDSEG1 PE1_LCDSEG2 PE2_LCDSEG3 U_ST_LINK PE3_LCDSEG4 ST_LINK ...

Page 31

... I2C_SDA PD7_LCDSEG21 PD6_LCDSEG20 PD5_LCDSEG19 3 PD4_LCDSEG18 2 1 PB7_LCDSEG17 PB6_LCDSEG16 JP10 PB5_LCDSEG15 TP8 PB4_LCDSEG14 AIN+ PB3_LCDSEG13 PB2_LCDSEG12 SB5 R127 0 R126 0 PB1_LCDSEG11 C86 TP5 [N/A] AIN- close to PF0 of MCU STMicroelectronics Title: STM8L1526-EVAL MCU Number: MB818 Rev: C.1(PCB.SCH) Date: 7/31/2009 3 4 Audio_OUT BNC Sheet 2 of ...

Page 32

... IDD_CNT_EN 7 S26 8 LP_WAKEUP 9 S23 10 RS232/IrDA_TX 11 S22 12 RS232/IrDA_RX 13 S19 14 JOY_RIGHT 15 S18 16 JOY_DOWN 17 S15 18 SPI_SCK 19 S14 20 LCD_CS 21 S11 22 MC_PFCpwm 23 S10 24 MC_EnA MC_PFCsync1 MC_CurrentB JOY_SEL JOY_LEFT 33 COM1 34 LED1 35 COM2 36 LED2 Header STMicroelectronics Title: STM8L1526-EVAL LCD Glass connector MB818 C.1(PCB.SCH) Date: 7/31/2009 3 Number: Rev: Sheet of ...

Page 33

... TS461CLT 1 R16 4 RV3 [N/A] C29 R25 R22 2 18K 680 180pF R24 82K C26 2.2uF C13 4.7uF 2 1 U24 1 KDMG15008- Speaker+ TP6 MIC_OUT JP3 R13 0 PB3 Audio_IN 500 C17 [N/A] STMicroelectronics Title: STM8L1526-EVAL Audio Number: MB818 Rev: C.1(PCB.SCH) Date: 7/27/2009 Sheet 4 of ...

Page 34

... U17 R72 5 COMMON 100 VDD 2 Selection PE2 R55 0 PD4 R39 0 3 DWON PE1 R62 0 1 LEFT PD5 R34 0 4 RIGHT PD7 R31 MT008-A STMicroelectronics Title: STM8L1526-EVAL Peripherals Number: MB818 Rev: C.1(PCB.SCH) Date: 7/28/2009 Sheet 100nF LD5 L-317EGW- +5V 300 Bi-color LED C Joystick ...

Page 35

... C22 C23 1 10uF 10uF 100nF TP2 VDD_ADJ U12 +5V LD1086D2M R23 VDD_ADJ 3 2 124[1%] Vin Vout C20 R14 C85 10uF 40.2[1%] C21 1uF 100nF RV1 2 3386P-201H[5%] R125 2K2[1%] STMicroelectronics Title: STM8L1526-EVAL Power Number: MB818 Rev: C.1(PCB.SCH) Date: 7/27/2009 Sheet 3 4 VDD 2 JP1 ...

Page 36

... PE4 15 16 PE5 PE6 17 18 PE7 D5V 19 20 PC3 VLCD VDD PF0 25 26 Header 13X2 on the right Exension connector STMicroelectronics Title: STM8L1526-EVAL Extension&STice Number: MB818 Rev: C.1(PCB.SCH) SB2 PA2 SB1 PA3 PA[0..7] PA[0..7] PB[0..7] PB[0..7] PC[0..7] PC[0..7] PD[0..7] PD[0..7] PE[0..7] PE[0..7] ...

Page 37

... GND 12 GND 13 +3V3 BL_VDD 14 BL_Control 15 BL_GND 16 BL_GND TFT LCD Do not fit 2 10 PD6 SW1 SDcard_detect 9 SW2 Vss 2 Vcc CLK 5 SID ZYMG12232B-GB1 Dot Matrix LCD U18 7 6 HOLD VCC VSS M25P128-VME6G +3V3 STMicroelectronics Title: STM8L1526-EVAL LCD&SDcard Number: MB818 Rev: C.1(PCB.SCH) Date: 7/27/2009 3 4 ...

Page 38

... ST3241EBPR TxD 4 RxD R3 1 Anode (VCC2 Cathode R7 6 VCC1 7 47 Vlogic 8 GND TFDU4300 IrDA 4.7uF 100nF 100nF C14 CN1 100nF DB9-male UART2 DCD 1 6 RXD 2 7 TXD STMicroelectronics Title: STM8L1526-EVAL RS232&IrDA MB818 C.1(PCB.SCH) Date: 7/28/2009 Number: Rev: 9 Sheet of ...

Page 39

... GND 18 R64 GND 20 100K GND 22 GND 24 GND R44 R59 26 PB3 MC_HeatsinkTemperature 28 0 [N/A] Vdd_Micro VDD 30 C52 GND 32 100nF GND 34 Encoder Index R63 PA7 MC_EnIndex 0 C41 [N/A] STMicroelectronics Title: STM8L1526-EVAL Motor Control Number: MB818 Rev: C.1(PCB.SCH) Date: 7/31/2009 3 4 Sheet ...

Page 40

... VDD +3V3 TR2 R112 R113 R114 BSN20 R120 R118 4K7 4K7 4K7 4K7 4K7 G U28 SDA SCL 3 OS/INT 4 G GND 1 3 STLM75M2E S D TR1 BSN20 Temperature sensor 8 VDD C83 A1 5 100nF A2 STMicroelectronics Title: STM8L1526-EVAL EEPROM&TemperatureSensor Number: MB818 Rev: C.1(PCB.SCH) Date: 7/27/2009 ...

Page 41

... VccA VccB 2 7 R121 47 SWIM A1 B1 ST_LINK_SWIM 3 6 SWIM_RST R100 RESET GND DIR SN74LVC2T45DCUT LD7 R103 ST_LINK_LED 510 RED R102 R106 VDD 4K7 4K7 AIN_1 STMicroelectronics Title: STM8L1526-EVAL ST_LINK (SWIM only) Number: MB818 Rev: C.1(PCB.SCH) Date: 7/28/2009 Sheet 3 4 SWIM LED ...

Page 42

... Figure 31. MB821 CN3 Header 18 CN1 Header 18X2 U1 PD878-DP-FH-W-LV-6-RH CN4 Header 18 CN2 Header 18X2 STMicroelectronics Title: STM8L2xx EVAL LCD board Number: MB821 Rev: A.1(PCB.SCH) Date: 9/10/2009 Sheet ...

Page 43

... Bi-color_LED / Motor control connector (MC_UH) IDD_Measurement Motor control connector (Encoder A) Motor control connector (Dissipative brake & PFC PWM) Motor control connector (Encoder B) Audio_ADC_IN / Motor control connector (Heatsink_temperature) Dot-matrix LCD_CS LCD_SDcard_Flash_SCK LCD_SDcard_Flash_MOSI LCD_SDcard_Flash_MISO BNC / Audio_DAC_out Doc ID 15437 Rev 1 STM8L1526-EVAL I/O assignment 43/46 ...

Page 44

... STM8L1526-EVAL I/O assignment Table 22. STM8L1526-EVAL I/O assignment (continued) Pin No. Pin name 33 PD4 34 PD5 35 PD6 36 PD7 37 PC0 38 PC1 39 VDDIO 40 VSSIO 41 PC2 42 PC3 43 PC4 44 PC5 45 PC6 46 PC7 47 PE6 48 PE7 Note: All I/O's marked in grey are shared with LCD glass module. 44/46 STM8L1526-EVAL I/O assignment ...

Page 45

... STM8L1526-EVAL Revision history Table 23. Document revision history Date 10-Sep-2009 Revision 1 Initial release. Doc ID 15437 Rev 1 Revision history Changes 45/46 ...

Page 46

... Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America 46/46 Please Read Carefully: © 2009 STMicroelectronics - All rights reserved STMicroelectronics group of companies www.st.com Doc ID 15437 Rev 1 STM8L1526-EVAL ...

Related keywords