39
April 2013 DocID018789 Rev 3 1/39 UM1079 User manual STM32L1 discovery kits: STM32L-DISCOVERY and 32L152CDISCOVERY Introduction The STM32L-DISCOVERY (order code STM32L-DISCOVERY) and the 32L152CDISCOVERY (order code STM32L152C-DISCO) help you to discover the STM32L ultra low power features and to develop and share your applications. The STM32L- DISCOVERY and 32L152CDISCOVERY are based on an STM32L152RBT6 (128 Kbytes of Flash memory) and an STM32L152RCT6 (256 Kbytes of Flash memory), respectively. They include an ST-LINK/V2 embedded debug tool interface, LCD (24 segments, 4 commons), LEDs, pushbuttons, a linear touch sensor, and four touchkeys. In this document, STM32L1 discovery refers both to the STM32L-DISCOVERY and to the 32L152CDISCOVERY. STM32L-DISCOVERY and 32L152CDISCOVERY kits are functionally equivalent. The difference is the internal Flash memory size (128 Kbytes or 256 Kbytes). Figure 1. STM32L1 discovery board www.st.com

STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

  • Upload
    trannhi

  • View
    243

  • Download
    4

Embed Size (px)

Citation preview

Page 1: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

April 2013 DocID018789 Rev 3 1/39

UM1079User manual

STM32L1 discovery kits:STM32L-DISCOVERY and 32L152CDISCOVERY

IntroductionThe STM32L-DISCOVERY (order code STM32L-DISCOVERY) and the 32L152CDISCOVERY (order code STM32L152C-DISCO) help you to discover the STM32L ultra low power features and to develop and share your applications. The STM32L-DISCOVERY and 32L152CDISCOVERY are based on an STM32L152RBT6 (128 Kbytes of Flash memory) and an STM32L152RCT6 (256 Kbytes of Flash memory), respectively. They include an ST-LINK/V2 embedded debug tool interface, LCD (24 segments, 4 commons), LEDs, pushbuttons, a linear touch sensor, and four touchkeys.In this document, STM32L1 discovery refers both to the STM32L-DISCOVERY and to the 32L152CDISCOVERY. STM32L-DISCOVERY and 32L152CDISCOVERY kits are functionally equivalent. The difference is the internal Flash memory size (128 Kbytes or 256 Kbytes).

Figure 1. STM32L1 discovery board

www.st.com

Page 2: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Contents UM1079

2/39 DocID018789 Rev 3

Contents

1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.3 Development toolchain supporting the STM32L1 discovery . . . . . . . . . . . 8

2.4 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.5 Order codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4 Hardware and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.1 STM32L152RBT6 or STM32L152RCT6 microcontroller . . . . . . . . . . . . . 14

4.2 Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174.2.1 Using the ST-LINK/V2 to program/debug the STM32L on board . . . . . 18

4.2.2 Using the ST-LINK/V2 to program/debug an external STM32L application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

4.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.5 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.6 Linear touch sensor/touchkeys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.7 Built-in IDD measurement circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214.7.1 High IDD range mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

4.7.2 Low IDD range mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

4.7.3 IBIAS current measurement procedure . . . . . . . . . . . . . . . . . . . . . . . . . . 23

4.8 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

4.9 LCD (24 segments, 4 commons) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

5 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

6 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

7 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Page 3: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 3/39

UM1079 Contents

8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Page 4: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

List of tables UM1079

4/39 DocID018789 Rev 3

List of tables

Table 1. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Table 2. Functions executed when clicking B1 button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Table 3. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Table 4. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Table 5. Debug connector CN2 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Table 6. Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Table 7. LCD connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Table 8. MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Table 9. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Page 5: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 5/39

UM1079 List of figures

List of figures

Figure 1. STM32L1 discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 5. STM32L152RBT6 or STM32L152RCT6 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 6. STM32L152RBT6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Figure 7. STM32L152RCT6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Figure 8. Typical configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Figure 9. STM32L1 discovery connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Figure 10. ST-Link connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Figure 11. STM32L1 discovery IDD measurement circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Figure 12. STM32L1 discovery low IDD range measurement timing diagram . . . . . . . . . . . . . . . . . . . 23Figure 13. LCD segment mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Figure 14. STM32L1 discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Figure 15. STM32L1 discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Figure 16. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Figure 17. 32L152CDISCOVERY MCU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Figure 18. STM32L1 discovery LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Figure 19. STM32L1 discovery IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Figure 20. STM32L1 discovery linear touch sensor/touchkeys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Page 6: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Conventions UM1079

6/39 DocID018789 Rev 3

1 Conventions

Table 1 provides the definition of some conventions used in the present document.

Table 1. ON/OFF conventions

Convention Definition

Jumper JP1 ON Jumper placed between pin 2 and 3

Jumper JP1 OFF Jumper placed between pin 1 and 2

Solder bridge SBx ON SBx connections closed by solder

Solder bridge SBx OFF SBx connections left open

Page 7: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 7/39

UM1079 Quick start

2 Quick start

The STM32L1 discovery is a low-cost and easy-to-use development kit to quickly evaluate and start a development with an STM32L ultra low power microcontroller.

Before installing and using the product, please accept the Evaluation Product License Agreement from www.st.com/stm32l1-discovery.

For more information on the STM32L1 discovery and for demonstration software visit www.st.com/stm32l1-discovery.

2.1 Getting startedFollow the sequence below to configure the STM32L1 discovery board and launch the Discovery application:1. Check jumper positions on the board: JP1 and CN3 must be ON (Discovery selected)

(see Figure 3 on page 12).2. Connect the STM32L1 discovery board to a PC with a USB cable to power the board.

Red LED LD2 (PWR) and LD1 (COM) are then lit up.3. Function 1 is executed. Each click on user button B1 changes the executed function as

described in Table 2 on page 7.

A 4-LED bar shows the function being performed (1 to 4 bars can be switched ON).

Depending on the function selected, the voltage value, the linear touch sensor position, the touchkey status, or the STM32L current consumption is displayed on the LCD.

Table 2. Functions executed when clicking B1 button

Function LED LD3/4 Bar status Value displayed on LCD Main function

1 LD3 and LD4 blink Measured STM32L VDD voltage Voltage

measurement

2 LD3 ON Linear touch sensor position from 0 to 100%Touch sensing

3 LD4 ON Status of the 4 touchkeys

Page 8: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Quick start UM1079

8/39 DocID018789 Rev 3

To study or modify the Discovery project related to this demonstration, visit www.st.com/stm32l1-discovery and follow the tutorial. Discover the STM32L features, download and execute programs proposed in the list of projects. This site also contains examples from which you can develop your own applications.

2.2 System requirements• Windows PC (XP, Vista, 7)• USB type A to Mini-B USB cable

2.3 Development toolchain supporting the STM32L1 discovery• Altium TASKING™ VX-Toolset• Atollic TrueSTUDIO®

• IAR EWARM• Keil™ MDK-ARM

2.4 Demonstration softwareThe demonstration software is preloaded in the board Flash memory. It uses the built-in IDD measurement feature of the STM32L1 discovery to automatically measure and display on the LCD the MCU consumption in Run and low power modes.it also allows to demonstrate touch sensing functionalities such as linear touch sensor or touchkeys.

The latest versions of this demonstration source code and associated documentation can be downloaded from www.st.com/stm32l1-discovery.

4

LD3 and LD4 OFF

STM32L consumption measured in Run mode (4 MHz)

STM32L current consumption measurement

STM32L consumption measured in Sleep mode (4 MHz)

5

STM32L consumption measured in Run mode (32 KHz)

STM32L consumption measured in low power sleep mode (32 KHz)

6

STM32L consumption measured in Stop mode, RTC ON

STM32L consumption measured in Stop mode, RTC OFF

7 STM32L consumption measured in Standby mode

Table 2. Functions executed when clicking B1 button (continued)

Function LED LD3/4 Bar status Value displayed on LCD Main function

Page 9: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 9/39

UM1079 Quick start

2.5 Order codesTo order the STM32L ultra low power discovery board, refer to Table 3.

Table 3. Device summary

Part number Order code Description

Board number

marked on silkscreen

STM32L-DISCOVERY STM32L-DISCOVERY(1) Discovery kit based on STM32L152RBT6 MB963 B

32L152CDISCOVERY STM32L152C-DISCO Discovery kit based on STM32L152RCT6 MB963 C

1. STM32L-DISCOVERY is replaced by STM32L152C-DISCO.

Page 10: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Features UM1079

10/39 DocID018789 Rev 3

3 Features

The STM32L1 discovery offers the following features:• An STM32L152RBT6 (128 Kbyte Flash memory, 16 Kbyte RAM, 4 Kbyte data

EEPROM) or STM32L152RCT6 (256 Kbyte Flash memory, 32 Kbyte RAM, 8 Kbyte data EEPROM) microcontroller in a 64-pin LQFP package

• On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone ST-LINK/V2 (with SWD connector for programming and debugging)

• Board power supply: through USB bus or from an external 3.3 or 5 V supply voltage• External application power supply: 3 V and 5 V• IDD current measurement• LCD

– DIP28 package– 24 segments, 4 commons

• Four LEDs: – LD1 (red/green) indicating USB communication – LD2 (red) indicating that 3.3 V power supply is ON– Two user LEDs, LD3 (green) and LD4 (blue)

• Two pushbuttons (user and reset)• One linear touch sensor and four touchkeys• Extension header for LQFP64 I/Os for quick connection to prototyping board and easy

probing

Page 11: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 11/39

UM1079 Hardware and layout

4 Hardware and layout

The STM32L-DISCOVERY and 32L152CDISCOVERY are designed around an STM32L152RBT6 and STM32L152RCT6, respectively. Both microcontrollers are packaged in an LQFP64.

Figure 2 illustrates the connections between the STM32L152 microcontroller and its peripherals (ST-LINK/V2, pushbutton, LED, LCD, linear touch sensor, touchkeys, and connectors).

Figure 3 on page 12 and Figure 4 on page 13 help you to locate these features on the STM32L1 discovery kits.

Figure 2. Hardware block diagram

Page 12: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

12/39 DocID018789 Rev 3

Figure 3. Top layout

1. Pin 1 of CN1, CN2, P1 and P2 connectors are identified by a square.

Page 13: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 13/39

UM1079 Hardware and layout

Figure 4. Bottom layout

1. Pin 1 of CN1, CN2, P1 and P2 connectors are identified by a square.

Page 14: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

14/39 DocID018789 Rev 3

4.1 STM32L152RBT6 or STM32L152RCT6 microcontrollerThe STM32L152RBT6 ultra low power microcontroller features 128 Kbyte of Flash memory, 16 Kbyte of RAM and 4 Kbyte of data EEPROM, while the STM32L152RCT6 features 256 Kbyte of Flash memory, 32 Kbyte of RAM and 8 Kbyte data of EEPROM.

Both devices embed RTC, LCD, timers, USART, I2C, SPI, ADC, DAC, and comparators.

Figure 5. STM32L152RBT6 or STM32L152RCT6 package

This device provides the following benefits:• Ultra low power proprietary 130 nm technology:

Speed and power consumption independent of MCU power supply, and ultra low leakage

• Ultra Low power design (clock gating, low-power Flash with power-off capability):Reduced overall Run and Wait mode current consumption by turning off clocks of unused peripherals or Flash

• Sub 1 µA hardware RTC and AWU system unit:Ultra Low power modes for applications requesting regular wake up

• Up to 6 low power modes:Suitable for many applications from complete switch off to continuous monitoring at ultra low frequency

• Advanced and flexible clock system (multiple internal and external clock sources)Switch and adjust frequency and clock sources on the fly depending on application needs

• Direct memory access on board (up to 12 DMA channels):Autonomy for peripherals, independent from core; can switch off Flash memory and CPU (large current consumption contributors) while keeping peripherals active

• Ultra Low power and ultrasafe features (POR, PDR, BOR, PVD) allowing integrated application safety and security

• Unique identifier to enhance user data confidentiality/reliability• Ultrafast wakeup from lowest consumption low-power mode allowing fast switching

from static and dynamic power modes• Analog functional down to 1.8 V, and programming down to 1.65 V• Full functionality over the complete VDD range

For more information, refer to the STM32L152RBT6 and STM32L152RCT6 datasheets available on ST website.

Page 15: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 15/39

UM1079 Hardware and layout

Figure 6. STM32L152RBT6 block diagram

EXT. IT

WWDG

12-bit ADC

J T AG & SW

24 A F

JT D IJT CK/ S WCLKJTMS /S WDAT

NJT R ST

JTDO

NRST

V DD =1. 65 V to 3.6 V

83A F

AH B2

US B_DPUS B_DM

MO S I,MIS O, S CK, NS S

WKU P

F ma x : 32 MH z

V SS

S C L, SD A, SMB us ,P MB usI2C 2

V DDREF _ADC*

GP DMA

TIM2

TIM3

X T AL O S C 1-24 MHz

X T A L 32 kHz

OSC_INOSC_OUT

OS C32 _OUTOS C32 _IN

PLL &

APB

1:F

ma

x=32

MH

z

A HBP CL K

HC L K clockmanagement

AP BP CL K

as AF

as AF

VO LT. R E G.

VCO R E PO WE R

as A F

TIM4

Bus

Mat

rix

Inte

rfac

e

RT C

RC HS

Ibus

Db us

pbus

obl

Flas

h

US B RAM 512 B

US ART 1

US ART 2

SP I2

7 c hannels

SC L, S D AI2C 1as AF

RX ,T X , CT S , RT S ,US ART 3

Te mp s ens or

V SS REF_ ADC*

AH

B:F

max

=32

MH

z

4 Ch an nels

4 Ch an nels

4 Ch an nels

FC LK

IWDG

@V DD

Supplymonitoring

@V DD A

V DDA /VSS A

@V DD A

S m artC ard a s AF

RX ,T X , C T S, R T S,S mar tC ar d as AF

RX ,TX, C T S, R T S,S m artCa rd as A F

AP

B2 :

Fm

ax=

32M

Hz

NV IC

SPI 1MOSI ,MIS O,

SC K, NS S as AF

IF

@VD D APV D

Power reset

Int

AHB 2

AW U

@V DD A

RTC_OUT, RTC_TS,RTC_TAMP

S yst em

P A [15:0 ]

P B [15:0 ]

P C [15:0 ]

PD[ 15:0]

PE[1 5:0 ]

LCD 8x4 0 (4x44 )SEG xCOM x

IFIFIF

@V DD A

DAC_OUT1 as AF

MP U

Co mp 2COMP2 _IN- /IN+

Co mp 1

TIM6

TIM7M

TI M9

TI M10

TI M11

2 Channe ls

1 C hannel

1 Channel

General purposetimers

128 KB Flash4 KB data EEPROM

LCD step-upconverter

V LCD =2.5 V to 3.6 VV

LCD

BA SI C T IME RS

RTC_AFIN

VR EF O UTPU T

Ai15687h

Cortex-M3 CPU

Trace controllerETM

RAM16 KB

12-bit DAC1

12-bit DAC2

GPIOA

GPIOB

GPIOC

GPIOD

GPIOE

TRACECK, TRACED0, TRACED1, TRACED2, TRACED3

RC MSRC LS

Standby interface

Backup interface

USB 2.0 FS device

BOR/V REFINT

Power-up/Power-down Backup

register

PH[2 :0 ] GPIOH

DAC_OUT2 as AF

AHB/APB2 AHB/APB1

Page 16: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

16/39 DocID018789 Rev 3

Figure 7. STM32L152RCT6 block diagram

E X T .IT

WinWA T CH D OG12bit AD C

J T A G & S W

40 A F

JTDIJ T CK /S WC LKJ T MS /S WDAT

NJTRST

J T DO

NRST

V DD 33=1.65V to 3.6V

115 A F

US B 2. 0 F S dev ic e US B _DPUS B _DM

MO S I,MIS O, S CK ,NS S ,WS ,C K

S RA M 32K

2x (8x16bit)

WKU P

f max : 32 MHz

V S S

S C L ,S DA ,S MB us ,P MB usI2C 2

V DDR E F _AD C*

G P D MA 7 c hann els

T IMER2

T IME R 3

X T A L O S C1-24 MHz

X T A L 32kHz

O S C _INO S C _OUT

O S C 32_ OUTO S C 32_ IN

AH B P C L K

HC L KA P B P C L K

as A F

EE P R O MVO L T . R E G .

VDDC O R E P O WE R

B ac kup interfac e

as A F

T IME R 4

Bus

Mat

rix5M

/5S

64 bit

Inte

rfac

e

R TC V2

RC HS I

M3 C P U Ibus

Dbu s

obl

EE²

US B S RA M 512 B

T race C ontroller E T M

US AR T 1

US A R T 2

S P I2/I2S

B ack upreg 128

S C L ,S DAI2C 1 as A F

R X ,TX , C T S , R T S ,US A R T 3

Temp s ens or

V S S R E F _AD C*

AHB

:Fm

ax=3

2MH

z

4 C hannels

4 C hannels

4 C hannels

R C MS I

S tandby

WD G 32K

@ VDD 33

VDD A /VS S A

S martC ard as A F

R X ,T X , C T S , R T S ,S martC ard as A F

R X ,T X , C T S , R T S ,S martC ard as A F

NVIC

S P I1MOS I,MIS O ,

S CK ,NS S as A F

IF

interface

@ VDD AP VD

B OR

Int

@ VDD 33

AW UT A MPER

S ys tem

P A [15:0]

P B [15:0]

P C [15:0] G P IO P O R T C

P D[15:0] G P IO P O R T D

P E [15:0] G P IO P O R T E

P x

L CD 8x 40 S E G xC O Mx

12bit DAC 1FIFIIF

12bit DAC 2

DAC_OUT1 as AF

DAC_OUT2 as AF

MP U

Vref

G P C omp

B O R / B g ap

C O MPx_ INx

P U / P D

P DR

P DR

T IME R 6

T IME R 7

T IME R 9

T IME R 10

T IME R 11

2 C hann els

1 C hannel

1 C hannel

General purposetimers

256 KB P R OG RA M8KB DA T A

8KB B OO T

L CD B oos ter V L C D =2.5V to 3.6V@ VDD 33

VLC

D

P H[2:0] G P IO P O R T H

RC L S I

F C L K

P F [15:0] G P IO P O R T F

P G [15:0] G P IO P O R T G

G P D MA2 5 c han nels

T IME R 5 (32bits ) 4 C hannels

MO S I,MIS O, S CK ,NS S ,WS ,C K2x (8x16bit) MCK ,S D as A FS P I3/I2S

O P A MP 1

O P A MP 2

MCK ,S D as A F

TRACECK, TRACED0, TRACED1, TRACED2, TRACED4

pbus

Cap. sens

Supplymonitoring

@VDDA

@VDDA

@VDDA

@VDDA

Supply monitoring

Cap. sensing

G P IO P O R T B

G P IO P O R T A

MS19482V4

APB2

: fM

AX=

32 M

Hz

APB1

: fM

AX=

32 M

Hz

PLL &ClockMgmt

VINPVINMVOUT

VINPVINMVOUT

RTC_OUT

AHB/APB2 AHB/APB1

Page 17: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 17/39

UM1079 Hardware and layout

4.2 Embedded ST-LINK/V2The ST-LINK/V2 programming and debugging tool is integrated on the STM32L1 discovery. The embedded ST-LINK/V2 can be used in 2 different ways according to the jumper states (see Table 4 on page 17):• Program/debug the MCU on board,• Program/debug an MCU in an external application board using a cable connected to

SWD connector CN2.

The embedded ST-LINK/V2 supports only SWD for STM32 devices. For information about debugging and programming features refer to user manual UM1075 which describes in detail all the ST-LINK/V2 features.

Figure 8. Typical configuration

Table 4. Jumper states

Jumper state Description

Both CN3 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)

Both CN3 jumpers OFF ST-LINK/V2 functions enabled for external application through CN2 connector (SWD supported).

Page 18: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

18/39 DocID018789 Rev 3

4.2.1 Using the ST-LINK/V2 to program/debug the STM32L on boardTo program the STM32L on board, simply plug in the two jumpers on CN3, as shown in Figure 9 in red, but do not use the CN2 connector as that could disturb communication with the STM32L152 microcontroller of the STM32L1 discovery.

Figure 9. STM32L1 discovery connections image

Page 19: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 19/39

UM1079 Hardware and layout

4.2.2 Using the ST-LINK/V2 to program/debug an external STM32L applicationIt is very easy to use the ST-LINK/V2 to program the STM32L on an external application. Simply remove the 2 jumpers from CN3 as shown in Figure 10, and connect your application to the CN2 debug connector according to Table 5.

Note: SB100 must be OFF if you use CN2 pin 5 in your external application.

Figure 10. ST-Link connections image

Table 5. Debug connector CN2 (SWD)

Pin CN2 Designation

1 VDD_TARGET VDD from application

2 SWCLK SWD clock

3 GND Ground

4 SWDIO SWD data input/output

5 NRST RESET of target MCU

6 SWO Reserved

Page 20: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

20/39 DocID018789 Rev 3

4.3 Power supply and power selectionThe power supply is provided either by the host PC through the USB cable, or by an external 5 V or 3.3 V power supply.

The D1 and D2 protection diodes allow the EXT_5V and EXT_3V pins to be used independently as input or output power supplies (see Figure 3 on page 12):• EXT_5V and EXT_3V can be used as output power supplies when the application

board is connected to pins P1 and P2. In this case, the EXT_5V and EXT_3V pins deliver a 5 V or 3 V power supply and power consumption must be lower than 100 mA.

• EXT_5V and EXT_3V can also be used as input power supplies e.g. when the USB connector is not connected to the PC. In this case, the STM32L1 discovery board must be powered by a power supply unit or by auxiliary equipment complying with standard EN-60950-1: 2006+A11/2009, and must be Safety Extra Low Voltage (SELV) with limited power capability.

Battery powered (optional)

In addition, the STM32L1 discovery board has been designed to run from a CR2032 standalone battery (no connection with USB or other power supply is required).

By default, no battery holder is mounted on the board and SB21 and SB22 are configured in their default state (see Table 6: Solder bridges on page 24).

Follow the procedure below to power the STM32L1 discovery from the battery:1. Solder a B7410AP2L battery holder from LOTES on CR1.2. Configure SB100 OFF.3. Remove both jumpers from CN3 (see Figure 10)4. Select the battery as power supply. Two solutions are possible:

a) Solder bridge: Configure SB21 OFF, and SB22 ON. No header is required on JP2.b) Jumper: Configure SB21 and SB22 OFF.

Solder a header on JP2, identical to JP1 on the top side, and set a jumper between VDD and VBAT to power the STM32L152 MCU.

Note: In this configuration, it is possible to power the STM32L from the board 3 V supply voltage by setting a jumper between VDD and 3V.5. Plug the CR2032 battery into CR1 holder. You can now run the demonstration.

Warning: Wrong solder bridge configuration can damage board components.

4.4 LEDs• LD1 COM: LD1 default status is red. LD1 turns to green to indicate that

communications are in progress between the PC and the ST-LINK/V2.• LD2 PWR: red LED indicates that the board is powered.• User LD3: green LED is a user LED connected to the I/O PB7 of the STM32L152 MCU.• User LD4: blue LED is a user LED connected to the I/O PB6 of the STM32L152 MCU.

Page 21: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 21/39

UM1079 Hardware and layout

4.5 Pushbuttons• B1 USER: User pushbutton connected to the I/O PA0 of the STM32L152 MCU.• B2 RESET: Pushbutton is used to RESET the STM32L152 MCU.

4.6 Linear touch sensor/touchkeysTo demonstrate touch sensing capabilities, the STM32L1 discovery includes a linear touch sensor which can be used either as a 3-position linear touch sensor or as 4 touchkeys. Both functionalities are illustrated in the demonstration software (see Table 2: Functions executed when clicking B1 button on page 7).

3 pairs of I/O ports are assigned to the linear touch sensor/touchkeys. Each pair must belong to the same analog switch group:• PA6, PA7 (group 2)• PC4, PC5 (group 9)• PB0, PB1 (group 3)

To minimize the noise, these pairs are dedicated to the linear touch sensor and the touchkeys and are not connected to external headers.

To design a touch sensing application, refer to the following documentation and firmware:• For details concerning I/O ports, refer to the STM32L152RBT6 or STM32L152RCT6

datasheet. • For information on software development, see DISCOVER application software on

http://www.st.com/stm32l1-discovery.• For more detail concerning touch sensing application design and layout, refer to

AN2869 -Guidelines for designing touch sensing applications. • STM32 touch sensing library available from http://www.st.com/stm32l1-discovery.

4.7 Built-in IDD measurement circuitThe STM32L1 discovery built-in IDD measurement circuit allows the consumption of the STM32L152 to be measured and displayed on the LCD Glass while the MCU is in Run or low power modes.• JP1 ON: the STM32L152 is powered through the IDD measurement circuit (default).• JP1 OFF: the STM32L152 is directly powered, IDD measurement circuit is bypassed.

Note: When jumper JP1 is removed the current consumption of the STM32L152 can be measured by connecting an ammeter between jumper pin 1 and pin 2 of JP1.

For IDD measurement to be performed by the MCU itself, the circuit below is implemented on the STM32L1 discovery. Solder bridges SB1, SB2 and SB14 must be closed and JP1 must be ON.The low IDD range procedure (see Section 4.7.2) is recommended when the MCU is in low power mode and the IDD current does not exceed 60 μA. When the MCU operates in Run mode and can sink up to 30 mA, use the high IDD range procedure (see Section 4.7.1).

Page 22: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

22/39 DocID018789 Rev 3

Figure 11. STM32L1 discovery IDD measurement circuit

4.7.1 High IDD range mode

In high IDD range mode, the IDD current is measured using the operational amplifier MAX9938FEUK+ (U5) connected to the 2 Ω shunt resistor (R21). In this case IDD_CNT_EN remains high during measurement, so R22 remains in short-circuit during the measurement because FET transistor 1 of U20 remains ON permanently.

4.7.2 Low IDD range mode

In low IDD range mode, the operational amplifier MAX9938FEUK+ (U5) is connected to the 1 KΩ shunt resistor (R22), controlled by FET transistor 1 of U20. In this case the counter 74HC4060 (U3) enabled by IDD_CNT_EN manages the measurement timing according to Figure 12 on page 23.

Low IDD range measurement principle

The principle used to measure the consumption current when the STM32L152 is in low IDD range mode is as follows:1. Configure ADC to measure voltage on the IDD_Measurement pin.2. Configure PA0 to serve as wakeup pin.3. Enter low IDD range mode after setting IDD_CNT_EN (PC13) signal low.4. IDD_WAKEUP rising edge wakes up the MCU after around 300 ms.5. Start ADC conversion as soon as possible after wakeup in order to measure the

voltage corresponding to Low power mode on capacitor C13.6. Reset the counter by programming IDD_CNT_EN high (in less than 150 ms after the

wakeup) to avoid the R22 1 KΩ resistor being connected later in Run mode.

The measurement timing is given in Figure 12. In low IDD range mode, the 1 KΩ resistor is connected when FET transistor 1 of U20 goes OFF after entering low IDD range mode. The

Page 23: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 23/39

UM1079 Hardware and layout

Q13 output of the counter allows connecting the 1 KΩ resistor when the current IDD becomes very low.

Figure 12 shows how the counter and FET transistor 1 of U20 ensure that, 150 ms after IDD_CNT_EN falling edge, the shunt resistor R22 is connected between VDD_MCU and the power supply to reduce the measurement range to 60 μA for the full scale. Then after another 150 ms required for current stabilization, R22 is shorted, the IDD measurement is stored in C13, and the MCU is woken up. After wakeup the MCU can measure the IDD current corresponding to the low power mode stored in C13.

Figure 12. STM32L1 discovery low IDD range measurement timing diagram

4.7.3 IBIAS current measurement procedure

In Low IDD range mode, the bias current of the operational amplifier input (U5 pin 4) is not negligible compared to IDD current (typical IBIAS is ~240 nA). To obtain a reliable STM32L152 IDD measurement, it is mandatory to subtract the bias current from the low IDD current value since this current is not sunk by the MCU. IBIAS is measured during production test and stored in the MCU data EEPROM. The DISCOVER demonstration software, uses this value to display the correct IDD.

The procedure for IBIAS measurement implemented in the demonstration software is:1. Power off the board (disconnect the USB cable).2. Set JP1 OFF.3. Push down B1 (USER button), power on the board from the USB.4. Wait at least 1 second before releasing B1, the LCD displays the IBIAS measurement.5. Power off the board (disconnect the USB cable).6. Set JP1 ON. The IBIAS value is stored in data EEPROM. The bias current is then

subtracted from the IDD measured in IDD range mode.

Page 24: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

24/39 DocID018789 Rev 3

4.8 Solder bridges

Table 6. Solder bridges

Bridge State(1) Description

SB18,20(X3 crystal)(2)

ON PH0, PH1 are connected to P1 (X3, C21, C22, R30 must not be fitted).

OFF X3, C21, C22 and R30 provide a clock as shown in Section 7: Electrical schematics. PH0, PH1 are disconnected from P1.

SB7,9,11,13(DEFAULT)

ON Reserved, do not modify.

SB6,8,10,12(RESERVED)

OFF Reserved, do not modify.

SB1,2,14(IDD_Measurement)

ON PA0, PA4, PC13 are used by the IDD measurement.JP1 ON.

OFF PA0, PA4, PC13 are available and IDD module cannot be used JP1 OFF.

SB15,16(X2 crystal)

OFF X2, C16, C17 and R28 deliver a 32 KHz clock. PC14, PC15 are not connected to P1.

ON PC14, PC15 are only connected to P1. Do not remove X2, C16, C17, R28.

SB5(B2-RESET)

ON B2 Pushbutton is connected to the NRST pin of the STM32L152 MCU.

OFF B2 Pushbutton is not connected the NRST pin of the STM32L152 MCU.

SB4(B1-USER)

ON B1 Pushbutton is connected to PA0.

OFF B1 Pushbutton is not connected to PA0.

SB21(VDD powered from 3 V)

ON VDD is powered from 3 V, SB22 must be OFF.

OFF VDD is not powered from 3 V, SB22 must be ON.

SB22(Battery enable)

OFF VDD is not powered by the CR2032 battery, SB21 must be ON.

ON VDD is powered by the CR2032 battery, SB21 must be OFF.

SB100 (NRST) ON The NRST signal of the CN2 connector is connected to the

NRST pin of the STM32L152 MCU.

OFF The NRST signal of the CN2 connector is not connected to the NRST pin of the STM32L152 MCU.

SB101 (SWO) ON The SWO signal of the CN2 connector is connected to PB3.

OFF The SWO signal is not connected.

SB102 (STM_RST) OFF No incidence on STM32F103C8T6 NRST signal.

ON STM32F103C8T6 NRST signal is connected to GND.

Page 25: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 25/39

UM1079 Hardware and layout

SB3 (BOOT0) ON The BOOT0 signal of the STM32L152 MCU is held low

through a 510 Ω pull-down resistor.

OFF The BOOT0 signal of the STM32L152 MCU is held high through a 10 KΩ pull-up resistor.

SB19 (BOOT1) OFF The BOOT1 signal of the STM32L152 MCU is held high

through a 10 KΩ pull-up resistor.

ON The BOOT1 signal of the STM32L152 MCU is held low through a 510 Ω pull-down resistor.

SB17 (MCO)(2)OFF STM32F103C8T6 MCO clock signal is not used.

ON STM32F103C8T6 MCO clock signal is connected to OSC_IN of the STM32L152 MCU.

1. Default SBx state is shown in bold.

2. SB17 and SB20 are OFF to allow the user to choose between MCO and X3 crystal for clock source.

Table 6. Solder bridges (continued)

Bridge State(1) Description

Page 26: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Hardware and layout UM1079

26/39 DocID018789 Rev 3

4.9 LCD (24 segments, 4 commons)This LCD allows the STM32L152 to display any information on six 14-segment digits and 4 bars, using all COMs. (See the LCD segment mapping in Figure 18 and pin connections in Table 7.)

Note: This LCD also supports six 8-segment digits by only using COM0 and COM1. This configuration allows COM2 and COM3 to be used as I/O ports. In this case the 2 LCD pins must not be plugged into the LCD socket. To proceed with this configuration, remove the LCD carefully, slightly open the COM2 and COM3 pins (pin 13 and pin 14) of the LCD, then replug it in the socket.

Characteristics overview:• 24 segments and 4 commons• Drive method: multiplexed 1/4 duty, 1/3 bias• Operating voltage: 3 V• Operating temperature: 0 to 50°C• Connector: 28-pin DIL 2.54 mm pitch

Note: When the LCD is plugged, all I/O ports listed in Table 7 are unavailable. To use one of these as I/O, you must remove the LCD.

Figure 13. LCD segment mapping

Page 27: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 27/39

UM1079 Hardware and layout

Table 7. LCD connections

STM32L152 LCD

Name Pin COM3 COM2 COM1 COM0 Name

PA1 1 1N 1P 1D 1E LCDSEG0

PA2 2 1DP 1COLON 1C 1M LCDSEG1

PA3 3 2N 2P 2D 2E LCDSEG2

PB3 4 2DP 2COLON 2C 2M LCDSEG3

PB4 5 3N 3P 3D 3E LCDSEG4

PB5 6 3DP 3COLON 3C 3M LCDSEG5

PB10 7 4N 4P 4D 4E LCDSEG6

PB11 8 4DP 4COLON 4C 4M LCDSEG7

PB12 9 5N 5P 5D 5E LCDSEG8

PB13 10 BAR2 BAR3 5C 5M LCDSEG9

PB14 11 6N 6P 6D 6E LCDSEG10

PB15 12 BAR0 BAR1 6C 6M LCDSEG11

PB9 13 COM3 LCDCOM3

PA10 14 COM2 LCDCOM2

PA9 15 COM1 LCDCOM1

PA8 16 COM0 LCDCOM0

PA15 17 6J 6K 6A 6B LCDSEG12

PB8 18 6H 6Q 6F 6G LCDSEG13

PC0 19 5J 5K 5A 5B LCDSEG14

PC1 20 5H 5Q 5F 5G LCDSEG15

PC2 21 4J 4K 4A 4B LCDSEG16

PC3 22 4H 4Q 4F 4G LCDSEG17

PC6 23 3J 3K 3A 3B LCDSEG18

PC7 24 3H 3Q 3F 3G LCDSEG19

PC8 25 2J 2K 2A 2B LCDSEG20

PC9 26 2H 2Q 2F 2G LCDSEG21

PC10 27 1J 1K 1A 1B LCDSEG22

PC11 28 1H 1Q 1F 1G LCDSEG23

Page 28: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Extension connectors UM1079

28/39 DocID018789 Rev 3

5 Extension connectors

The male headers P1 and P2 can connect the STM32L1 discovery to a standard prototyping/wrapping board. STM32L152 GPI/Os are available on these connectors. P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.

Table 8. MCU pin description versus board functionMCU pin Board function

Main function Alternate functions

LQFP64 pin num.

LCD glass

Linear Touch Sensor

Pushbutton IDD LED SWD OSC Free

I/OPower supply P1 P2

- - - EXT_3V 1

- - EXT_5V 1

BOOT0 - 60 6

NRST - 7 NRST 10

PA0WKUP1/USART2_CTS/

ADC_IN0/TIM2_CH1_ETR/COMP1_INP

14 PA0 WAKEUP 15

PA1USART2_RTS/ADC_IN1/ TIM2_CH2/LCD_SEG0/

COMP1_INP15 SEG0 16

PA2USART2_TX/ADC_IN2/ TIM2_CH3/TIM9_CH1/

LCD_SEG1/COMP1_INP16 SEG1 17

PA3USART2_RX/ADC_IN3/ TIM2_CH4/TIM9_CH2/

LCD_SEG2/COMP1_INP17 SEG2 18

PA4SPI1_NSS/USART2_CK/ ADC_IN4/DAC_OUT1/

COMP1_INP20 Measure

ment 19

PA5

SPI1_SCK/ADC_IN5/ DAC_OUT2/

TIM2_CH1_ETR/COMP1_INP

21 X 20

PA6

SPI1_MISO/ADC_IN6/ TIM3_CH1/TIM1_BKIN/

LCD_SEG3/TIM10_CH1/ COMP1_INP

22 PA6

PA7

SPI1_MOSI/ADC_IN7/ TIM3_CH2/TIM1_CH1N

/LCD_SEG4/TIM11_CH1/ COMP1_INP

23 PA7

PA8 USART1_CK/MCO/ LCD_COM0 41 COM0 23

PA9 USART1_TX/LCD_COM1 42 COM1 22

PA10 USART1_RX/LCD_COM2 43 COM2 21

PA11 USART1_CTS/USBDM/ SPI1_MISO 44 X 20

PA12 USART1_RTS/USBDP/ SPI1_MOSI 45 X 19

JTMS/ SWDIO PA13 46 SWD

IO 18

Page 29: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 29/39

UM1079 Extension connectors

JTCK/ SWCLK PA14 49 SW

CLK 17

JTDI TIM2_CH1_ETR/PA15/ SPI1_NSS/LCD_SEG17 50 SEG12 16

PB0ADC_IN8/TIM3_CH3/

LCD_SEG5/COMP1_INP/ VREF_OUT

26 PB0

PB1ADC_IN9/TIM3_CH4/

LCD_SEG6/COMP1_INP/ VREF_OUT

27 PB1

PB2/BOOT1 - 28 21

JTDOTIM2_CH2/PB3/TRACESWO/SPI1_SCK/COMP2_I

NM/LCD_SEG755 SEG3 SWO 11

JNTRSTTIM3_CH1/PB4/SPI1_MISO/COMP2_INP/LCD_SEG

856 SEG4 10

PB5I2C1_SMBAl/TIM3_CH2/ SPI1_MOSI/COMP2_INP/

LCD_SEG957 SEG5 9

PB6 I2C1_SCL/TIM4_CH1/ USART1_TX/LCD_SEG8 58 Blue 8

PB7 I2C1_SDA/TIM4_CH2/ USART1_RX/PVD_IN 59 Green 7

PB8 TIM4_CH3/I2C1_SCL/ LCD_SEG16/TIM10_CH1 61 SEG13 4

PB9 TIM4_CH4/I2C1_SDA/ LCD_COM3/TIM11_CH1 62 COM3 3

PB10 I2C2_SCL/USART3_TX/ TIM2_CH3/LCD_SEG10 29 SEG6 22

PB11 I2C2_SDA/USART3_RX/ TIM2_CH4/LCD_SEG11 30 SEG7 23

PB12

SPI2_NSS/I2C2_SMBA/ USART3_CK/LCD_SEG12/ADC_IN18/COMP1_INP

/ TIM10_CH1

33 SEG8 24

PB13SPI2_SCK/USART3_CTS/ LCD_SEG13/ADC_IN19/ COMP1_INP/TIM9_CH1

34 SEG9 25

PB14SPI2_MISO/USART3_RTS/LCD_SEG14/ADC_IN20/ COMP1_INP/TIM9_CH2

35 SEG10 26

PB15

SPI2_MOSI/TIM1_CH3N/ LCD_SEG15/ADC_IN21/ COMP1_INP/TIM11_CH1/

RTC_50_60Hz

36 SEG11 27

PC0 ADC_IN10/LCD_SEG18/ COMP1_INP 8 SEG14 11

PC1 ADC_IN11/LCD_SEG19/ COMP1_INP 9 SEG15 12

PC2 ADC_IN12/LCD_SEG20/ COMP1_INP 10 SEG16 13

Table 8. MCU pin description versus board function (continued)MCU pin Board function

Main function Alternate functions

LQFP64 pin num.

LCD glass

Linear Touch Sensor

Pushbutton IDD LED SWD OSC Free

I/OPower supply P1 P2

Page 30: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Extension connectors UM1079

30/39 DocID018789 Rev 3

PC3 ADC_IN13/LCD_SEG21/ COMP1_INP 11 SEG17 14

PC4 ADC_IN14/LCD_SEG22/ COMP1_INP 24 PC4

PC5 ADC_IN15/LCD_SEG23/ COMP1_INP 25 PC5

PC6 TIM3_CH1/LCD_SEG24 37 SEG18 27

PC7 TIM3_CH2/LCD_SEG25 38 SEG19 26

PC8 TIM3_CH3/LCD_SEG26 39 SEG20 25

PC9 TIM3_CH4/LCD_SEG27 40 SEG21 24

PC10 USART3_TX/LCD_SEG28/LCD_SEG40/LCD_COM4 51 SEG22 15

PC11USART3_RX/LCD_SEG2

9/LCD_SEG41/ LCD_COM5

52 SEG23 14

PC12USART3_CK/LCD_SEG3

0/LCD_SEG42/ LCD_COM6

53 X 13

PC13 RTC_AF1/WKUP2 2 CNT_ EN 4

PC14 OSC32_IN 3 OSC32_IN 5

PC15 OSC32_OUT 4 OSC32_OUT 6

PD2 TIM3_ETR/LCD_SEG31/ LCD_SEG43/LCD_COM7 54 X 12

OSC_IN PH0 5 OSC_ IN 7

OSC_OUT PH1 6 OSC_OUT 8

- - - GND 2 2

- - - GND 9 5

- - - GND 28 28

- - - VDD 3

Table 8. MCU pin description versus board function (continued)MCU pin Board function

Main function Alternate functions

LQFP64 pin num.

LCD glass

Linear Touch Sensor

Pushbutton IDD LED SWD OSC Free

I/OPower supply P1 P2

Page 31: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 31/39

UM1079 Mechanical drawing

6 Mechanical drawing

Figure 14. STM32L1 discovery

Page 32: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

UM

1079Electrical schem

atics

DocID

018789 Rev 3

32/39

7 Electrical schematics

Figure 15. STM32L1 discovery

1

1

2

2

3

3

4

4

D D

C C

B B

A A

STMicroelectronicsTi tle:

Number: Rev: Sheet ofC.1(PCB .SCH) Date:2/15/2013MB963 1 6

STM3L-DISCOVERY

PA13PA14

EXT_5VEXT_3V

MCO

NRSTPB3

U_ST_LINKST_LINK.SCHDOC

PA4PA0PC13

U_PowerIDD_measurement.SchDoc

PA13PA14

PA4PA0PC13

EXT_5VEXT_3V

PA4PA5

PA0

PA3PA2

EXT_3V

PA1

PB14PB15 PC7

PC8PC9PA8PA9PA10PA11PA12

PB2

PA14

BOOT0

PB8PB9

EXT_5V

PB12PB13

PA13

PC0PC1PC2PC3

NRST

PH1PH0PC15PC14PC13

PA15PC10PC11PC12PD2PB3PB4PB5PB6PB7

VDD12345678910111213141516171819202122232425262728

P2

Header 28

123456789

10111213141516171819202122232425262728

P1

Header 28

TCK/SWCLKTMS/SWDIOIDD_WAKEUP

IDD_CNT_EN

IDD_Measurement

PA13PA14

PA15

PA12

PA0PA1PA2PA3

PA4

PA5

PA6PA7

PA8PA9

PA10

PA11PB12

PB0PB1

PB2

PB3PB4PB5

PB6PB7

PB8

PB9

PB10PB11

PB13PB14PB15

PC3PC15PC14

PC13PC12

PC11PC10PC9PC8PC7PC6

PC5PC4

PC2PC1PC0

PD2

BOOT0

PH1PH0

NRSTMCO

U_STM32LSTM32 L.Sch Doc

NRST

PA0

PB0

PC4

PA6PA7

PC5

PB1

U_SLIDER_PBSLI DER_PB.SchDoc

NRST

PA0

COM0COM1COM2COM3

SEG0SEG1SEG2SEG7SEG8SEG9SEG10SEG11SEG12SEG13SEG14SEG15SEG16SEG17SEG18SEG19SEG20SEG21SEG24SEG25SEG26SEG27SEG28SEG29

PB8PA15

PB15

PC2PC1PC0

PC11PC10PC9PC8

PC3

PC7PC6

PA8PA9PA10

PA1PA2PA3PB3PB4PB5PB10PB11

PB9

PB12PB13PB14

U_LCD_GH08172LCD_GH08172.SchDoc

PB0PB1

PC4PC5

PA6PA7

PA4

PB6

PA0

PC5PC4PB1

PA12

PB7

PB2

PA5PA11

PC12

PA6PA7PB0

NRST

PH1PH0

PA13PA14

PC13

PC14PC15

PD2

BOOT0

MCO

MCO

PB10PB11

PA8PA9PA10PB9

PA1PA2PA3PB3PB4PB5PB10PB11PB12PB13PB14PB15PB8PA15PC0PC1PC2PC3

PC7PC8PC9PC10PC11

PC6

PC6

NRSTPB3 T_SWO

T_NRST

Rev C.1: - Silkscreen update for the web site: "www.st.com/stm32l152c-discovery"- MCU replacement by STM32L152RCT6

64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 494847

46 45 44 4342414039383736353433

17 18 19 20 21 22 23 24 29 30 31 3225 26 27 28

123456 7 8 9 1011 12 13141516

Page 33: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Electrical schematics

UM

1079

33/39D

ocID018789 R

ev 3

Figure 16. ST-LINK/V2 (SWD only)

1

1

2

2

3

3

4

4

D D

C C

B B

A A

STMicroelectronicsTi tle:

Number: Rev: Sheet ofC.1(PCB .SCH) Date:2/12/2013

C820pF

C920pF

1 2X1

8MHz

3V

USB_DMUSB_DP

STM_RST

T_JT

CK

T_JTCK

T_JT

DO

T_JT

DI

T_JTMS

STM_JTMS

STM

_JTC

K

OSC_ INOSC_OUT

T_N

RST

R16 4K7

R15 4K7

AIN_1C11

100nF

R17100K

R6

100K

3V

3V

3V

SWIM

_IN

SWIM

_ IN

SWIM

_ IN

SWIM

SWIM

SWIM

_RST

_IN

SWIM

_RST

MB963 2 6

STM32L--DISCOVERY ST-LINK/V2(SWD only)

USB_DMUSB_DP

3VR8 1K5

R9 10

USB

R7 100K

VCC 1

D- 2

D+ 3

ID 4

GND 5

SHELL 0

CN1

5075BMR-05-SM

U5V

COM

5VU5V

EXT_5V D1

BAT60JFILM

3V

EXT_3V

D2BAT6 0JFILM

R121K

PWR

LD2RED

5V

JP3

Wired on Solder Side

JP4C7100nF

C12100nF

C10100nF

C6100nF

3V

Ju mpers ON -- > DI SCOVERY Selected Ju mpers OFF --> ST-LINK Selected

VBAT1

PA7

17

PC132

PA12 33PC143

PB0

18

PC154 JTMS/SW DIO 34

OSCIN5

PB1

19

OSCOUT6

VSS_2 35

NRST7

PB2

/BO

OT1

20

VSSA8

VDD_2 36

VDDA9

PB10

21

PA010

JTCK

/SW

CLK

37

PA111

PB11

22

PA212

PA15

/JTD

I38

PA3

13

VSS_

123

PA4

14

PB3/

JTD

O39

PA5

15

VDD

_124

PA6

16

PB4/

JNTR

ST40

PB12 25

PB5

41

PB13 26

PB6

42

PB14 27

PB7

43

PB15 28

BOO

T044

PA8 29

PB8

45

PA9 30

PB9

46

PA10 31

VSS_

347

PA11 32

VDD

_348 U2

STM32F103C8T6

Board Ident: PC13=0

T_JTCK

T_JTMS

SWD

3V

1 2 3 4

CN3

SB7 SB6

SB9 SB8

SB11 SB10

SB13 SB12STM_ JTMS

STM_JTCK SWCLK

SWDIO

SWD

RES

ERV

ED

DE

FAU

LT

D4

Z5V1

D3

Z5V1

3V

T_S WDIO_IN

T_S WOLED_STLINK

LED_STLINK 3V

R3

100

R2

100R1

0

Red

_Gr een

2 1

3 4

LD1

LD_BI COLOR_CMS

R1322

R1422

R4 10K

R5 10K

PA13PA14TCK/SWCLK

TMS/SWDIO

CR1CR2032 Holder

VDD

SB21

SB22

3V

R1110K

R10 10

12

3JP2

Not Fitted

MCO

51

2

GND3

4

BYP ASSINH

Vin Vout

U1 LD3985M33R

C11μF_X5R_0603

C510nF_X7R_0603

C31μF_X5R_0603

C2100nF

C4100nF

MCO

Not Fitted

T_JR

ST3VVDDVBAT

R100100

123456

CN2

Header 6

R101100

AIN_1

T_NRST

T_S WO

NRSTPB3

R10222

R10322

D5

Z5V1D6

Z5V1

SB100SB101

T_NRSTT_SWO

Not Fitted

SB102

D7

BAT6 0JFILM

Page 34: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

UM

1079Electrical schem

atics

DocID

018789 Rev 3

34/39

Figure 17. 32L152CDISCOVERY MCU

1

1

2

2

3

3

4

4

D D

C C

B B

A A

STMicroelectronicsTi tle:

Number: Rev: Sheet ofC.1(PCB .SCH) Date:2/15/2013

C2220pF

C2120pF

R30 220

4 1

3 2

X2MC306-G-06Q-32.768 (manufacturer JFVNY)

C166.8pF

C176.8pF

MB963 3 6

STM32L-DISCOVERY MCU

PB5PB6PB7

PA4PA5PA6PA7

R2710K

VDD

PA11PA12

PA9PA10

PC10PC11

PB12PB13PB14PB15

PB10PB11

PC12

PB8

PC5

PA0

PB9

PC13

PC6PC7PC8PC9

R280

PA1

PC1PC2PC3

PD2PB1PB2

PA15

PB3

PB0

PC4

PA3

PA13PA14

PB4

PC0

PA2

PA8

BOOT0

PC14PC15

PH0-OSC_INPH1-OSC_OUT

PA13PA14PA15

PA12

PA0PA1PA2PA3PA4PA5PA6PA7PA8PA9PA10PA11

NRST

PB12

PB0PB1PB2PB3PB4PB5PB6PB7PB8PB9PB10PB11

PB13PB14PB15

R26510

PC3

PC15PC14

PC13PC12PC11PC10PC9PC8PC7PC6PC5PC4

PC2PC1PC0

PD2

BOOT0

PH1

PH0

LD3

Green

PB7 R39

330

LD4

Bl ue

PB6 R40

660

Must be close to the Crystal

Must be close to the Crystal

R3210K

VDD

PB2

BOOT1

BOOT0

SB19

SB3

SB20

SB18

SB15SB16

C18100nF

C23100nF

C20100nF

C25100nF

C191uF

R31510

R29 0

NRST

C24100nF

MCO MCOSB17

12

X38MHz

Not Fitted

L1

fcm

1608

-060

3

C261uF

VDD_MCU

PH0-OSC_IN 5

PH1-OSC_OUT 6

NRST 7

PA0/WKUP1/USART2_ CTS/A DC_I N0/TI M2_CH1_ETR/COMP1_I NP14

PA1/USART2_ RTS/A DC_I N1/TIM2_CH2/LCD_SEG0/COMP1_INP15

PA2/USART2_ TX/A DC_IN2/TI M2_CH3/TI M9_CH1/ LCD_SEG1/ COMP1 _INP16

PA3/USART2_ RX/A DC_I N3/TI M2_CH4/ TI M9_CH2/LCD_SEG2/COMP1_I NP17

PA4/SPI1_NSS/USART2_ CK/A DC_I N4/DAC_OUT1/ COMP1_INP20

PA5/SPI1_SCK/A DC_IN5/DAC_OUT2/TIM2_CH1_ETR/COMP1_I NP21

PA6/SPI1_MISO/ADC_I N6/TI M3_CH1/ TI M1_BKI N/LCD_SEG3/ TI M10_CH1/COMP1_I NP22

PA7/SPI1_MOSI /ADC_I N7/TI M3_CH2/ TI M1_CH1N/LCD_SEG4/TI M11_CH1/COMP1_I NP23

PB0/ADC_I N8/TI M3_CH3/LCD_SEG5/COMP1_I NP/VREF_OUT26

PB1/ADC_I N9/TI M3_CH4/LCD_SEG6/COMP1_I NP/VREF_OUT27

PB2/BOOT128

PB10/I2C2_SCL/USA RT3_ TX/TI M2_CH3/LCD_SEG1029

PB11/I2C2_SDA/USART3_RX/TI M2_CH4/LCD_SEG1130

PB12/SPI2_NSS/I2 C2_SMBA/USART3_CK/LCD_S EG12/ADC_IN18/COMP1_I NP/TI M10_CH133

PB13/SPI2_SCK/USA RT3_CTS/LCD_S EG13/ADC_IN19/COMP1_I NP/TI M9_CH134

PB14/SPI2_MISO/USART3 _RTS/LCD_SEG14/A DC_I N20/COMP1_INP/TI M9_CH235

PB15/SPI2_MOSI /TIM1_CH3N/LCD_S EG15/ADC_IN21/COMP1_I NP/TI M11_CH1/RTC_ 50_60Hz36

PA8/USART1_ CK/MCO/LCD_COM041

PA9/USART1_ TX/LCD_COM142

PA10/USART1 _RX/ LCD_COM243

PA11/USART1 _CTS/USBDM/SPI1_MISO44

PA12/USART1 _RTS/USBDP/S PI1_MOSI45

PA13/SWDIO46

PA14/SWCLK49

PA15/TIM2_CH1_ETR/PA 15/SPI1_NSS/ LCD_SEG1750

PB3/TI M2_CH2/PB3/TRA CESWOSPI1 _SCK/COMP2_I NM/LCD_S EG755

PB4/TI M3_CH1/PB4/SPI1_MISO/COMP2_INP/LCD_SEG856

PB5/I2C1_SMBAl /TIM3_CH2/SPI1_MOSI /COMP2_I NP/LCD_SEG957

PB6/I2C1_SCL/TI M4_CH1/USA RT1_TX58

PB7/I2C1_SDA /TIM4_CH2/ USA RT1_RX/PVD_IN59

BOOT0 60

PB8/TI M4_CH3/I 2C1_SCL/LCD_SEG16/TI M10_CH161

PB9/TI M4_CH4/I 2C1_SDA/ LCD_COM3/TI M11_CH162

PC13 2PC14-OSC32_IN 3PC15-OSC32_OUT 4

PC0 8PC1 9PC2 10PC3 11PC4/ADC_I N14/LCD_SEG22/COMP1_INP 24PC5/ADC_I N15/LCD_SEG23/COMP1_INP 25PC6/TI M3_CH1/LCD_SEG24 37PC7/TI M3_CH2/LCD_SEG25 38PC8/TI M3_CH3/LCD_SEG26 39PC9/TI M3_CH4/LCD_SEG27 40PC10/USART3_TX/ LCD_S EG28/LCD_SEG40/LCD_COM4 51PC11/USART3_RX/LCD_SEG29/LCD_SEG41/ LCD_COM5 52PC12/USART3_CK/LCD_SEG30/LCD_SEG42/ LCD_COM6 53

PD2/TI M3_ETR/L CD_SEG31/LCD_SEG43/LCD_COM7 54

U8A

STM32 L152RCT6

VSSA 12VDDA13

VSS_4 18

VSS_1 31

VSS_2 47

VSS_3 63

VLCD1

VDD_419

VDD_132

VDD_248

VDD_364

U8B

STM32 L152RCT6

Page 35: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Electrical schematics

UM

1079

35/39D

ocID018789 R

ev 3

Figure 18. STM32L1 discovery LCD

1

1

2

2

3

3

4

4

D D

C C

B B

A A

STMicroelectronicsTi tle:

Number: Rev: Sheet ofC.1(PCB .SCH) Date:2/12/2013MB963 4 6

STM32L-DISCOVERY LCD

LCD

SEG

01

SEG

12

SEG

23

SEG

34

SEG

45

SEG

56

SEG

67

SEG

78

SEG

89

SEG

910

SEG

1011

SEG

1112

COM

313

COM

214

COM

115

COM

016

SEG

1217

SEG

1318

SEG

1419

SEG

1520

SEG

1621

SEG

1722

SEG

1823

SEG

1924

SEG

2025

SEG

2126

SEG

2227

SEG

2328

U4GH08172T

PB8PA15

PB15

PC2PC1

PC0

PC11PC10

PC9PC8

PC3

PC7PC6

PA8PA9

PA10PA1PA2

PA3PB3

PB4PB5

PB10 PB11

PB9

PB12PB13

PB14

Page 36: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

UM

1079Electrical schem

atics

DocID

018789 Rev 3

36/39

Figure 19. STM32L1 discovery IDD measurement

1

1

2

2

3

3

4

4

D D

C C

B B

A A

STMicroelectronicsTi tle:

Number: Rev: Sheet ofC.1(PCB .SCH) Date:2/12/2013MB963 5 6

STM32L-DISCOVERY IDD_Measurement

R2047K

PA4

PC13PA0

2

3

4

5

U774LX1 G04CTR

I/O1 O/I 2

GND3 C4

VCC 5

U6

74H1G66STRVDDR21

2(1%)

R22

1K(1%)

VDD

Q121

Q132

Q143

Q64

Q55

Q76

Q47

GND8 CO 9CO 10CI 11CLR 12Q9 13Q8 14Q10 15VCC 16U3

M74HC4060TTR

VDDVDD

R2510K

R18

10K C131uF

VDD_MCU

12

3 JP1

C151nF

R2315K

R2430K

Oscillator frequency 30KHz

VDD

R19

0

IDD_Measurement

IDD_WA KEUPIDD_CNT_EN

C14100nF

SB2

SB1SB14

IDD Measure

onoff

4

5

2

3

1 U5MAX9938FEUK+

VDD

S11 D1 8

G12 D1 7

S23 D2 6

G24 D2 5

U20

STS4DPF20L

Page 37: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Electrical schematics

UM

1079

37/39D

ocID018789 R

ev 3

Figure 20. STM32L1 discovery linear touch sensor/touchkeys

1

1

2

2

3

3

4

4

D D

C C

B B

A A

STMicroelectronicsTi tle:

Number: Rev: Sheet ofC.1(PCB .SCH) Date:2/12/2013MB963 6 6

STM32L-DISCOVERY Linear Sensor and Push Button

PC4

PA6

PB0

SLD

_1

SLD

_2

SLD

_3

11

22

33

S1

Sli der 3 pos

PA7

PC5

PB1

C30

100nF

NRSTNRST

USER & WAKE -UP Button

RES ET Button

R3810K

VDD

PA0

123

4

B1SW

-PU

SH-C

MS

SB4

C31

100nF

R37100K

VDD

123

4

B2SW

-PU

SH-C

MS

SB5

R3310K

R3410K

R3510K

C2747nF

SLIDER 3 P ositions

PA0

PB0

PC4

PA6

PA7

PC5

PB1

Not Fitted

GR P 2 GR P 9 GR P 3

R36

330

C2847nF

C2947nF

Page 38: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

Revision history UM1079

38/39 DocID018789 Rev 3

8 Revision history

Table 9. Document revision history

Date Revision Changes

10-May-2011 1 Initial release.

24-June-2011 2Added Chapter 6: Mechanical drawing. Modified Chapter 4.3: Power supply and power selection.

19-Apr-2013 3

Added 32L152CDISCOVERY, related features.Updated STM32L-DISCOVERY url.Modified Section 2.2: System requirements, Section 2.5: Order codes, Section 4.1: STM32L152RBT6 or STM32L152RCT6 microcontroller, Section 4.2.1: Using the ST-LINK/V2 to program/debug the STM32L on board, and Section 4.2.2: Using the ST-LINK/V2 to program/debug an external STM32L applicationUpdated Figure 1: STM32L1 discovery board, Figure 2: Hardware block diagram, Figure 3: Top layout, Figure 6: STM32L152RBT6 block diagram, Figure 13: LCD segment mapping and all schematics in Section 7.

Page 39: STM32L1 discovery kits: STM32L-DISCOVERY and …akizukidenshi.com/download/ds/st/um1079_user_manual.pdf · STM32L1 discovery kits: STM32L-DISCOVERY and ... • USB type A to Mini-B

DocID018789 Rev 3 39/39

UM1079

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve theright to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, without notice.

All ST products are sold pursuant to ST’s terms and conditions of sale.

Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes noliability whatsoever relating to the choice, selection or use of the ST products and services described herein.

No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of thisdocument 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 productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIEDWARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIEDWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWSOF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

ST PRODUCTS ARE NOT AUTHORIZED FOR USE IN WEAPONS. NOR ARE ST PRODUCTS DESIGNED OR AUTHORIZED FOR USEIN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITHPRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS ORENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNEDFOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED INWRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE,AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTSFORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDINGGOVERNMENTAL AGENCY.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately voidany warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, anyliability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries.Information in this document supersedes and replaces all information previously supplied.

The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

© 2013 STMicroelectronics - All rights reserved

STMicroelectronics group of companies

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

www.st.com