background image

STM8L

152

6-

EVAL

Schematics

Doc 

ID
 1

5437

 R
e

1

3

5

/46

Figure 24.

Power 

1

1

2

2

3

3

4

4

STMicroelectronics

Title:

Number:

Rev:

Sheet       of

C.1(PCB.SCH)

Date:

7/27/2009

Vin

3

GN

D

1

Vout

2

U13
LD1086D2M33

SV

1

SG

2

CV

3

CG1

4

CG2

5

CG3

6

U3

BNX002-01

C8
220uF

E5V

TP4
5V

+5V

R19

1K

1

2

LD8
red

C19
10uF

C22
10uF

C20
10uF

C23
100nF

C21
100nF

+5V

+3V3

VDD_ADJ

+5V

TP1
Ground

TP3
+3V3

TP2
VDD_ADJ

1

3

2

CN2

DC-10B

Z1
SMAJ5.0A-TR

C1
100nF

1

2

3

U5
ZEN056V130A24LS

R23
124[1%]

1

3

2

RV1
3386P-201H[5%]

3

2

1

JP1

VDD

R14
40.2[1%]

Vin

3

AD

J

1

Vout

2

U12
LD1086D2M

E5V

D5V

MB818

6

12

STM8L1526-EVAL Power

IDD_Measurement

IDD_CNT_EN

LP_WAKEUP

2

3

4

5

U25
SN74LVC1G04DCKT

I/O

1

O/I

2

GND

3

C

4

VCC

5

U21

SN74LVC1G66DCKT

VDD

R92

2[1%]

R91

2K[1%]

3

4

5

G

S

D

1

2

6

T3
STT5PF20V

3

4

5

G

S

D

1
2
6

T2

STT5PF20V

4

5

2

3

1

U20
MAX9

VDD

Q11

1

Q12

2

Q13

3

Q5

4

Q4

5

Q6

6

Q3

7

GND

8

Ctc

9

Rtc

10

RS

11

MR

12

Q8

13

Q7

14

Q9

15

VCC

16

U23

74LV4060PW

VDD

VDD

R78
10K

R70

10K

C67
1uF

VDD

VDD_MCU

C66
1nF

R90
15K

R84
30K

Oscillator frequency 30KHz

VDD

R50

0

C59
100nF

PE6

PE7

2

1

4

3

6

5

JP2

Header 3X2

U5V

PD3

1

2

3

JP11

R123

10K

C85
1uF

R125
2K2[1%]

Summary of Contents for STM8L1526-EVAL

Page 1: ...ernal 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 temp...

Page 2: ...IrDA 12 2 8 Motor control 13 2 9 MicroSD Card 15 2 10 Analog input 15 2 11 Serial Flash 15 2 12 Temperature sensor 15 2 13 Development and debug support 16 2 14 Display and input devices 17 2 15 IDD...

Page 3: ...3 8 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 Sche...

Page 4: ...l and selector Reset and User button 4 color LEDs and one bicolor LED MCU consumption measurement circuit LCD glass 28 x 4 segments 7 digits alpha numeric connected to the LCD driver inside the STM8L1...

Page 5: ...d embedded ST LINK Figure 3 and Figure 4 help you locate these features on the actual evaluation board Figure 2 Hardware block diagram LCD Glass module STM8L1526 RS232 transceiver IrDA transceiver 3 3...

Page 6: ...2 IrDA U7 CN1 CN2 RV1 RV2 Potentiometer CN4 CN10 Extension header CN7 Motor control CN13 CN8 STice LCD CN15 BNC CN11 ST LINK CN12 CN13 CN14 B1 reset key B2 user key U17 joystick VDD_Adjustment USB con...

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

Page 8: ...nly JP2 is set as shown to the right For power supply from the daughterboard connectors CN10 to STM8L1526 EVAL only JP2 is set as shown to the right For power supply from ST LINK connector CN11 to STM...

Page 9: ...and PA3 can be used as GPIO on extension connector by closing solder bridges SB1 and SB2 when crystal X1 is removed from it s socket Table 2 MCU power consumption measurement related jumpers Jumper D...

Page 10: ...nected when LCD glass module is mounted on position IO as shown below default setting See Figure 5 Position LCD LCD glass is connected to the LCD driver of the STM8L152C6 and all peripherals shared wi...

Page 11: ...ted to the ADC input of the STM8L152C6 through a microphone amplifier The microphone output can be connected or disconnected to the STM8L152C6 by setting JP3 to closed or open refer to Table 2 for det...

Page 12: ...module must be mounted in the IO position for RS 232 and IrDA Refer to Chapter 2 4 LCD glass module for details Note Hardware flow control is not supported by the RS 232 interface CTS and RTS not mana...

Page 13: ...R42 R31 R34 R62 R39 R55 and R48 all resistors are marked in red in Figure 7 to release I Os used by motor control and shared with another peripherals Remove MicroSD Card from SD Card socket CN14 SD C...

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

Page 15: ...connected to PC7 2 IDD measurement output signal connected to PD3 for MCU power consumption test 3 External ADC input which can be connected to TP8 AIN and TP5 AIN Solder bridge SB5 should be kept on...

Page 16: ...STice connector is available only on the MB818 with an MCU socket Table 9 SWIM debugging related jumper Jumper Description Setting JP6 PA0 is connected to SWIM connector CN12 CN16 and embedded ST LIN...

Page 17: ...e 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 The LCD glass module must be mounted on the IO position for...

Page 18: ...t resistor To measure a current corresponding to the Halt mode the procedure is 1 Configure ADC to measure voltage on IDD_measurement pin 2 Configure PE6 as interrupt input on falling edge 3 Enter in...

Page 19: ...C in Figure 10 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...

Page 20: ...d to charge Cref to the voltage on potentiometer 3 The potentiometer voltage is calculated by software interpolation or using a conversion table 2 17 IR LED One IR LED LD6 is driven by either PA0 thro...

Page 21: ...ia the external power supply jack CN2 shown in Figure 12 The central pin of CN2 must be positive Figure 12 Power supply connector CN2 viewed from front 3 3 TFT LCD connector CN3 CN3 is used to support...

Page 22: ...ow to disconnect with function block on STM8L1526 EVAL board 1 GND 3 PC5 32 kHz crystal Set SB3 to 2 3 5 PC7 Potentiometer Remove R28 7 PD1 CMP_Cref Motor control connector PFC sync Remove R35 9 PD3 I...

Page 23: ...rboard extension connector CN10 Pin Description Alternative function How to disconnect with component on STM8L1526 EVAL board 1 GND 3 PB1 Motor control connector Dissipative brake PFC PWM Disconnect p...

Page 24: ...rd from Motor control connector 4 PB2 Motor control connector Encoder B Disconnect power driver board from Motor control connector 6 PB4 Dot matrix LCD_CS Remove Dot Matrix LCD module 8 PB6 LCD_SDcard...

Page 25: ...Pin of STM8L152C6 CN17 pin CN17 pin Pin of STM8L152C6 Description EMERGENCY STOP PD6 1 2 GND PWM UH PD2 3 4 GND PWM UL PD7 5 6 GND PWM VH PD4 7 8 GND PWM VL PE1 9 10 GND PWM WH PD5 11 12 GND PWM WL P...

Page 26: ...umber Description 1 PA0 2 RESET 3 PA2 4 PA3 5 PA4 6 PA5 7 PA6 8 PA7 9 GND 10 VDD_MCU 11 VDDA 12 VDDA 13 VLCD 14 PE0 15 PE1 16 PE2 17 PE3 18 PE4 19 PE5 20 PD0 21 PD1 22 PD2 23 PD3 24 PB0 25 PB1 26 PB2...

Page 27: ...NK to PC for debugging of board Figure 15 USB type B connector CN11 viewed from the front 3 10 SWIM connector CN12 and CN16 Figure 16 SWIM debugging connector CN16 viewed from the above 3 11 Audio jac...

Page 28: ...connector CN15 viewed from bottom Table 20 MicroSD connector CN14 Pin number Description Pin number Description 1 5 MicroSDcard_CLK PB5 2 MicroSDcard_CS PE3 6 Vss GND 3 MicroSDcard_DIN PB6 7 MicroSDca...

Page 29: ...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...

Page 30: ...LED1 LED2 JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP User_Button BiD_LED CMP_Cref CMP_Rref IR_LED U_Peripherals Peripherals SchDoc IDD_Measurement IDD_CNT_EN LP_WAKEUP U_Power Power SchDoc RS232 IrDA_...

Page 31: ...OM1 PA6_LCDCOM2 PA7_LCDSEG0 PE0_LCDSEG1 PE1_LCDSEG2 PE2_LCDSEG3 PE3_LCDSEG4 PE4_LCDSEG5 PE5_LCDSEG6 PD0_LCDSEG7 PD1_LCDCOM3 PD2_LCDSEG8 PD3_LCDSEG9 PB0_LCDSEG10 PB3_LCDSEG13 PB2_LCDSEG12 PB1_LCDSEG11...

Page 32: ...PD3_LCDSEG9 PB0_LCDSEG10 S2 31 S3 29 S6 27 S7 25 S10 23 S11 21 S14 19 S15 17 S18 15 S19 13 S22 11 S23 9 S26 7 S27 5 S30 3 S31 1 COM1 33 COM2 35 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 CN6 He...

Page 33: ...3V3 C43 470nF R33 22K R36 22K C45 330pF C28 1uF TP6 MIC_OUT TP7 MIC R15 1K R12 100 R11 2 2K C11 47pF VDD R20 15K 1 3 2 RV3 N A Speaker Speaker 1 10 2 CN13 ST 613 C17 N A R16 0 R13 500 Audio_OUT Audio...

Page 34: ...IGHT 4 UP 6 U17 MT008 A R31 0 R34 0 R62 0 R39 0 R55 0 JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP Joystick R79 4K7 1 4 3 2 B2 USER Blue C79 100nF VDD R104 100 R66 0 User_Button User Button BiD_LED 1 2...

Page 35: ...3 2 RV1 3386P 201H 5 3 2 1 JP1 VDD R14 40 2 1 Vin 3 ADJ 1 Vout 2 U12 LD1086D2M E5V D5V MB818 6 12 STM8L1526 EVAL Power IDD_Measurement IDD_CNT_EN LP_WAKEUP 2 3 4 5 U25 SN74LVC1G04DCKT I O 1 O I 2 GND...

Page 36: ...8 7 STM8L1526 EVAL Extension STice 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58...

Page 37: ...VS 1 CS 2 DI 3 Vdd 4 SCLK 5 Vss 6 DO 7 RVS 8 SW2 9 SW1 10 G1 G2 G3 G4 CN14 PJS008 2000 SMS064FF or SMS128FF SDcard_detect MicroSD card Dot Matrix LCD 3V3 3V3 C56 100nF HOLD 7 VCC 8 S 1 Q 2 W 3 VSS 4 D...

Page 38: ...0 R3 5 R7 47 C5 100nF C6 100nF 3V3 C7 4 7uF C2 4 7uF IrDA 1 2 3 JP5 C2 1 C2 2 V 3 R1IN 4 R2IN 5 R3IN 6 R4IN 7 R5IN 8 T1OUT 9 T2OUT 10 T3OUT 11 T3IN 12 T2IN 13 T1IN 14 R5OUT 15 R4OUT 16 R3OUT 17 R2OUT...

Page 39: ...7 PFC PWM 29 Encoder A 31 Encoder B 33 GND 2 GND 4 GND 6 GND 8 GND 10 GND 12 BUS VOLTAGE 14 GND 16 GND 18 GND 20 GND 22 GND 24 Heatsink Temperature 26 Vdd_Micro 28 GND 30 GND 32 Encoder Index 34 CN7 M...

Page 40: ...SS 4 SDA 5 SCL 6 WC 7 VCC 8 U29 M24C64 FDW5TP R119 10K JP14 VDD I2C_SLK I2C_SDA R116 0 R115 0 C84 100nF EEPROM SDA 1 SCL 2 OS INT 3 GND 4 A2 5 A1 6 A0 7 VDD 8 U28 STLM75M2E 3V3 VDD R120 4K7 R118 4K7 C...

Page 41: ...2 D 3 GND 4 SHELL 0 SHELL 0 CN11 USB typeB connector U5V USB_DM USB_DP USB_DM USB_DP STM_RST T_JTCK T_JTCK T_JTDO T_JTDI T_JTMS 3V3 STM_JTMS STM_JTCK STM_JTDI STM_JTDO STM_JRST 3V3 C78 100nF C81 100n...

Page 42: ...S24 3 S25 4 S26 33 S27 34 S28 1 S29 2 S30 35 S31 36 COM1 20 COM2 19 COM3 18 COM4 17 U1 PD878 DP FH W LV 6 RH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 CN3 Header 18 1 2 3 4 5 6 7 8 9 10 11 12 13 1...

Page 43: ...ref Motor control connector NTC_bypass 15 PE1 Joystick_Left Motor control connector MC_VL 16 PE2 Joystick_sel Motor control connector MC_WL 17 PE3 Micro SD card_CS 18 PE4 Serial Flash_CS 19 PE5 Motor...

Page 44: ...tor control connector EmergencySTOP SDcard_detect 36 PD7 Joystick_up Motor control connector MC_UL 37 PC0 I C SDA 38 PC1 Key Button I C SCL 39 VDDIO VDD_MCU 40 VSSIO GND 41 PC2 UART_IrDA_RX 42 PC3 UAR...

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

Page 46: ...ED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT...

Reviews: