background image

UM1521

Hardware layout and configuration

Doc ID 022868 Rev 1

15/56

         

         

Table 11.

LCD glass segments mapping table pins 25-36

Pin

25

26

27

28

29

30

31

32

33

34

35

36

COM1 7J

7N

7E

6J

6N

6E

5N

5E

4J

4N

4E

3J

COM2 7C

7M

P6

6C

6M

P5

5M

P4

4C

4M

P3

3C

COM3 7B

7H

7F

6B

6H

6F

5H

5F

4B

4H

4F

3B

COM4 7I

7A

7G

6I

6A

6G

5A

5G

4I

4A

4G

3I

COM5 19a

18a

17a

16a

15a

14a

12a

11a

10a

9a

8a

7a

COM6 19b

18b

17b

16b

15b

14b

12b

11b

10b

9b

8b

7b

COM7 S

7D

Q6

O4

6D

Q5

5D

Q4

µA

4D

Q3

C4

COM8 nA

7K

7L

O3

6K

6L

5K

5L

mA

4K

4L

C3

Table 12.

LCD glass segments mapping table pins 37-48

Pin

37

38

39

40

41

42

43

44

45

46

47

48

COM1 3N

3E

2J

2N

2E

1J

1N

1E

    

COM2 3M

P2

2C

2M

P1

1C

1M

+

    

COM3 3H

3F

2B

2H

2F

1B

1H

1F

    

COM4 3A

3G

2I

2A

2G

1I

1A

1G

    

COM5 6a

5a

4a

3a

2a

1a

S3

S1

COM5    

COM6 6b

5b

4b

3b

2b

1b

S4

S2

 COM6   

COM7 3D

Q2

C1

2D

Q1

S5

1D

-

  COM7  

COM8 3K

3L

C2

2K

2L

S6

1K

1L

   COM8

www.BDTIC.com/ST

Summary of Contents for STM32L152D-EVAL

Page 1: ...ard can be used as reference design for user application development but it is not considered as final application The full range of hardware features on the board helps you evaluate all peripherals U...

Page 2: ...eset source 11 2 5 Boot option 12 2 6 LCD glass module 13 2 7 Audio 17 2 8 USB 17 2 9 RS 232 and IrDA 17 2 10 Touch sensing slider 19 2 11 MicroSD Card 19 2 12 Serial EEPROM 20 2 13 RF EEPROM 20 2 14...

Page 3: ...mming connector CN9 31 3 7 ST LINK V2 USB type B connector CN14 31 3 8 JTAG connector CN16 31 3 9 Trace debugging connector CN11 32 3 10 Audio jack CN13 32 3 11 MicroSD connector CN3 33 3 12 Analog in...

Page 4: ...r user LEDs and 3 LEDs as MCU power range indicator MCU consumption measurement circuit LCD glass 40 x 8 segments connected to LCD driver of STM32L152ZDT6 Extension connector for daughterboard or wrap...

Page 5: ...the board is extracted from its plastic bag please check that no component remains in the bag The main components to verify are 1 The 8 MHz crystal X1 which may have been removed by a shock from its s...

Page 6: ...nd embedded ST LINK and Figure 3 will help you locate these features on the actual evaluation board Figure 2 Hardware block diagram 3 6 0 OMPARATOR 43 CONTROLLER 53 3 3 3 53 24 30 4 0OTENTIOMETER OYST...

Page 7: ...SS DAUGHTER BOARD CONNECTOR 53 3 2 2 4 UDIO JACK 6 RANGE S XTENSION CONNECTION HEADER TRACE 5 ICROPHONE 5 34 4 53 24 5 R ICRO3 ARD OLOR 0OWER JACK 26 6 ADJUSTMENT 26 POTENTIOMETER 4AMPER EY BUTTON 2ES...

Page 8: ...the PC via a standard USB cable connected to connector CN14 The bicolor LED LD5 COM advises on the communication status as follows Slow blinking Red LED Off At power on before USB initialization Fast...

Page 9: ...board is powered by 5 V correctly Red LED LD8 is lit when the MCU is powered by low voltage VDD 1 8 V Yellow LED LD7 is lit when the MCU is powered by voltage 1 8 V VDD 2 2 V Green LED LD6 is lit when...

Page 10: ...JP5 VDD is connected to fixed 3 3 V DC power when JP5 is set as shown to the right Default setting VDD is connected to adjustable DC power from 1 65 V to 3 6 V when JP5 is set as shown to the right J...

Page 11: ...PH1 is connected to 8 MHz crystal when SB1 is open Default setting PH1 is connected to extension connector CN10 when SB1 is closed In such case R51 must be removed to avoid disturbance due to the 8Mhz...

Page 12: ...Switch configuration SW1 and SW2 STM32L152D EVAL boots from user Flash when SW1 is set as shown to the right SW2 is don t care in this configuration Default setting 0 1 STM32L152D EVAL boots from embe...

Page 13: ...sition LCD When the LCD glass module is mounted on position IO see Figure 4 all peripherals memories USART audio EEPROM potentiometer MicroSD Card microphone etc shared with the LCD glass are connecte...

Page 14: ...e 9 LCD glass segments mapping table pins 1 12 Pin 1 2 3 4 5 6 7 8 9 10 11 12 COM1 COM1 1g 2g 3g 4g 5g 6g 7g 8g COM2 COM2 1h 2h 3h 4h 5h 6h 7h 8h COM3 COM3 1i 2i 3i 4i 5i 6i 7i 8i COM4 COM4 1j 2j 3j 4...

Page 15: ...9a 18a 17a 16a 15a 14a 12a 11a 10a 9a 8a 7a COM6 19b 18b 17b 16b 15b 14b 12b 11b 10b 9b 8b 7b COM7 S 7D Q6 O4 6D Q5 5D Q4 A 4D Q3 C4 COM8 nA 7K 7L O3 6K 6L 5K 5L mA 4K 4L C3 Table 12 LCD glass segment...

Page 16: ...Hardware layout and configuration UM1521 16 56 Doc ID 022868 Rev 1 Figure 6 LCD segment names www BDTIC com ST...

Page 17: ...nection simulation can be implemented by controlling the internal 1 5 K pull up resistor on USB line and detection of 5 V power on USB connector CN15 by using a resistor bridge connected to PE6 USB wi...

Page 18: ...The LCD glass module has to be mounted on IO position for USART1 usage Refer to Section 2 6 LCD glass module for detail Table 14 RS 232 IrDA related jumpers Jumper Description Setting JP4 USART1_RX i...

Page 19: ...dge Description SB3 PF9 is connected to sampling capacitor when SB3 is open Default setting PF9 is connected to extension connector CN10 when SB3 is closed In this case C54 must be removed to avoid di...

Page 20: ...LCD glass module has to be mounted on IO position for RF EEPROM usage Refer to Section 2 6 LCD glass module for detail 2 14 SRAM 512Kx16 bit SRAM is connected to bank2 of the FSMC interface and both...

Page 21: ...connected to PF11 for MCU power consumption test 2 17 Comparator Three I Os implement a comparator feature as shown in Figure 8 Comparator non inverting input PB4 connected to LDR R157 Comparator inv...

Page 22: ...Potentiometer RV3 is connected to ADC input PF10 used as ADC input when JP13 is set as shown to the right Default setting PF10 PB3 PB5 Potentiometer RV3 used as LDR variable threshold input is connect...

Page 23: ...are the 4 direction joystick U23 with selection key and wakeup button B2 Table 20 LCD modules Pin Description Pin connection 1 CS CS of Bank3 of FSMC 2 RS FSMC_A0 3 WR SCL FSMC_NWE 4 RD FSMC_NOE 5 RE...

Page 24: ...connected to the 1 KOhm shunt resistor R81 controlled by the analog switch T1 In this case the counter 74HC4060 U15 enabled by IDD_CNT_EN manages the measurement timing according to Figure 10 The prin...

Page 25: ...er JP10 from pins 1 and 2 and place it on pins 2 and 3 4 Follow the Low power mode procedure to measure I2 IDD I bias 5 Calculate actual IDD IDD I2 I1 If JP10 jumper is in pins 2 3 STM32L is powered t...

Page 26: ...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 CN4 A TFT color LCD board MB8...

Page 27: ...ajority of evaluation boards Each pin on CN5 and CN10 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM32L152D EVAL evaluation board Refer to Table...

Page 28: ...15 FSMC_D12 E2P_ MOSI Remove R120 42 3 3 If use 3 3 V power keep R24 mounting Table 23 Daughterboard extension connector CN10 Pin Description Alternative function How to disconnect with function block...

Page 29: ...ve R67 8 PG12 LCD_EBAR3 10 GND 12 PG11 JOYSTICK_UP Remove R119 14 PG9 CS_NOR_EBAR1 Remove R31 16 PD6 FSMC_WAITN 18 PD4 FSMC_OEN 20 PD3 LED1 Remove R74 22 PD0 FSMC_D2 24 VDD 26 PH1 OSC_OUT Remove X1 fr...

Page 30: ...tested on odd pins when the LCD glass board is absent Signal assignments are detailed in Table 24 Note If CN6 and CN7 are used as GPIO extension connector on a common daughterboard do not connect odd...

Page 31: ...used to connect the embedded ST LINK V2 to a PC for debugging the board Figure 13 USB type B connector CN14 viewed from front 3 8 JTAG connector CN16 Figure 14 JTAG debugging connector CN16 viewed fr...

Page 32: ...d 13 PB3 14 GND 15 RESET 16 GND 17 DBGRQ 18 GND 19 DBGACK 20 GND Table 26 JTAG debugging connector CN16 continued Pin Description Pin Description Table 27 Trace debugging connector CN11 Pin Descriptio...

Page 33: ...Analog input output connector CN8 viewed from top Table 28 MicroSD connector CN3 Pin Description Pin Description 1 SDIO_D2 PC10 6 Vss GND 2 SDIO_D3 PC11 7 SDIO_D0 PC8 3 SDIO_CMD PD2 8 SDIO_D1 PC9 4 V...

Page 34: ...3 14 RF EEPROM daughterboard connector CN12 Figure 19 RF EEPROM daughterboard connector CN12 viewed from front Table 30 USB type B connector CN15 Pin Description Pin Description 1 VBUS power 4 GND 2 D...

Page 35: ...E_D2 TRACE_D1 TRACE_D0 TRACE_CK TRST TMS SWDIO TCK SWCLK TDO SWO U_JTAG Trace JTAG Trace SchDoc MicroSDCard_CLK MicroSDCard_CMD MicroSDCard_D0 MicroSDCard_D1 MicroSDCard_D2 MicroSDCard_D3 MicroSDCard_...

Page 36: ...TA 4 VP 5 SPKR_OUTA 6 SPKR_OUTB 7 VP 8 SPKR_OUTB 9 VHPFILT 10 FLYN 11 FLYP 12 VHP 13 HP LINE_OUTB 14 HP LINE_OUTA 15 VA 16 AGND 17 FILT 18 VQ 19 TSTO 20 AIN4A 21 AIN4B 22 AIN3A 23 AIN3B 24 AIN2A 25 AI...

Page 37: ...PD5 PD6 PD7 RESET SB8 SB7 close to MCU Open by default PH 0 2 PH 0 2 PH2 PH0 PH1 SB2 SB1 close to MCU Open by default VLCD D5V PF0 PF1 PF2 PF3 PF4 PF5 PF10 PF11 PF12 PF13 PF14 PF15 PG0 PG1 PG2 PG3 PG...

Page 38: ...C 5 U22 SN74LVC1G66DCKT VDD R62 1 1 R81 1K 1 3 4 5 G S D 1 2 6 T1 FDC606P 3 4 5 G S D 1 2 6 T2 FDC606P 4 5 2 3 1 U19 MAX9938FEUK VDD Q11 1 Q12 2 Q13 3 Q5 4 Q4 5 Q6 6 Q3 7 GND 8 Ctc 9 Rtc 10 RS 11 MR 1...

Page 39: ...7 18 19 20 CN11 FTSH 110 01 L DV VDD R145 N A R134 N A R141 N A R154 N A R144 N A VDD 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 CN16 JTAG VDD VDD R140 10K R138 10K R143 10K R142 0 R133 N A R1...

Page 40: ...T245 A1 A1 PF0 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 18 R1OUT 19 R2OUTB 20 R1OUTB 21 nSHDN 22 nEN 23 C1 24...

Page 41: ...5 110 PD0 114 PD1 115 PD2 116 PD3 117 PD4 118 PD5 119 PD6 122 PD7 123 PB3 133 PB4 134 PB5 135 PB6 136 PB7 137 BOOT0 138 PB8 139 PB9 140 PE0 141 PE1 142 PC13 WKUP2 7 PC14 OSC32_IN 8 PC15 OSC32_OUT 9 PC...

Page 42: ...64 STM32L152D EVAL MicroSDcard MicroSD card VDD MicroSDCard_CLK MicroSDCard_CMD SDC 2GB or more 1 2 3 4 5 6 7 8 SW2 9 SW1 10 CN3 PJS008 2000 MicroSDCard_D0 MicroSDCard_D1 MicroSDCard_D2 MicroSDCard_D3...

Page 43: ...JOY_LEFT JOY_RIGHT JOY_UP Joystick WKUP TAMPER Button LEDs USB LDR_OUT R155 8 2K VDD 3V3 R49 1K 1 R54 1K2 1 3V3 1 2 LD8 Red R57 510 3V3 Low Voltage LED PB4 PF10 PD3 PD7 PG14 PG15 PG11 PG7 PG6 PG8 PG1...

Page 44: ...65V to 3 5V Vin 3 Vout 2 1 U6 LD1117S25TR 5V C18 10uF 2V5 TP8 2V5 L3 BEAD C30 1uF C52 100nF VDDA VDD_MCU VREF VREF C49 100nF TP6 VREF VDD_MCU C66 1uF VLCD VLCD 6 VSS_5 16 VDD_5 17 VSSA 30 VREF 31 VREF...

Page 45: ...O6 F6 I O7 G6 WE G5 A16 E4 A15 F4 A14 F3 A13 G4 A12 G3 A11 H5 A10 H4 A9 H3 A8 H2 I O8 B1 I O9 C1 I O10 C2 I O11 D2 VCC E1 I O12 E2 I O13 F2 I O14 F1 I O15 G1 BLE A1 BHE B2 OE A2 A7 D4 A6 C4 A5 C3 A17...

Page 46: ..._DM STL_USB_DP STM_RST T_JTCK T_JTCK T_JTDO T_JTDI T_JTMS STM_JTMS_SWDIO STM_JTCK_SWCLK LED_STLINK OSC_IN OSC_OUT T_NRST T_JRST LED_STLINK T_JTCK T_JTDI T_JTDO T_NRST T_JTMS T_JRST R111 4K7 R98 4K7 AI...

Page 47: ...58 4K7 R163 4K7 C86 100nF 2 1 3 G S D TR2 FDN327N 2 1 3 G S D TR1 FDN327N R156 4K7 R162 4K7 R100 4K7 R93 0 Temperature sensor Temp_SMB MB964 9 STM32L152D EVAL TemperatureSensor RF E2PROM SPI Flash PB9...

Page 48: ...STM32L152D EVAL Touch Slider CT11_2 CT11_3 SHIELD_CT6_3 CT6_4 R101 0 PF7 PF8 PB6 PB7 ESD resistor close to MCU pad Active shield CT11_1 PF6 DB_PF8 DB_PF7 DB_PF6 CT11_4 C54 47nF COG GRM31M5C1H473JA01L...

Page 49: ...CED3 WKUP3 U5V_DET 6 VLCD V_LCD 7 PC13ANTI_TAMP IDD_CNT_EN 8 PC14OSC32_IN OSC32_IN 9 PC15OSC32_OUT OSC32_OUT 10 PF0 A0 11 PF1 A1 12 PF2 A2 13 PF3 A3 14 PF4 A4 15 PF5 A5 16 VSS_5 GND 17 VDD_5 VDD 18 PF...

Page 50: ...J_G_OA2_INP 43 PA7 SEG4 ADJ_G_OA2_INN 44 PC4 SEG22 45 PC5 SEG23 E2P_CS 46 PB0 SEG5 ADJ_G_OA2_OUT 47 PB1 SEG6 Audio_DAC_RST 48 PB2 BOOT1 49 PF11 IDD_ADC_IN1b 50 PF12 A6 51 VSS_6 GND 52 VDD_6 VDD 53 PF1...

Page 51: ...6 81 PD12 SEG32 A17 82 PD13 SEG33 A18 83 VSS_8 GND 84 VDD_8 VDD 85 PD14 SEG34 D0 86 PD15 SEG35 D1 87 PG2 A12 88 PG3 A13 89 PG4 A14 90 PG5 A15 91 PG6 JOYSTICK_LEFT 92 PG7 JOYSTICK_RIGHT 93 PG8 JOYSTICK...

Page 52: ...G43 uSD_CMD 117 PD3 LED1 118 PD4 OEN 119 PD5 WEN 120 VSS_10 GND 121 VDD_10 VDD 122 PD6 WAITN 123 PD7 LED2 124 PG9 CS_NOR_EBAR1 125 PG10 CS_RAM_EBAR2 126 PG11 JOYSTICK_UP 127 PG12 LCD_EBAR3 128 PG13 JO...

Page 53: ...56 138 BOOT0 BOOT0 139 PB8 SEG16 AUDIO_RF_Temp_SCL 140 PB9 COM3 AUDIO_RF_Temp_SDA 141 PE0 SEG36 BLN0 142 PE1 SEG37 BLN1 143 VSS_3 GND 144 VDD_3 VDD Table 32 STM32L152D EVAL I O assignment continued Pi...

Page 54: ...ension z y W W W Y Y Y D D 3 6 Table 33 Mechanical dimensions Symbol Size mm Symbol Size mm Symbol Size mm A 68 58 e 72 363 P2 84 455 a1 2 54 H 11 P3 115 247 a2 2 54 h 12 Q1 24 13 a3 2 54 Lx 5 715 Q2...

Page 55: ...UM1521 Revision history Doc ID 022868 Rev 1 55 56 Revision history Table 34 Document revision history Date Revision Changes 30 Mar 2012 1 Initial release www BDTIC com ST...

Page 56: ...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 UNLESS EXPRES...

Reviews: