STMicroelectronics 的 STM32L0538-DISCOVERY User Manual 规格书

’l hieaugmemed &:xli€1¥¥ ‘ ZS“. Eva inn—n. mu. 3.. zuIHLAm—FEU ARM mbed
January 2016 DocID026429 Rev 3 1/39
UM1775
User manual
Discovery kit for STM32L0 series with STM32L053C8 MCU
Introduction
The STM32L053 discovery kit (32L0358DISCOVERY) helps the user discover the full range
of features of the STM32L0 series and develop applications. It is based on
STM32L053C8T6 and includes ST-LINK/V2-1 embedded debug tool interface, linear touch
sensor, touch keysRev 3, IDD current measurement, 2.04” E-paper display, NFC connector
for PLUG-CR95HF-B board, LEDs, pushbuttons and USB Mini-B connector.
The board comes with a comprehensive STM32 software HAL library with various packaged
software examples, as well as direct access to mbed™ online resources at http://mbed.org.
Figure 1. STM32L053 discovery board
Picture not contractual
www.st.com
Contents UM1775
2/39 DocID026429 Rev 3
Contents
1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Ordering and product information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1 Embedded ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.1 Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.2 ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1.3 VCP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1.4 Using ST-LINK/V2-1 to program/debug the STM32L053 on board . . . 14
4.1.5 Using ST-LINK/V2-1 to program/debug an external
STM32 application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.2.1 Power supply input from the USB connector . . . . . . . . . . . . . . . . . . . . . 17
4.2.2 External power supply inputs: 5V_IN or USB USER CN3 . . . . . . . . . . . 17
4.3 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.4 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.5 NFC connector for PLUG-CR95HF-B board . . . . . . . . . . . . . . . . . . . . . . 19
4.6 Electronic Paper Display (EPD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.7 JP4 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.8 BOOT0 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.9 Linear touch sensor / touch keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.10 USB device support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.11 USART configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.12 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.13 OSC 32 kHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.14 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.15 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
DocID026429 Rev 3 3/39
UM1775 Contents
3
5 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
List of tables UM1775
4/39 DocID026429 Rev 3
List of tables
Table 1. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 2. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 3. Debug connector CN5 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 4. NFC connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 5. Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 6. Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 7. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
DocID026429 Rev 3 5/39
UM1775 List of figures
5
List of figures
Figure 1. STM32L053 discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. STM32L053 discovery hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5. Updating the list of drivers in device manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 6. STM32L053 discovery board connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 7. ST-LINK/V2-1 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 8. NFC board plugged on STM32L053 discovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 9. Jumper in position OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 10. Jumper in position ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 11. No Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 12. STM32L053 discovery board mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 13. STM32L053 discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 14. ST-LINK/V2-1 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 15. STM32L053C8T6 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 16. Electronic paper display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 17. Linear touch sensor, NFC, USB and pushbutton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 18. IDD measurement / MFX (multi-function expander) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Conventions UM1775
6/39 DocID026429 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 JPx ON Jumper fitted
Jumper JPx OFF Jumper not fitted
Solder bridge SBx ON SBx connections closed by Solder
Solder bridge SBx OFF SBx connections left open
DocID026429 Rev 3 7/39
UM1775 Ordering and product information
38
2 Ordering and product information
The STM32L053 discovery is a low-cost and easy-to-use development kit to quickly
evaluate and start a development with an STM32L0 series microcontroller.
Before installing and using the product, please accept the Evaluation Product License
Agreement from www.st.com/stm32l0-discovery.
For more information on the STM32L053 discovery board and for demonstration software,
visit www.st.com/stm32l0-discovery.
2.1 Product marking
Tools marked as "ES" or "E" are not yet qualified and as such, they may be used only for
evaluation purposes. ST shall not be liable for any consequences related with other ways of
use of such non-qualified tools, for example, as reference design or for production.
Examples of location of "E" or "ES" marking:
on target STM32 microcontroller part mounted on the board (for illustration, refer to
section "Package information" in its datasheet at www.st.com)
next to the evaluation tool ordering part number, as a label stuck or a silk-screen
printed on the board
2.2 Order code
To order the STM32L053 discovery kit, use the order code: STM32L0538-DISCO.
Features UM1775
8/39 DocID026429 Rev 3
3 Features
The STM32L053 discovery board offers the following features:
STM32L053C8T6 microcontroller featuring 64 Kbytes of Flash memory and 8 Kbytes
of RAM, in an LQFP48 package
On-board ST-LINK/V2-1 with selection mode switch to use the kit as a standalone
programming and debugging tool (with SWD connector for programming and
debugging)
mbed™-enabled (mbed.org)
USB ST-LINK with re-enumeration capability and three different interfaces:
Virtual COM port
Mass storage
Debug port
Board power supply: through USB bus or from an external 5 V supply voltage
External application power supply: 3 V and 5 V
One linear touch sensor or four touch keys
IDD current measurement
2.04” E-paper Display, 172x72 pixels
NFC connector for PLUG-CR95HF-B board
USB USER with Mini-B connector
Four LEDs:
LD1 (red/green) for USB communication
LD2 (red) for 3.3 V power on
Two user LEDs: LD3 (green), LD4 (red)
Two pushbuttons (user and reset)
Extension header for LQFP48 I/Os for a quick connection to the prototyping board and
easy probing
MinI USB | Embedded ST—LI N KN 2-1 C: E "’ F1 STM32L053C8T6 IO IO ‘1?” § 8 IO RESET m I I LEDs 82 LBS, LD4 RESET Linear Touch B1 Sensor USER NFC Idd Current connector measuremem E-Paper DIsplay
DocID026429 Rev 3 9/39
UM1775 Hardware layout
38
4 Hardware layout
The STM32L053 discovery board has been designed around the STM32L053C8T6
microcontroller in a 48-pin LQFP package.
Figure 2 illustrates the connections between the STM32L053C8T6 and its peripherals (ST-
LINK/V2-1, linear touch sensor, touch keys, IDD current measurement, 2.04” E-paper
display, NFC connector for PLUG-CR95HF-B board, LEDs, pushbuttons and an USB Mini-B
connector).
Figure 3 and Figure 4 help you to locate these features on the STM32L053 discovery board.
Figure 2. STM32L053 discovery hardware block diagram
rs gm I fin I 1! a (5 nun-u z______-____ w III .2 u sfll x1 I 35 www st.com/Stm31l0 Iscuverv d Msausm
Hardware layout UM1775
10/39 DocID026429 Rev 3
Figure 3. Top layout
069
%227
FRQILJXUDWLRQ
-3
,''PHDVXUHPHQW
/'&20
-3
UHVHUYHG
&1
1)&FRQQHFWRU
9SRZHU
VXSSO\LQSXW
9SRZHU
VXSSO\RXWSXW
6%6%
9&35;7;
%
XVHUEXWWRQ
/LQHDUWRXFKVHQVRUWRXFK.H\V
%
UHVHWEXWWRQ
/'5HG/('
&1
67/,1.',6&29(5<
VHOHFWRU
9SRZHU
VXSSO\RXWSXW
/'
3:5
86%67/,1.
67/,1.9
86%86(5
-3
UHVHUYHG
-35;7;
/'2UDQJH/('
´
(SDSHUGLVSOD\
al) \ usacaTe / Nt W ran an Matt E t t WOO.W..DOOOOOOOODOOOOOOOIa usa snmx n m as m as nzsmvzu nm a g m emu-II 228‘" "IIII-IIIII-IIII-I figs. m $5754” assafiafiiiz III||IIIIIII :51 Ilm mm a mm 5 mm 5 run g M; J3 a: 7"?“ U 5N
DocID026429 Rev 3 11/39
UM1775 Hardware layout
38
Figure 4. Bottom layout
069
6%
670B567
6%
UHVHUYHG
6%
1567
6%
GHIDXOW
6%
%86(5
6%
5;7;
6%
0&2
6%
86%B86(5
670/&7
6%
26&B,1
6%
WRXFKVHQVRU
6%
;FU\VWDO
6%
%5(6(7
;FU\VWDO
Hardware layout UM1775
12/39 DocID026429 Rev 3
4.1 Embedded ST-LINK/V2-1
The ST-LINK/V2-1 programming and debugging tool is integrated on the STM32L053
discovery board.
The embedded ST-LINK/V2-1 supports only SWD for STM32 devices. For information about
debugging and programming features, refer to user manual UM1075 (ST-LINK/V2 in-circuit
debugger/programmer for STM8 and STM32) which describes in detail all the ST-LINK/V2
features.
The changes versus ST-LINK/V2 are listed below.
New features supported on ST-LINK/V2-1:
USB software re-enumeration
Virtual COM port interface on USB (Section 4.1.3)
Mass storage interface on USB
USB power management request for more than 100 mA power on USB
Features not supported on ST-LINK/V2-1:
–SWIM interface
Minimum supported application voltage limited to 3 V
There are two different ways to use the embedded ST-LINK/V2-1 depending on the jumper
states (see Table 2):
program/debug the MCU on board (Section 4.1.4).
program/debug an MCU in an external application board using a cable connected to
SWD connector CN5 (Section 4.1.5).
4.1.1 Drivers
ST-LINK/V2-1 requires a dedicated USB driver that, for Windows XP, 7 and 8, can be found
at www.st.com.
In case the STM32L053 discovery board is connected to the PC before the driver is
installed, some discovery interfaces may be declared as “Unknown” in the PC device
manager. In this case the user must install the driver files (Figure 5), and from the device
manager update the driver of the connected device.
Note: Prefer using the “USB Composite Device” handle for a full recovery.
Table 2. Jumper states
Jumper state Description
Both CN4 jumpers ON ST-LINK/V2-1 functions enabled for on board programming (default)
Both CN4 jumpers OFF ST-LINK/V2-1 functions enabled for application through external CN5
connector (SWD supported)
n- Aa—Jiu "I. A o-nvlmllmlmln Iran fi—WWMW..." i a mcusarn: ‘ 6 Myanmar“ 1 b MMUSIM U mmwmeimrmmmwnmtm U mtmlwmathwxmwmsmm Mm (mm a Mmmmmiu-mcmk mmwnmum . gm ‘ 7 , USIMAuEI - momma...” — 7 “'1‘ . mam.m . M ‘l. m
DocID026429 Rev 3 13/39
UM1775 Hardware layout
38
Figure 5. Updating the list of drivers in device manager
4.1.2 ST-LINK/V2-1 firmware upgrade
ST-LINK/V2-1 embeds a firmware upgrade mechanism for in-situ upgrade through the USB
port. As the firmware may evolve during the life time of the ST-LINK/V2-1 product (for
example new functionality, bug fixes, support for new microcontroller families), it is
recommended to visit www.st.com at the board delivery, then periodically in order to stay up-
to-date with the latest firmware version.
4.1.3 VCP configuration
ST-LINK/V2-1 supports virtual COM port (VCP). To enable this function, the solder bridges
SB2 and SB3 (See Figure 3: Top layout) for mbed support are closed. Table 5: Solder
bridges indicates this with ON state.
C N 5 SWD connector DISCOVERV CN4jumpers ON n: CUFITE X 64 KB Flash BKB HAM
Hardware layout UM1775
14/39 DocID026429 Rev 3
4.1.4 Using ST-LINK/V2-1 to program/debug the STM32L053 on board
To program the STM32L053 on board, simply plug in the two jumpers on CN4, as shown in
Figure 6 in red, but do not use the CN5 connector as that could disturb communication with
the STM32L053C8T6 of the STM32L053 discovery board.
Figure 6. STM32L053 discovery board connections
DocID026429 Rev 3 15/39
UM1775 Hardware layout
38
4.1.5 Using ST-LINK/V2-1 to program/debug an external
STM32 application
It is very easy to use ST-LINK/V2-1 to program an STM32 microcontroller on an external
application. Simply remove the 2 jumpers from CN4 as shown in Figure 7 and connect your
application to the CN5 debug connector according to Tabl e 3.
Note: SB13, must be OFF if you use CN5 pin 5 (NRST) in your external application.
Table 3. Debug connector CN5 (SWD)
Pïn CN5 Designation
1VDD_TARGET VDD from application
2SWLCK SWD clock
3GND Ground
4SWDIO SWD data input/output
5NRST RESET of target MCU
6SWO Reserved
C N 5 SWD connector CN4 jumpers OFF n: CUFITEX 64 KB Flash BKB HAM
Hardware layout UM1775
16/39 DocID026429 Rev 3
Figure 7. ST-LINK/V2-1 connections
4.2 Power supply and power selection
The power supply is provided either by the host PC through the USB cable, or by an
external 5 V power supply.
The STM32L053 discovery board requires to the Host PC 300mA, but around 90mA is
needed for its demo, 100mA for an extension board and a safety margin of 100mA.
The D3, D4 and D6 diodes protect the 5 V pins from external power supplies:
5 V and 3 V can be used as output power supplies when an extension board is
connected to pins P2 and P3.
DocID026429 Rev 3 17/39
UM1775 Hardware layout
38
In this case, the 5V_O and 3V_O pins deliver a 5 V or 3.3 V power supply and the
power consumption of the extension board must be lower than 100 mA.
5 V can also be used as input power supplies, e.g. when the USB connector is not
connected to the PC. (5V_I pin of P3 Header)
In this case, the STM32L053 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.
4.2.1 Power supply input from the USB connector
ST-LINK/V2-1 supports USB power management allowing to request more than 100 mA
current to the host PC.
All parts of the STM32L053 discovery board and extension board can be powered from the
ST-LINK/V2-1 USB connector CN2 (U5V or VBUS). Note that only the ST-LINK/V2-1 part is
power supplied before the USB enumeration as the host PC only provides 100 mA to the
board at that time. During the USB enumeration, the STM32L053 discovery board requires
300 mA of current to the Host PC. If the host is able to provide the required power, the
targeted STM32 microcontroller is powered and the red LED LD2 is turned on, thus the
STM32L053 discovery board and its extension board can consume a maximum of 300 mA
current, not more. If the host is not able to provide the required current, the targeted STM32
microcontroller and the MCU part including the extension board are not power supplied. As
a consequence the red LED LD2 remains turned OFF. In such case it is mandatory to use
an external power supply as explained in the next chapter.
Warning: If the maximum current consumption of the STM32L053 discovery and its
extension boards exceeds 300 mA, it is mandatory to power the STM32L053 discovery
using an external power supply connected to 5V_IN.
Note: In case of this board is powered by an USB charger or USB battery then there is no USB
enumeration so the led LD1 remains OFF permanently and the target MCU is not powered.
In this specific case the jumper JP2 needs to be ON to allow target MCU to be powered
anyway. This is a special use without enumeration and JP2 is not soldered. To use this
optional power supply, solder a 2 pins header in JP2 and set a jumper.
4.2.2 External power supply inputs: 5V_IN or USB USER CN3
The external power source 5V_IN or USB USER CN3 is automatically detected, in this case
the current consumption of STM32L053 discovery board and extension board may exceed
the allowed current on USB. In this condition it is still possible to use the USB for
communication, for programming or debugging only, but it is mandatory to power supply the
board first using 5V_IN or USB USER CN3 then connect the USB cable to the PC.
Proceeding this way ensures that the enumeration occurs thanks to the external power
source.
The following power sequence procedure must be respected:
1. Connect the external power source to 5V_IN or USB USER CN3.
2. Power on the external power supply 5V_IN or USB USER CN3.
3. Check that LD2 is turned on.
4. Connect the PC to USB connector CN2.
If this order is not respected, the board may be supplied by VBUS first then by 5V_IN or
USB USER CN3, and the following risks may be encountered:
Hardware layout UM1775
18/39 DocID026429 Rev 3
1. If more than 300 mA current is needed by the board, the PC may be damaged or the
current supply can be limited by the PC. As a consequence the board is not powered
correctly.
2. 300 mA is requested at enumeration (since JP2 must be OFF) so there is a risk that the
request is rejected and the enumeration does not succeed if the PC cannot provide
such current. Consequently the board is not power supplied (LED LD2 remains OFF).
4.3 LEDs
LD1 COM:
LD1 default status is red. LD1 turns to green to indicate that communications are in
progress between the PC and ST-LINK/V2-1.
LD2 PWR:
The red LED indicates that the board is powered.
User LD3:
The green LED is a user LED connected to the I/O PB4 of the STM32L053C8T6.
User LD4:
The red LED is a user LED connected to the I/O PA5 of the STM32L053C8T6.
4.4 Pushbuttons
B1 USER:
User and Wake-Up button connected to the I/O PA0 of the STM32L053C8T6.
B2 RESET:
The pushbutton connected to NRST is used to RESET the STM32L053C8T6.
.A znfigmzofin 25552 N amounmxau
DocID026429 Rev 3 19/39
UM1775 Hardware layout
38
4.5 NFC connector for PLUG-CR95HF-B board
A NFC (Near Field Communication) transceiver board can be connected to the STM32L053
Discovery board, for example the PLUG-CR95HF-B board.
The NFC board is plugged in connector CN1 of STM32L053 Discovery board as following:
Figure 8. NFC board plugged on STM32L053 discovery
Hardware layout UM1775
20/39 DocID026429 Rev 3
The NFC board can be accessed in SPI or UART mode.
4.6 Electronic Paper Display (EPD)
The STM32L053 Discovery includes an E-Paper PD with High contrast, High reflectance and
Ultra wide viewing angle.
This display is a TFT active matrix electrophoretic display. The 2.04" active area contains
172x72 pixels, and has 1-bit and 2-bit full display capabilities. An integrated circuit contains
buffers, interface, control logic, oscillator, DC-DC, Etc... (For more information on E-Paper
GDE021A1, see www.good-display.com)
The STM32L053C8T6 controls this peripheral and is able to switch off its power supply.
(See Section 6: Electrical schematics)
4.7 JP4 (Idd)
Jumper JP4, labeled Idd, allows the consumption of STM32L053C8T6 to be measured
directly by a module onboard able to measure from 100 nA to 50 mA or by removing the
jumper and connecting an ammeter.
Jumper in position OFF: STM32L053C8T6 is powered (default).
Figure 9. Jumper in position OFF
Table 4. NFC connector pinout
CN1 pin NFC signals STM32L053C8T6 Description
1NFC_IRQOUTN
or UART1_TX PB7 Interrupt output for NFC connected to
STM32L053C8T6 UART1 RX
2NFC_IRQINN or
UART1_RX PB6 Interrupt input for CR95HF connected to
STM32L053C8T6 UART1 TX
3 NFC_NSS PB12 SPI slave select
4 NFC_MISO PB14 SPI data, slave output
5 NFC_MOSI PB15 SPI data, slave input
6 NFC_SCK PB13 SPI serial clock
7 +3V3 Main power supply/power supply for RF drivers
8 GND Ground
22
DocID026429 Rev 3 21/39
UM1775 Hardware layout
38
Jumper in position ON: a module onboard is designed to measure from 100 nA to
50 mA by using several MOSFET and switching automatically depending the read
value.
Figure 10. Jumper in position ON
NO Jumper on JP4: an ammeter must be connected to measure the STM32L053C8T6
current through pin 1 and 2 (if there is no ammeter, the STM32L053C8T6 is not
powered).
Figure 11. No Jumper
4.8 BOOT0 configuration
BOOT0 is at level “0” through a pull-down R65. If you want to set BOOT0 at level “1”, it can
be configured by setting a jumper between P2.6 (BOOT0) and P2.5 (VDD).
Note: If you need to set BOOT0 at level "1" continuously, then unsolder the resistor R65 to avoid a
consumption of 6 mA while connecting pin P2.6 (BOOT0) and P2.5 (VDD) with a jumper or
with a wire.
4.9 Linear touch sensor / touch keys
To demonstrate touch sensing capabilities, the STM32L053 discovery includes a linear
touch sensor which can be used either as a 3-position linear touch sensor or as 4 touch
keys. Both functions are illustrated in the demonstration software.
Hardware layout UM1775
22/39 DocID026429 Rev 3
3 pairs of I/O ports are assigned to the linear touch sensor / touch keys. Each pair must
belong to the same analog switch group:
PA2, PA3 (group 1)
PA6, PA7 (group 2)
PB0, PB1 (group 3)
To minimize the noise, these pairs are dedicated to the linear touch sensor and the touch
keys 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 STM32L053C8T6 datasheet.
For information on software development, see DISCOVER application software on
www.st.com/stm32l0-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 www.st.com/stm32l0-discovery.
The STM32L053C8T6 MCU controls the linear touch sensor and the touch keys.
4.10 USB device support
The STM32L053C8T6 MCU is also used to drive the second USB Mini-B connector (USB
USER) which allows the board to be used as a USB Device. The STM32L053 discovery can
then act as a USB joystick, mouse, or other similar device. If both USBs are connected,
diodes D3 and D4 protect the board and use the power from USB ST-LINK or USB USER.
Section 4.2.2: External power supply inputs: 5V_IN or USB USER CN3.
The board can be powered through this USB USER connector, in which case LED2 PWR
lights up, LED1 COM blinks and it can run an application in standalone mode.
The STM32L053C8T6 MCU controls the USB USER through PA11 and PA12.
4.11 USART configuration
The USART1 interface available on PA9 and PA10 of the STM32L053C8T6 can be
connected to the ST-LINK/V2-1 MCU to use the virtual COM port function.
By default the USART1 communication between the target STM32L053C8T6 and
ST-LINK/V2-1 MCU is not enabled.
To use the virtual COM port function with:
The on-board STM32L053C8T6, then set SB2 and SB3 ON. (SB14,15 must be OFF)
An external MCU then remove solder from SB2 and SB3, solder a 2 pins header on
JP3, then you can connect RX and TX of the external MCU directly to RX and TX of
JP3. (for more details see Section 6: Electrical schematics)
4.12 OSC clock supply
If PH0 is only used as GPIOs instead of as a clock, then SB21 is closed. (SB20 must be
open)
DocID026429 Rev 3 23/39
UM1775 Hardware layout
38
MCO from ST-LINK/V2-1 (from MCO of the STM32F103CBT6)
This frequency cannot be changed, it is fixed at 8 MHz and connected to PH0-OSC_IN of
the STM32L053C8T6. The configuration needed is:
SB20 closed and SB21 open
Oscillator from external PH0 (from external oscillator through pin 7 of the P3 connector)
The configuration needed is:
SB21 closed and SB20 open
Note: Please refer to the AN2867 for oscillator design guide for STM32 microcontrollers.
4.13 OSC 32 kHz clock supply
If PC14 and PC15 are only used as GPIOs instead of as a clock, then SB18 and SB19 are
closed and R70 and R71 are removed.
HSE Oscillator onboard from X2 crystal (not provided)
For typical frequencies and its capacitors and resistors, please refer to the
STM32L053C8T6
Datasheet. The configuration needed is:
SB18, SB19 open
X2, R70, R71, C47, C50 soldered
Oscillator from external PC14 (from external oscillator through pin 5 of the P3 connector)
the configuration needed is:
SB18 closed
SB19 open
R70 removed
Note: Please refer to the AN2867 for oscillator design guide for STM32 microcontrollers.
Hardware layout UM1775
24/39 DocID026429 Rev 3
4.14 Solder bridges
Table 5. Solder bridges
Bridge State(1) Description
SB18, 19 (X2 crystal)
OFF X2, C47, C50, R70 and R71 provide a clock. PC14, PC15 are disconnected
from P3.
ON PC14, PC15 are connected from P3. Remove only R70 and R71
SB7,8,9,12 (default) ON Reserved, do not modify
SB4,5,6,11 (reserved) OFF Reserved, do not modify
SB14,15 (reserved) OFF Reserved, do not modify
SB29 (B2-RESET)
ON B2 Push Button is connected to NRST of STM32L053C8T6
OFF B2 Push Button is not connected to NRST of STM32L053C8T6
SB22 (B1-USER)
ON B1 Push Button is connected to PA0
OFF B1 Push Button is not connected to PA0
SB2,3 (VCP RX, TX)(2)
OFF PA2, PA3 of STM32F103CBT6 are not connected to PA10, PA9 of
STM32L053C8T6
ON PA2, PA3 of STM32F103CBT6 are connected to PA10, PA9 of
STM32L053C8T6
SB16,17 (USB_USER)
OFF USB1_DP and USB1_DM are dedicated to the USB USER connector CN3
ON USB1_DP is connected to PA12 and USB1_DM is connected to PA11. Both are
available as GPIO on P2, P3 headers.
SB23,24,25,26,27,28
(touch sensor)
OFF PA2, PA3, PA6, PA7, PB0, PB1 are dedicated to touch sensor.
ON PA2, PA3, PA6, PA7, PB0, PB1 are available as GPIO on P2, P3 headers.
SB1 (ST-LINK/V2-1
PWR)
ON ST-LINK/V2-1 module is powered
OFF ST-LINK/V2-1 module is not powered
SB21 (OSC_IN)
OFF Clock signal from header P3.7 is connected to OSC_IN of STM32L053C8T6 or
PH0 is available as GPIO. SB20 must be OFF
ON No connection between header P3.7 and PH0 of STM32L053C8T6
SB13 (NRST)
ON T_NRST signal from connector CN5 and STM32F103CBT6, is connected to
NRST of STM32L053C8T6
OFF T_NRST signal is not connected
SB10 (STM_RST)
OFF No incidence on NRST signal of STM32F103CBT6
ON NRST signal of STM32F103CBT6 is connected to GND
SB20 (MCO) ON MCO clock signal from STM32F103CBT6 is connected to OSC_IN of
STM32L053C8T6. SB21 must be OFF
OFF MCO signal of STM32F103CBT6 is not used.
1. Default value is in bold.
2. Default state is OFF for boards labeled MB1143 B-01 and older.
DocID026429 Rev 3 25/39
UM1775 Hardware layout
38
4.15 Extension connectors
The male headers P2 and P3 can connect the STM32L053 discovery board to a standard
prototyping/wrapping board. STM32L053C8T6 GPI/Os are available on these connectors.
P2 and P3 can also be probed by an oscilloscope, logical analyzer or voltmeter.
Table 6. Extension connectors
MCU pin Board function
Main function
LQFP48 pin num.
SYSTEM
VCP
PushButtons
LED
NFC CR95HF-B
USB USER
Linear touch sensor
E-paper Display
Idd Measure
Free I/O
Power Supply
P2
P3
CN1
CN3
SBx(1)
BOOT0 44
BOOT0
-
-
-
-
-
-
-
-
-
-
6
-
-
-
-
NRST 7
NRST
-
-
-
-
-
-
-
-
-
-
-
9
-
-
-
PA0 10
-
-
BP_USER
-
-
-
-
-
-
-
-
-
11
-
-
-
PA1 11
-
-
-
-
-
-
-
-
MFX_WAKEUP
-
-
-
12
-
-
-
PA2 12
-
-
-
-
-
-
TS_G1_IO3
-
-
-
-
-
13
-
-
SB28
PA3 13
-
-
-
-
-
-
TS_G1_IO4
-
-
-
-
-
14
-
-
SB27
PA4 14
-
-
-
-
-
-
-
-
-
PA4
-
-
15
-
-
-
PA5 15
-
-
-
-
RED
-
-
-
-
-
-
-
16
-
-
-
PA6 16
-
-
-
-
-
-
TS_G2_IO3
-
-
-
-
-
17
-
-
SB26
Hardware layout UM1775
26/39 DocID026429 Rev 3
PA7 17
-
-
-
-
-
-
TS_G2_IO4
-
-
-
-
-
18
-
-
SB25
PA8 29
-
-
-
-
-
-
-
ePD1_BUSY
-
-
-
19
-
-
-
-
PA9 30
-
USART_TX
-
-
-
-
-
-
-
-
-
18
-
-
-
-
PA10 31
-
USART_RX
-
-
-
-
-
-
-
-
-
17
-
-
-
-
PA11 32
-
-
-
-
-
USB_DM
-
-
-
-
-
16
-
-
2(2)
SB17
PA12 33
-
-
-
-
-
USB_DP
-
-
-
-
-
15
-
-
3(2)
SB16
PA13 34
SWDIO
-
-
-
-
-
-
-
-
-
-
14
-
-
-
-
PA14 37
SWCLK
-
-
-
-
-
-
-
-
-
-
13
-
-
-
-
PA15 38
-
-
-
-
-
-
-
ePD1_CS
-
-
-
12
-
-
-
-
PB0 18
-
-
-
-
-
-
TS_G3_IO2
-
-
-
-
-
19
-
-
SB24
Table 6. Extension connectors (continued)
MCU pin Board function
Main function
LQFP48 pin num.
SYSTEM
VCP
PushButtons
LED
NFC CR95HF-B
USB USER
Linear touch sensor
E-paper Display
Idd Measure
Free I/O
Power Supply
P2
P3
CN1
CN3
SBx(1)
DocID026429 Rev 3 27/39
UM1775 Hardware layout
38
PB1 19
-
-
-
-
-
-
TS_G3_IO3
-
-
-
-
-
20
-
-
SB23
PB2 20
-
-
-
-
-
-
-
ePD1_RESET
-
-
-
-
21
-
-
-
PB3 39
-
-
-
-
-
-
-
ePD1_SCK
-
-
-
11
-
-
-
-
PB4 40
-
-
-
GREEN
-
-
-
-
-
-
-
10
-
-
-
-
PB5 41
-
-
-
-
-
-
-
ePD1_MOSI
-
-
-
9
-
-
-
-
PB6 42
-
-
-
-
NFC_IRQINN
-
-
-
-
-
-
8
-
2
-
-
PB7 43
-
-
-
-
NFC_IRQOUTN
-
-
-
-
-
-
7
-
1
-
-
PB8 45
-
-
-
-
-
-
-
-
MFX_I2C_SCL
-
-
4
-
-
-
-
Table 6. Extension connectors (continued)
MCU pin Board function
Main function
LQFP48 pin num.
SYSTEM
VCP
PushButtons
LED
NFC CR95HF-B
USB USER
Linear touch sensor
E-paper Display
Idd Measure
Free I/O
Power Supply
P2
P3
CN1
CN3
SBx(1)
Hardware layout UM1775
28/39 DocID026429 Rev 3
PB9 46
-
-
-
-
-
-
-
-
MFX_I2C_SDA
-
-
3
-
-
-
-
PB10 21
-
-
-
-
-
-
-
ePD1_PWR8ENn
-
-
-
-
22
-
-
-
PB11 22
-
-
-
-
-
-
-
ePD1_D/C
-
-
-
-
23
-
-
-
PB12 25
-
-
-
-
NFC_NSS
-
-
-
-
-
-
23
-
3
-
-
PB13 26
-
-
-
-
NFC_SCK
-
-
-
-
-
-
22
-
6
-
-
PB14 27
-
-
-
-
NFC_MISO
-
-
-
-
-
-
21
-
4
-
-
PB15 28
-
-
-
-
NFC_MOSI
-
-
-
-
-
-
20
-
5
-
-
PC13 2
-
-
-
-
-
-
-
-
MFX_IRQ_OUT
-
-
-
4
-
-
-
Table 6. Extension connectors (continued)
MCU pin Board function
Main function
LQFP48 pin num.
SYSTEM
VCP
PushButtons
LED
NFC CR95HF-B
USB USER
Linear touch sensor
E-paper Display
Idd Measure
Free I/O
Power Supply
P2
P3
CN1
CN3
SBx(1)
DocID026429 Rev 3 29/39
UM1775 Hardware layout
38
PC14 3
OSC32_IN
-
-
-
-
-
-
-
-
PC14
-
-
5
-
-
-
PC15 4
OSC32_OUT
-
-
-
-
-
-
-
-
PC15
-
-
6
-
-
-
PH0 5
OSC_IN
-
-
-
-
-
-
-
-
-
-
-
7
-
-
-
PH1 6
-
-
-
-
-
-
-
-
-
PH1
-
-
8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
5V_USB_USER
-
-
-
1
-
-
-
-
-
-
-
-
-
-
-
-
-
3V3
1
-
7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
5V_IN
-
1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
5V_OUT
-
3
-
-
-
VDD 24
-
-
-
-
-
-
-
-
-
-
VDD
5
-
-
-
-
VDD 48
-
-
-
-
-
-
-
-
-
-
VDD
-
-
-
-
-
VDD_USB 36
-
-
-
-
-
-
-
-
-
-
VDD
-
-
-
-
-
VDDA 9
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
VLCD 1
-
-
-
-
-
-
-
-
-
-
VDD
-
-
-
-
-
VSS 23
-
-
-
-
-
-
-
-
-
-
GND
2284
(2)
-
Table 6. Extension connectors (continued)
MCU pin Board function
Main function
LQFP48 pin num.
SYSTEM
VCP
PushButtons
LED
NFC CR95HF-B
USB USER
Linear touch sensor
E-paper Display
Idd Measure
Free I/O
Power Supply
P2
P3
CN1
CN3
SBx(1)
Hardware layout UM1775
30/39 DocID026429 Rev 3
VSS 35
-
-
-
-
-
-
-
-
-
-
GND
25 10
-
5
-
VSS 47
-
-
-
-
-
-
-
-
-
-
GND
-
25
-
6
-
VSSA 8
-
-
-
-
-
-
-
-
-
-
GND
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
NC
24 24
-
-
-
1. Signals available depending on SBx value. Refer to Table 5: Solder bridges or schematics in Section 6.
2. Connected through a resistor
Table 6. Extension connectors (continued)
MCU pin Board function
Main function
LQFP48 pin num.
SYSTEM
VCP
PushButtons
LED
NFC CR95HF-B
USB USER
Linear touch sensor
E-paper Display
Idd Measure
Free I/O
Power Supply
P2
P3
CN1
CN3
SBx(1)
55.88mm 120‘02m m E E _. w "9 “l T E E H co ,< h="" e="" e="" e="" #7="" e="" no="" no="" h="" h="" ni="" e="" «i="" 9="" e="" e="" no="" ".="" u="" h="" l="" m="" m="" 3="" e:="" s="" 1="" o="" e="" 93="" e="" e="" e="" a:="" e="" 3="" s="" e‘="" 8="" w="" e="" e="" g="" e,="" eq="" 09="" m="" m="" h="" h="" ¢="" l="" 6.35mm="" 4118mm="" £35mm="">
DocID026429 Rev 3 31/39
UM1775 Mechanical drawing
38
5 Mechanical drawing
Figure 12. STM32L053 discovery board mechanical drawing
"in
Electrical schematics UM1775
32/39 DocID026429 Rev 3
6 Electrical schematics
Figure 13. STM32L053 discovery
16
STM32L053 Discovery
MB1143 B-01
22-May-14
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L0538-DISCO
Project:
SWDIO
SWCLK PA14
PA13
MCO
NRST T_NRST
PB8
BOOT0
NRST
PC15
PC14PH1
PH0
MCO
PC13
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB9
PB10
PB11
PB12
PB13
PB14
PB15
B_USER
LD_R
SWCLK
SWDIO
USART_TX
USART_RX
LD_G
ePD1_BUSY
ePD1_RESET
ePD1_D/C
ePD1_CS
ePD1_SCK
ePD1_MOSI
ePD1_PWR_ENn
USB1_DP
USB1_DM
TS_G3_IO2
TS_G1_IO3
TS_G2_IO3
TS_G1_IO4
TS_G2_IO4
TS_G3_IO3
NFC_IRQINn
NFC_MISO
NFC_SCK
NFC_IRQOUTn
NFC_NSS
NFC_MOSI
MFX_I2C_SCL
MFX_I2C_SDA
MFX_IRQ_OUT
MFX_WAKEUP
U_STM32Lx
STM32Lx.SchDoc
MCO
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PC13
PC14
PC15
PH0
PH1
BOOT0
NRST
Rev A-01 --> PCB label MB1143 A-01
Rev B-01 --> PCB label MB1143 B-01, Layout of MOSFET modified
Idd Shunt resistors adjusted, Correction on CN1 and CN3
USART_TX
USART_RX
B_USER LD_G
LD_R
VDD
GND
GND
GND
PA0
PA1
PA2
NRST
PC13
PC14
PC15
PH1
PH0
PA4
PA5
PA6
PA7
PB10
PB11
PB1
PB2
PB0
PA3
PB5
PB6
PB7
PB8
PB9
PA15
PB3
PA14
PB4
BOOT0
PA11
PA12
PA9
PA10
PB12
PB13
PB14
PB15
PA13
PA8
SWDIO
SWCLK
PB4
PB3
USART_TX
USART_RX
5V_IN
5V_OUT
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
P2
Header 25
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
P3
Header 25
NC
NC
NRST NRST TS_G1_IO3
TS_G1_IO4
TS_G2_IO3
TS_G2_IO4
TS_G3_IO2
TS_G3_IO3
B_USER
LD_R
LD_G
USB1_DM
USB1_DP
NFC_IRQINn
NFC_IRQOUTn
NFC_NSS
NFC_MOSI
NFC_MISO
NFC_SCK
U_SENSOR_PB
SENSOR_PB.SchDoc
B_USER
TS_G3_IO2
TS_G3_IO3
TS_G1_IO3
TS_G1_IO4
TS_G2_IO3
TS_G2_IO4
ePD1_BUSY
ePD1_RESET
ePD1_D/C
ePD1_CS
ePD1_SCK
ePD1_MOSI
ePD1_PWR_ENn
U_E-Paper_Display
E-Paper_Display.SchDoc
SWDIO
SWCLK
MCO
NRST
USART_RX
USART_TX
MFX_USART3_RX
MFX_USART3_TX
U_ST_LINK_V2-1
ST_LINK_V2-1.SCHDOC
MFX_WAKEUP
MFX_IRQ_OUT
MFX_I2C_SDA
MFX_I2C_SCL
MFX_USART3_RX
MFX_USART3_TX
U_IDD_measurement
IDD_measurement.SchDoc
NFC_IRQINn
NFC_IRQOUTn
NFC_NSS
NFC_MOSI
NFC_MISO
NFC_SCK
NFC_IRQINn
NFC_IRQOUTn
NFC_NSS
NFC_MOSI
NFC_MISO
NFC_SCK
TS_G3_IO2
TS_G3_IO3
TS_G1_IO3
TS_G1_IO4
TS_G2_IO3
TS_G2_IO4
USB1_DM
USB1_DP
LD_G
LD_R
USB1_DM
USB1_DP
ePD1_BUSY
ePD1_D/C
ePD1_RESET
ePD1_SCK
ePD1_CS
ePD1_MOSI
ePD1_PWR_ENn
ePD1_BUSY
ePD1_D/C
ePD1_RESET
ePD1_SCK
ePD1_CS
ePD1_MOSI
ePD1_PWR_ENn
MFX_I2C_SCL
MFX_I2C_SDA
MFX_IRQ_OUT
MFX_WAKEUP
MFX_I2C_SCL
MFX_I2C_SDA
MFX_IRQ_OUT
MFX_WAKEUP
MFX_USART3_RX
MFX_USART3_TX
MFX_USART3_RX
MFX_USART3_TX
3V_OUT
ESES hum 55 a»: Es ‘ i r ,2 3 7 ‘ ‘ .5 xx: .5 2 1 i5 (1.“ x155: e $95 if 3 0 $95 : i323: 2:2: E: 55‘s»:
DocID026429 Rev 3 33/39
UM1775 Electrical schematics
38
Figure 14. ST-LINK/V2-1 (SWD only)
26
ST-LINK/V2-1 with support of SWD only
MB1143 B-01
26-May-14
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L0538-DISCO
Project:
26
ST-LINK/V2-1 with support of SWD only
MB1143 B-01
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L0538-DISCO
Project:
USB_DM
USB_DP
STM_RST
T_JTCK
T_JTCK
T_JTDO
T_JTDI
T_JTMS
STM_JTMS
STM_JTCK
OSC_IN
OSC_OUT
T_NRST
AIN_1
3V3_ST_LINK
3V3_ST_LINK
SWIM_IN
SWIM_IN
SWIM
SWIM_RST_IN
SWIM_RST
USB_DM
USB_DP
USB
VCC 1
D- 2
D+ 3
ID 4
GND 5
SHELL 6
CN2
USB-MINI-typeB
COM
ST-LINK Power
3V3_ST_LINK
Jumpers ON --> DISCOVERY Selected
Jumpers OFF --> ST-LINK Selected
Board Ident: PC13=0
T_JTCK
T_JTMS
SWD
3V3_ST_LINK
1
2
3
4
CN4
SB7 SB4
SB8 SB5
SB9 SB6
SB12 SB11
STM_JTMS
STM_JTCK SWCLK
SWDIO
SWD
RESERVED
DEFAULT
3V3_ST_LINK
T_SWDIO_IN
T_SWO
LED_STLINK
LED_STLINK 3V3_ST_LINK
Red
_Green
2 1
3 4
LD1
LD_BICOLOR_CMS
SWDIO
SWCLK
TCK/SWCLK
TMS/SWDIO
3V3
Not Fitted
MCO MCO
T_JRST
1
2
3
4
5
6
CN5
Header 6
AIN_1
T_NRST
T_SWO
NRST
SB13
T_NRST
SB10
RC Must be very close to STM32F103 pin 29
51
2
GND
3
4
BYPASS
INH
Vin Vout
U2 LD3985M33R
D5
BAT60JFILM
TX
RX
SB3
SB2
USART_RX
USART_TX
Close to JP
Not Fitted
STLINK_TX
STLINK_RX
Not Fitted
LD2
LED, red
C15
100nF
C17
100nF
C8
100nF
C5
100nF
C10
1uF
C3
1uF
C2
100nF
C9
100nF
C4
10nF
C6
20pF
C7
20pF
C18
100nF C16
20pF
1 2
X1
8MHz
3V3_ST_LINK
R15
4K7
R16
2K7
USB_RENUMn
PWR_EXT
PWR_ENn
3V3_ST_LINK
JP2
3
1
2
T1
9013-SOT23
R9
10K
R23
36K
3V3_ST_LINK
R10
100
USB_RENUMn
PA14
PA13
R22
100
R11
100
R4
1K
R12
10K
R6 1K5
R7 0
R5 100K
R8 0
R30
4K7
R29
4K7
R31
100K
R26 10K R14
100K
R27 [NA]
R24
10K
R25
22
R28
[NA]
R33
22
R34
22
R35
22
R1
0
R3
100
R2
100
PWR_ENn
TP2
TP1
3V3EN
1
GND
2
VO 4
NC 5
GND
7
VI
6PG 3
U3 LD39050PU33R
R32
10K
C20
1uF
C21
100nF
C11
1uF
C19
100nF
3V3_ST_LINK
5 Volts Output 3 Volts Output
5 Volts From External
SB1
5V_IN
5V_IN
5 Volts From USB ST-LINK
JP3
3V3_ST_LINK
3V3_ST_LINK
VBAT
1
PA7
17
PC13
2
PA12 33
PC14
3
PB0
18
PC15
4JTMS/SWDIO 34
OSCIN
5
PB1
19
OSCOUT
6
VSS_2 35
NRST
7
PB2/BOOT1
20
VSSA
8
VDD_2 36
VDDA
9
PB10
21
PA0
10
JTCK/SWCLK 37
PA1
11
PB11
22
PA2
12
PA15/JTDI 38
PA3
13
VSS_1
23
PA4
14
PB3/JTDO 39
PA5
15
VDD_1
24
PA6
16
PB4/JNTRST 40
PB12 25
PB5 41
PB13 26
PB6 42
PB14 27
PB7 43
PB15 28
BOOT0 44
PA8 29
PB8 45
PA9 30
PB9 46
PA10 31
VSS_3 47
PA11 32
VDD_3 48
U1
STM32F103CBT6
5V
D6
STPS1L30A
D3
STPS1L30A
JP1 D4
STPS1L30A
5V_USB_USER
5V_USB_ST_LINK
5V_USB_ST_LINK
4
3
5
G
SD
6
7
8
2
1
T3
STS7PF30L
PWR_ENn
MFX_USART3_RX
MFX_USART3_TX
SB15
SB14
D2
BAT60JFILM
D1
BAT60JFILM
5V_USB_USER
5V_OUT
3V_OUT
3
4
5
G
SD
6
2
1
T2
FDC606P
T3 Not Fitted
Electrical schematics UM1775
34/39 DocID026429 Rev 3
Figure 15. STM32L053C8T6 MCU
36
STM32L053C8T6 MCU
MB1143 B-01
22-May-14
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L0538-DISCO
Project:
PB5
PB6PB7
PA4
PA5
PA9
PA10
PB12
PB13
PB14
PB15
PB10
PB11
PB8
PA0
PB9
PA1
PB1
PB2
PA15
PB3
PA13
PA14
PB4
PA8
MCO
PA0
NRST
PB0
BOOT0
PH1PH0
Must be close to the MCU
NRST
MCO
PC13
PH0-OSC_IN
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PB1
PB2
PB3
PB4
PB5
PB6PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PC13
R65 510
PA0 B_USER B_USER
LD_R LD_R
VDD
All this block must be very close to the STM32L053
VDDA
PH1
PH0-OSC_IN
VDD
VDD
VDD
BOOT0
ePD1_BUSYPA8
ePD1_D/C
ePD1_RESETPB2
PB11
ePD1_SCK
ePD1_CSPA15
PB3
ePD1_MOSIPB5
PB4
ePD1_PWR_ENnPB10
SWCLK
SWDIO
SWDIO
SWCLKPA14
PA13
C52
100nF
C48
100nF
C49
100nF
L3
Ferrite C44
100nF
USART_TX
USART_RX
PA9
VDDA
VDD
USART_TX
USART_RX
SB20
SB21
C54
1uF
C53
100nF
VLCD
1
PA7
17
PC13
2
PA12 33
PC14/OSC32_IN
3
PB0
18
PC15/OSC32_OUT
4PA13 34
PH0/OSC_IN
5
PB1
19
PH1/OSC_OUT
6
VSS_2 35
NRST
7
PB2
20
VSSA
8
VDD_USB 36
VDDA
9
PB10
21
PA0
10
PA14 37
PA1
11
PB11
22
PA2
12
PA15 38
PA3
13
VSS_1
23
PA4
14
PB3 39
PA5
15
VDD_1
24
PA6
16
PB4 40
PB12 25
PB5 41
PB13 26
PB6 42
PB14 27
PB7 43
PB15 28
BOOT0 44
PA8 29
PB8 45
PA9 30
PB9 46
PA10 31
VSS_3 47
PA11 32
VDD_3 48
U8
STM32L053C8T6
PA10
LD_G LD_G
ePD1_BUSY
ePD1_RESET
ePD1_D/C
ePD1_CS
ePD1_SCK
ePD1_MOSI
ePD1_PWR_ENn
C47
6.8pF
C50
6.8pF
PC15
PC14
Not Fitted
PC14-OSC32_IN
PC15-OSC32_OUT
SB19
SB18
R70 0
R71 0
Must be close to the Crystal
4 1
3 2
X2
XTAL_32K_20PPM
PC14-OSC32_IN
PC15-OSC32_OUT
USB1_DP
USB1_DM
USB1_DM
USB1_DP
TS_G3_IO2
TS_G3_IO3
TS_G1_IO3
TS_G1_IO4
TS_G2_IO3
TS_G2_IO4
TS_G3_IO2
TS_G1_IO3
TS_G2_IO3
TS_G1_IO4
TS_G2_IO4
TS_G3_IO3
NFC_IRQINn
NFC_MISO
NFC_SCK
NFC_IRQOUTn
NFC_NSS
NFC_MOSI
NFC_IRQINn
NFC_IRQOUTn
NFC_NSS
NFC_MOSI
NFC_MISO
NFC_SCK
PB6
PB7
PB12
PB13
PB14
PB15
USB1_DM
USB1_DP
TS_G3_IO2 TS_G3_IO3
TS_G1_IO3
TS_G1_IO4
TS_G2_IO3
TS_G2_IO4
PA6
PA7
PA11
PA12
PB0
PA3
PA2
SB28
SB27
SB26
SB25
SB24 SB23
SB17
SB16
PB0
PA2
PA3
PA6
PA7
PB1
PA11
PA12
MFX_I2C_SCL
MFX_I2C_SDA
MFX_I2C_SDA
MFX_I2C_SCLPB8
PB9
MFX_IRQ_OUT
MFX_WAKEUP
MFX_WAKEUP
MFX_IRQ_OUT
PA1
PC13
PA5
DocID026429 Rev 3 35/39
UM1775 Electrical schematics
38
Figure 16. Electronic paper display
46
Electronic Paper Display
MB1143 B-01
26-May-14
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L0538-DISCO
Project:
1
2 3
T4
SI1304BDL
C25
1μF_X5R_0603
C26
1μF_X5R_0603
C28
1μF_X5R_0603
C23
1μF_X5R_0603
C30
1μF_X5R_0603
C31
1μF_X5R_0603
C29
1μF_X5R_0603
C24
2.2μF_X5R_0603
VDD_ePD1
C37
100nF_X7R_0603
VDD_ePD1
VDD_ePD1
C35
1μF_X5R_0603
C33
1μF_X5R_0603
VDD_ePD1
1
3
2
D7
BAT54SFILM
L1
22μH 0,5A 20%
NC
1
GDR
2
RESE
3
VGL
4
VGH
5
TSCL
6
TSDA
7
BS1
8
BUSY
9
RES#
10
D/C#
11
CS#
12
D0
13
D1
14
VDDIO
15
VCI
16
VSS
17
VDD
18
VPP
19
VSH
20
PREVGH
21
VSL
22
PREVGL
23
VCOM
24
P1
CON_GDE021A1_EPD
Electronic Paper Display
GDE021A1, 2.04", 172×72 dots
Must be used with CON_GDE021A1_EPD
U4
EPD_GDE021A1
3V3 VDD_ePD1
SCL 2
OS/INT 3
VDD
8
A1
6
VSS 4
SDA 1
A2
5
A0
7
U5
STLM75DS2F
D8
MBR0530
ePD1_BUSY
ePD1_RESET
ePD1_D/C
ePD1_CS
ePD1_SCK
ePD1_MOSI
ePD1_PWR_ENn
C22
1μF_X5R_0603
C27
10μF_X5R_0603
VDD_ePD1
R41
2.2K_1%_0603
R42
2.2K_1%_0603
ePD1_BUSY
ePD1_RESET
ePD1_D/C
ePD1_CS
ePD1_SCK
ePD1_MOSI
PA15
PB2
PB11
PA8
PB3
PB5
ePD1_PWR_ENn
PB10
R36
10K_1%_0402
R38
6R8_1%_0805
R37
10K_1%_0402
R44
10K_1%_0402
3
4
5
G
SD
6
2
1
T6
FDC606P
4
3
5
G
SD
6
7
8
2
1
T5
STS7P2UH7
R43
10_1%_0805
T5 Not Fitted
6.3. E... S a. 9: £5.57 «2... 5:. .02? soon—3.... 5.5 $933.3
Electrical schematics UM1775
36/39 DocID026429 Rev 3
Figure 17. Linear touch sensor, NFC, USB and pushbutton
56
Linear Touch Sensor, NFC, USB and Push Button
MB1143 B-01
22-May-14
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L0538-DISCO
Project:
LS_P1
Linear Touch Sensor made of 3 electrodes
TS_G3_IO2
TS_G1_IO3
TS_G2_IO3
R17
10K
R18
10K
R19
10K
TS_G1_IO4
TS_G2_IO4
TS_G3_IO3
PB0
PA2
PA3
PA6
PA7
PB1
1
1
2
2
3
3
LS1
Linear Sensor
LS_P2
LS_P3
C14
47nF
C13
47nF
C12
47nF
NFC_IRQINn NFC_IRQOUTn
NFC_NSS
NFC_MOSI
PB15
PB12PB14
NFC_MISO
NFC_SCK PB13
C1
100nF
NFC
PB7PB6
NFC kit reference: CR95HF-B
7 8
5 6
3 4
1 2
CN1
female conn 4X2
Operating Voltage: +3.3V
VDD
B_USER
USER & WAKE-UP Button
PA0
12
3 4
B1
SW-PUSH-CMS_BLUE
SB22
B_USER
C51
100nF
NRST
NRST
RESET Button
VDD
R74
[NA]
12
3 4
B2
SW-PUSH-CMS_BLACK
SB29
C55
100nF
3V3
LD_R
LD_G
LD_R
LD_G R60
330
R69
1K
LD4
LED, red
LD3
LED, green
USB1_DM
USB1_DP
USB User
5V_USB_USER
USB1_DM
USB1_DP
R21 0
R20 0
R13 100K
VCC 1
D- 2
D+ 3
ID 4
GND 5
SHELL 6
CN3
USB-MINI-typeB
R73
10K
R72
10K
PA5
PA11
PA12
PB4
12
34
56
78
SE25 , . : E .E 5% ‘3
DocID026429 Rev 3 37/39
UM1775 Electrical schematics
38
Figure 18. IDD measurement / MFX (multi-function expander)
66
IDD measurement / MFX (Multi Function eXpander)
MB1143 B-01
26-May-14
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L0538-DISCO
Project:
MFX_WAKEUP
MFX_IRQ_OUT
R62
100
VDD
differential amplifier
1
4
3
2
11
V+
V-
U7A
TSZ124IPT
7
5
6
U7B
TSZ124IPT
8
10
9
U7C
TSZ124IPT
14
12
13
U7D
TSZ124IPT
All this block must be very close to the STM32L152
C38
100nF
C41
100nF
C42
100nF
L2
Ferrite C34
100nF
C36
1uF
C40
100nF
R45
510
3V3
R68
4K7_1%_0402
R67
100K_1%_0402
MFX_IDD_SH0
R56
10K_1%_0402
R54
10K_1%_0402
R53
10K_1%_0402
R58
10K_1%_0402
VDDA_L1
C45
100nF
C43
100nF
R47 10K
R40 10K
3V3
3V33V3
3V3
3V3
3V3
VDDA_L1
3V3
MFX_IDD_MEAS
MFX_IDD_MEAS
1
2
3
4
CN6
MFX_SWCLK
MFX_SWCLK
MFX_I2C_SCL
MFX_I2C_SDA
MFX_I2C_SDA
MFX_I2C_SCL
R46
2K2
R48
2K2
3V3
1
2
3
JP4
C46
100nF
C32
100nF
R63
1K_0.1%_0402
R64
49K9_0.1%_0402
R66
1K_0.1%_0402
R61
49K9_0.1%_0402
VLCD
1
PA7
17
PC13
2
PA12 33
PC14/OSC32_IN
3
PB0
18
PC15/OSC32_OUT
4PA13 34
PH0/OSC_IN
5
PB1
19
PH1/OSC_OUT
6
VSS_2 35
NRST
7
PB2
20
VSSA
8
VDD_2 36
VDDA
9
PB10
21
PA0
10
PA14 37
PA1
11
PB11
22
PA2
12
PA15 38
PA3
13
VSS_1
23
PA4
14
PB3 39
PA5
15
VDD_1
24
PA6
16
PB4 40
PB12 25
PB5 41
PB13 26
PB6 42
PB14 27
PB7 43
PB15 28
BOOT0 44
PA8 29
PB8 45
PA9 30
PB9 46
PA10 31
VSS_3 47
PA11 32
VDD_3 48
U6
STM32L152CCT6
R59
1_1%_0805
C39
1uF
R39 0
MFX_USART3_RX
MFX_USART3_TX
MFX_IRQ_OUT
MFX_SWDIO
MFX_IDD_SH1 MFX_IDD_SH2
MFX_IDD_CAL
MFX_IDD_CAL
MFX_IDD_SH2
MFX_IDD_SH1
MFX_IDD_SH0
MFX
Multi Function eXpander
MFX_I2C_SCL
MFX_I2C_SDA
MFX_SWDIO
3
4
5
G
SD
6
2
1
T13
FDC606P
MFX_USART3_RX
MFX_USART3_TX
MFX_USART3_RX
MFX_USART3_TX
4
3
5
G
SD
6
7
8
2
1
T14
STS7P2UH7
3
4
5
G
SD
6
2
1
T11
FDC606P
4
3
5
G
SD
6
7
8
2
1
T12
STS7P2UH7
3
4
5
G
SD
6
2
1
T9
FDC606P
4
3
5
G
SD
6
7
8
2
1
T10
STS7P2UH7
3
4
5
G
SD
6
2
1
T7
FDC606P
4
3
5
G
SD
6
7
8
2
1
T8
STS7P2UH7
R49 10K
R51 100K VDD
5V
3V3
5V
R50 1K_1%_0402
3V3
MFX_VDD_MCU
MFX_I2C_ADDR
R57
10K_1%_0805
R52
24_1%_0805
R55
620_1%_0805
T12, T14 Not Fitted
T8, T10 Not Fitted
Not Fitted
Revision history UM1775
38/39 DocID026429 Rev 3
7 Revision history
Table 7. Document revision history
Date Revision Changes
20-Jun-2014 1 initial release
24-Jun-2014 2 Removed embedded USB bootloader paragraph.Rev 3
20-Jan-2016 3
mbed-enabled logo added on the cover page.
Added mbed-enabled in Section 3: Features.
Added Section 2.1: Product marking
Windows Vista removed from Section 4.1.1: Drivers.
SB14, SB15 swapped with SB2, SB3 in Table 5: Solder
bridges, default position of SB2,SB3 set to ON and
ports modified from PB4, PB3 to PA10, PA9.
Added Section 4.1.3: VCP configuration
DocID026429 Rev 3 39/39
UM1775
39
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2016 STMicroelectronics – All rights reserved