Page 1
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.
STM8L1526-EVAL Features Hardware Three 5 V power supply options: power jack, ST-LINK USB connector or daughterboard Audio speaker and microphone connected to the DAC and ADC of the STM8L152C6 1 GByte SPI interface MicroSD Card 128 Mbit SPI serial Flash...
LQFP package). The hardware block diagram Figure 2 illustrates the connection between 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). Figure 3 Figure 4 help you locate these features on the actual evaluation board.
Page 6
Hardware layout and configuration STM8L1526-EVAL Figure 3. STM8L1526-EVAL layout CN4, CN10 Extension header CN7 Motor control STM8L1526 CN8 STice connector LD6 IR LED glass module U2 IrDA CN15 BNC connector CN11 ST-LINK USART USB connector CN12 & CN13 SWIM connector...
Page 7
STM8L1526-EVAL Hardware layout and configuration Figure 4. STM8L1526-EVAL jumpers and solder bridges Doc ID 15437 Rev 1 7/46 Downloaded from Elcodis.com electronic components distributor...
STM8L1526-EVAL Power supply The STM8L1526-EVAL is designed to be powered by a 5 V DC power supply and to be protected by PolyZen from a wrong power plug-in event. It is possible to configure the evaluation board to use any of following three power supply sources.
Section 2.4: LCD glass module for details. 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).
Hardware layout and configuration STM8L1526-EVAL 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.
Figure 6. LCD glass module in position LCD 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...
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.
Hardware layout and configuration 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 STM8L1526-EVAL Figure 7. STM8L1526-EVAL motor control re-configuration of board 14/46 Doc ID 15437 Rev 1 Downloaded from Elcodis.com electronic components distributor...
STM8L1526-EVAL Hardware layout and configuration 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...
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. SWIM debugging related jumper...
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.
STM8L1526- 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.
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 COMP2 CMP_Rref COMP2A...
Hardware layout and configuration STM8L1526-EVAL The measurement is performed in three steps: Internal reference voltage VREFINT is connected to the comparator inverting input and Cref to noninverting input to measure the time required to charge the capacitor to internal reference voltage VREFINT by PE0 used as output through Rref.
Bootloader_RESET RS232_RX (PC2) RS232_TX (PC3) Power connector CN2 The STM8L1526-EVAL evaluation board can be powered from a DC 5 V power supply via the external power supply jack (CN2) shown in Figure 12. The central pin of CN2 must be positive.
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
Connectors Table 14. Daughterboard extension connector CN4 (continued) How to disconnect with function Pin Description Alternative function block on STM8L1526-EVAL board Set SB2 to close 16MHZ crystal Remove X1 and C30 Set SB1 to close 16MHZ crystal Remove X1 and C38...
UART_IrDA_TX MCU_VDD 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. LCD glass connector CN5 and CN6 Two 36-pin male headers, CN5 and CN6, can be used to mount the LCD glass module (MB821) on it.
Encoder Index 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. It is used to keep the STM8L152C6 MCU on reset as explained in Section 2.3: Reset...
Page 26
Connectors STM8L1526-EVAL Figure 14. STice debugging connector CN8 viewed from above Table 17. STice debugging connector CN8 Pin number Description Pin number Description RESET# VDD_MCU VDDA VDDA VLCD VDD_MCU 49-60 26/46 Doc ID 15437 Rev 1 Downloaded from Elcodis.com electronic components distributor...
It is not populated by default and is not intended for the end user. USB type B connector CN11 The USB connector CN11 is used to connect embedded ST-LINK to PC for debugging of board. Figure 15. USB type B connector CN11 viewed from the front Table 18.
STM8L1526-EVAL Schematics 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...
STM8L1526-EVAL STM8L1526-EVAL I/O assignment Appendix A STM8L1526-EVAL I/O assignment Table 22. STM8L1526-EVAL I/O assignment Pin No. Pin name STM8L1526-EVAL I/O assignment SWIM / IR_LED RESET button 16MHZ crystal 16MHZ crystal LED1 / Motor control connector (Current A) LED2 / Motor control connector (Bus voltage)
Page 44
STM8L1526-EVAL I/O assignment STM8L1526-EVAL Table 22. STM8L1526-EVAL I/O assignment (continued) Pin No. Pin name STM8L1526-EVAL I/O assignment Joystick_down / Motor control connector (MC_VH) Joystick_right / Motor control connector (MC_WH) Motor control connector (EmergencySTOP) / SDcard_detect Joystick_up / Motor control connector (MC_UL) I²C SDA...
STM8L1526-EVAL Revision history Revision history Table 23. Document revision history Date Revision Changes 10-Sep-2009 Initial release. Doc ID 15437 Rev 1 45/46 Downloaded from Elcodis.com electronic components distributor...
Page 46
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
Need help?
Do you have a question about the STM8L1526-EVAL and is the answer not in the manual?
Questions and answers