STMicroelectronics 32L100CDISCOVERY User guide

UM1656
User manual
32L100CDISCOVERY discovery kit
for STM32L100 Value Line microcontrollers
Introduction
The 32L100CDISCOVERY helps you to discover the features of the STM32 L100 Value Line
32-bit ARM based on STM32L100RCT6 and includes an ST-LINK/V2 embedded debug tool, LEDs, and push buttons.
Cortex™-M3 microcontrollers and to develop your applications easily. It is

Figure 1. 32L100CDISCOVERY

August 2013 DocID025091 Rev 1 1/30
www.st.com
Contents UM1656
Contents
1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Development toolchain supporting the 32L100CDISCOVERY . . . . . . . . . 6
2.4 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Hardware and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.1 STM32L100RCT6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
4.2 Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2.1 Using ST-LINK/V2 to program/debug the STM32L100 Value Line
on board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.2.2 Using ST-LINK/V2 to program/debug an external STM32 application . . 15
4.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.5 Push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.6 JP2 (I
4.7 Oscillator clock (OSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.7.1 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.7.2 OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.8 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.9 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
DD
5 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2/30 DocID025091 Rev 1
UM1656 List of tables
List of tables
Table 1. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 2. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 3. Debug connector CN3 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 4. Solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 5. MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 6. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
DocID025091 Rev 1 3/30
3
List of figures UM1656
List of figures
Figure 1. 32L100CDISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. STM32L100RCT6 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 6. STM32L100RCT6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 7. Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 8. 32L100CDISCOVERY connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 9. ST-LINK connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 10. 32L100CDISCOVERY mechanical drawing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 11. 32L100CDISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 12. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 13. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4/30 DocID025091 Rev 1
UM1656 Conventions

1 Conventions

Table 1 provides the definition of some conventions used in the present document.
Convention Definition
Jumper JP1 ON Jumper fitted Jumper JP1 OFF Jumper not fitted Solder bridge SBx ON SBx connections closed by solder Solder bridge SBx OFF SBx connections left open

Table 1. ON/OFF conventions

DocID025091 Rev 1 5/30
29
Quick start UM1656

2 Quick start

The 32L100CDISCOVERY is a low-cost and easy-to-use development kit to quickly evaluate and start development with an STM32L100 Value Line series.
Before installing and using the product, please accept the Evaluation Product License Agreement from www.st.com/stm32l1-discovery.
For more information on the 32L100CDISCOVER Y and for demonstration software, visit
www.st.com/stm32l1-discovery.

2.1 Getting started

Follow the sequence below to configure the 32L100CDISCOVERY board and launch the DISCOVER application:
1. Check jumper position on the board, JP2 on, CN2 on (Discovery selected).
2. Connect the 32L100CDISCOVERY board to a PC with a USB cable ‘type A to mini-B’ through USB connector CN1 to power the board. Red LED LD1 (PWR) and LD2 (COM) light up and green LED LD3 blinks.
3. Press user button B1 (bottom left corner of the board).
4. Observe how the green LED LD3 blinking changes according to USER button B1 clicks.
5. Each click on USER button B1 is confirmed by the blue LED LD4.
6. To study or modify the DISCOVER project related to this demo, visit
www.st.com/stm32l1-discovery and follow the tutorial.
7. Discover the STM32L100 Value Line features, download and execute programs proposed in the list of projects.
8. Develop your own applic at ion usin g ava ila ble exa m ples .

2.2 System requirements

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

2.3 Development toolchain supporting the 32L100CDISCOVERY

Altium®, TASKING™ VX-toolset
ARM
IAR™, EWARM (IAR Embedded Workbench®)
Keil™, MDK-ARM™
, Atollic TrueSTUDIO

2.4 Order code

To order the STM32L100 Value Line Discovery kit, use the order code STM32L100C­DISCO.
6/30 DocID025091 Rev 1
UM1656 Features

3 Features

The 32L100CDISCOVERY kit offers the following features:
STM32L100RCT6 microcontroller featuring 256 KB Flash, 16 KB RAM in an LQFP64 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 5 V supply voltage
External application power supply: 3 V and 5 V
Four LEDs:
LD1 (red) for 3.3 V power on – LD2 (red/green) for USB communication – LD3 (green) for PC9 output – LD4 (blue) for PC8 output
Two push buttons (user and reset)
Extension header for LQFP64 I/Os for quick connection to prototyping board and easy
probing.
An additional board is provided with the kit which can be connected to the extension connector for even easier prototyping and probing.
A large number of free ready-to-run application firmware examples are available on
www.st.com/stm32l1-discovery to support quick evaluation and de ve lop m en t.
DocID025091 Rev 1 7/30
29
Hardware and layout UM1656
MS32775V1
LED
LD4, PC8
B1
USER
I/O
Embedded
ST-LINK/V2
Mini
USB
LED
LD3, PC9
B2
RST
RESET
I/OI/O
Header
Header
SWD
STM32L100RCT6

4 Hardware and layout

The 32L100CDISCOVERY is designed around the STM32L100RCT6 microcontroller in a 64-pin LQFP package.
Figure 2 illustrates the connections between the STM32L100RCT6 and its peripherals (ST-
LINK/V2, push button, LEDs and connectors) .
Figure 3 and Figure 4 help you to locate these features on the 32L100CDISCOVERY.

Figure 2. Hardware block diagram

8/30 DocID025091 Rev 1
UM1656 Hardware and layout
MS32777V1
(red/green LED) LD2
COM
CN3
SWD connector
IDD measurement
ST-LINK/V2
B1 user button
B2 reset button
LD1 (red LED) PWR
CN2 ST-LINK/DISCOVERY
selector
(green LED) LD3
LD4 (blue LED)
STM32L100RCT6
JP2
5V power supply input/output
3V power supply
su
input/output
SB1 (VBAT)
SB3 (B1-USER)
SB4 (B2-RESET)
VLCD
GND
VDD
VDD GND
MB1108 rev B STM32L100C-DISCO
PH0 PH1
www.st.com/stm32l1-discovery

Figure 3. Top layout

1. Pin 1 of CN2, CN3, P1 and P2 connectors are identified by a square.
DocID025091 Rev 1 9/30
29
Loading...
+ 21 hidden pages