User manual
32L100CDISCOVERY discovery kit
for STM32L100 Value Line microcontrollers
Introduction
The 32L100CDISCOVERY helps you to discover the features of the STM32L100 Value Line
32-bit ARM Cortex-M3 microcontrollers and to develop your applications easily. It is
based on STM32L100RCT6 and includes an ST-LINK/V2 embedded debug tool, LEDs, and
push buttons.
Figure 1. 32L100CDISCOVERY
August 2013
DocID025091 Rev 1
1/30
www.st.com
Contents
UM1656
Contents
1
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2
System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3
2.4
Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.2
Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2.1
4.2.2
4.3
4.4
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.5
Push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.6
JP2 (IDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.7
4.7.2
4.8
Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.9
Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2/30
DocID025091 Rev 1
UM1656
List of tables
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Debug connector CN3 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
DocID025091 Rev 1
3/30
3
List of figures
UM1656
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
4/30
32L100CDISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
STM32L100RCT6 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
STM32L100RCT6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
32L100CDISCOVERY connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
ST-LINK connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
32L100CDISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
32L100CDISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
DocID025091 Rev 1
UM1656
Conventions
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 fitted
DocID025091 Rev 1
5/30
29
Quick start
UM1656
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 32L100CDISCOVERY 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:
2.2
2.3
2.4
1.
Check jumper position on the board, JP2 on, CN2 on (Discovery selected).
2.
3.
4.
Observe how the green LED LD3 blinking changes according to USER button B1
clicks.
5.
6.
7.
Discover the STM32L100 Value Line features, download and execute programs
proposed in the list of projects.
8.
System requirements
Keil, MDK-ARM
Order code
To order the STM32L100 Value Line Discovery kit, use the order code STM32L100CDISCO.
6/30
DocID025091 Rev 1
UM1656
Features
Features
The 32L100CDISCOVERY kit offers the following features:
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
Four LEDs:
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.
DocID025091 Rev 1
7/30
29
UM1656
SWD
Embedded
ST-LINK/V2
STM32L100RCT6
8/30
I/O
I/O
RESET
Header
Header
I/O
B2
LED
LD3, PC9
RST
LED
LD4, PC8
USER
B1
DocID025091 Rev 1
MS32775V1
UM1656
ST-LINK/V2
5V power supply
input/output
supply
3V power su
input/output
CN3
SWD connector
VLCD
CN2
ST-LINK/DISCOVERY
selector
PH0
PH1
JP2
IDD measurement
www.st.com/stm32l1-discovery
SB1 (VBAT)
VDD
GND
GND
VDD
SB3 (B1-USER)
B2 reset button
STM32L100RCT6
SB4 (B2-RESET)
B1 user button
(green LED) LD3
LD4 (blue LED)
MB1108 rev B
STM32L100C-DISCO
MS32777V1
DocID025091 Rev 1
9/30
29
UM1656
Figure 4. Bottom layout
SB22 (T_SWO)
MS30025V1
10/30
DocID025091 Rev 1
UM1656
4.1
STM32L100RCT6 microcontroller
The Value Line STM32L100RCT6 incorporates the connectivity power of the universal serial
bus (USB) with the high-performance ARM Cortex-M3 32-bit RISC core operating at a
32 MHz frequency, a memory protection unit (MPU), high-speed embedded memories
(256 Kbytes of Flash memory and 16 Kbytes of RAM) and an extensive range of enhanced
I/Os and peripherals connected to two APB buses.
The STM32L100RCT6 device offers one 12-bit ADC, two DACs, two ultra-low-power
comparators, six general-purpose 16-bit timers and two basic timers, which can be used as
time bases.
Moreover, the STM32L100RCT6 device contains standard and advanced communication
interfaces: two I2Cs, three SPIs, two I2S, three USARTs and a USB.
It also includes a real-time clock and a set of backup registers that remain powered in
Standby mode.
Finally, the integrated LCD controller has a built-in LCD voltage generator that allows you to
drive up to 8 multiplexed LCDs with contrast independent of the supply voltage.
The ultra-low-power STM32L100RCT6 operates from a 1.8 to 3.6 V power supply with
BOR. It is available in the -40 to +85 C temperature range. A comprehensive set of powersaving modes allows the design of low-power applications.
Figure 5. STM32L100RCT6 package
34-,2#4
+BYTES OF &LASH MEMORY
+BYTES OF 2!-
,1&0 X MM
-36
DocID025091 Rev 1
11/30
29
UM1656
Figure 6. STM32L100RCT6 block diagram
@VDD
VDDC ORE
J TA G & S W
E E obl
Interface
EEPROM 64 bit
256 KB
PROGRAM
4 KB DATA
8 KB BOOT
SRAM 16K
PDR
Ib u s
M3 CPU
fMAX :32 MHz
MPU
N V IC
B u s Matrix 5M /5S
NJTRST
JTDI
JTCK/SWCLK
JTMS/SWDAT
JTDO
As AF
D bus
System
GP DMA 7 channels
AHPBCLK
APBPCLK
HCLK
FCLK
BOR
Int
G P Co m p
PU / PD
@VDDA
GPIO PORTA
PB [ 15: 0]
GPIO PORTB
PC [ 15: 0]
GPIO PORTC
P D [15: 0]
PH [2:0]
51 AF
MOSI,MISO,
SCK,NSS
as AF
RX,TX,CTS,
RTS,SmartCard
as AF
20 AF
XTAL OSC
1-24 MHz
XTAL 32kHz
@VDDA
VLCD
PA [ 15: 0]
PDR
RTC V2
AWU 5 x 32-Bit
backup
reg.
Backup interface
@VDD
LCDBooster
OSC_IN
OSC_OUT
OSC32_IN
OSC32_OUT
RTC_OUT
TAMPER
GPIO PORTD
TIMER2
4 Channels
GPIO PORTH
TIMER3
4 Channels
TIMER4
4 Channels
RX,TX,CTS,RTS,
SmartCard as AF
RX,TX,CTS,RTS,
SmartCard as AF
USART2
EXT. IT
WKU P
AHB/
APB2
SPI1
AHB/
APB1
USART3
SPI2/I2S
MOSI,MISO,SCK,NSS,
WS,CK,MCK,SD as AF
SPI3/I2S
2x(8x16bit)
MOSI,MISO,SCK,NSS,
WS,CK,MCK,SD as AF
USART1
@VDDA
USB SRAM 512B
12bit ADC IF
I2C1
General purpose
timers
TIMER9
1 Channel
TIMER10
I2C2
TIMER6
TIMER7
TIMER11
2 Channels
1 Channel
NRST
WDG32K
Standby
interface
RCMSI
RCLSI
C O M Px_ IN x
Vref
Supply monitoring
PLL &
Clock
Mgmt
RCHSI
PVD
@VDD
Supply
monitoring
BOR / Bgap
VOLT. REG.
@VDDA
GP DMA2 5 channels
VDDA /
VSSA
POW ER
SCL,SDA as AF
SCL,SDA,SMBus,PMBus
as AF
USB_DP
USB_DM
SEGx
COMx
@VDDA
IIF
F
F
12bit DAC1
DAC_OUT1 as AF
12bit DAC2
DAC_OUT2 as AF
2x(8x16bit)
MS32904V1
12/30
DocID025091 Rev 1
UM1656
4.2
Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the
32L100CDISCOVERY. The embedded ST-LINK/V2 can be used in 2 different ways
according to the jumper states (see Table 2):
The embedded ST-LINK/V2 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.
Figure 7. Typical configuration
(ARDWARE REQUIREMENTS
53"