STMicroelectronics 32L100CDISCOVERY User Manual
ST 32L100CDISCOVERY is a low-cost development kit that you can use to quickly evaluate and start developing with STM32L100 Value Line series microcontrollers. It is based on STM32L100RCT6 and includes an embedded ST-LINK/V2, LEDs, and push buttons. It is easy to get started with ST 32L100CDISCOVERY. Once you have connected it to a PC with a USB cable and installed the necessary software, you can press the user button to see the green LED change its blinking pattern. Each click on the user button is confirmed by the blue LED.
إعلان
إعلان
UM1656
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
Contents
UM1656
Development toolchain supporting the 32L100CDISCOVERY . . . . . . . . . 6
STM32L100RCT6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Using ST-LINK/V2 to program/debug an external STM32 application . . 15
Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
DD
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2/30 DocID025091 Rev 1
UM1656
List of tables
List of tables
DocID025091 Rev 1 3/30
3
List of figures
List of figures
UM1656
4/30 DocID025091 Rev 1
UM1656
1 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
Jumper JP1 OFF Jumper not fitted
Solder bridge SBx ON SBx connections closed by solder
Solder bridge SBx OFF SBx connections left open
DocID025091 Rev 1 5/30
29
Quick start UM1656
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 .
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 application using available examples.
•
Windows PC (XP, Vista, 7)
• USB type A to Mini-B USB cable
• Altium
®
, TASKING™ VX-toolset
• ARM
®
, Atollic TrueSTUDIO
®
• IAR™, EWARM (IAR Embedded Workbench
®
)
• Keil™, MDK-ARM™
6/30
To order the STM32L100 Value Line Discovery kit, use the order code STM32L100C-
DISCO.
DocID025091 Rev 1
UM1656
3 Features
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 development.
DocID025091 Rev 1 7/30
29
Hardware and layout
4 Hardware and layout
UM1656
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).
help you to locate these features on the 32L100CDISCOVERY.
Figure 2. Hardware block diagram
Mini
USB
Embedded
ST-LINK/V2
I/O
STM32L100RCT6
I/O
LED
LD3, PC9
LED
LD4, PC8
I/O RESET
B2
RST
B1
USER
MS32775V1
8/30 DocID025091 Rev 1
UM1656
(red/green LED) LD2
COM input/output
CN3
SWD connector
ST-LINK/V2
VLCD
PH0
PH1
Figure 3. Top layout
Hardware and layout
LD1 (red LED)
PWR
5V power supply input/output
CN2
ST-LINK/DISCOVERY selector
GND
VDD www.st.com/stm32l1-discovery
VDD
GND
JP2
IDD measurement
SB1 (VBAT)
SB3 (B1-USER)
B2 reset button
SB4 (B2-RESET)
STM32L100RCT6
B1 user button
(green LED) LD3
MB1108 rev B
STM32L100C-DISCO
1.
Pin 1 of CN2, CN3, P1 and P2 connectors are identified by a square.
LD4 (blue LED)
MS32777V1
DocID025091 Rev 1 9/30
29
Hardware and layout
SB5, SB7, SB9, SB11
(RESERVED)
SB6, SB8, SB10, SB12
(DEFAULT)
SB13 (STM_RST)
SB14, SB15 (RX, TX)
Figure 4. Bottom layout
UM1656
SB16, SB17 (X2 crystal)
SB18 (MCO)
SB19 (NRST)
SB20, SB21 (X3 crystal)
SB22 (T_SWO)
MS30025V1
10/30 DocID025091 Rev 1
UM1656 Hardware and layout
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
+BYTESOF&LASHMEMORY
+BYTESOF2!-
,1&0XMM
-36
DocID025091 Rev 1 11/30
29
Hardware and layout UM1656
Figure 6. STM32L100RCT6 block diagram
NJTRST
JTDI
JTCK/SWCLK
JTMS/SWDAT
V
V
JTDO
As AF
DDA
SSA
/
C O M Px_ IN x
P A [ 15: 0]
P B [ 15: 0]
P C [ 15: 0]
P D [15: 0]
PH [2:0]
51 AF
MOSI,MISO,
SCK,NSS
as AF
RX,TX,CTS,
RTS,SmartCard as AF
20 AF
2 Channels
1 Channel
1 Channel
J T A G & S W
Ib u s
M 3 C P U f
MAX
:32 MHz
MPU
N V I C
D bus
System
GP DMA 7 channels
GP DMA2 5 channels
Supply monitoring
BOR / Bgap
P V D
G P C o m p
P U / P D
@V
DDA
GPIO PORTA
BOR
Int
GPIO PORTB
GPIO PORTC
GPIO PORTD
GPIO PORTH
EXT. IT
WKU P
SPI1
AHB/
APB2
V
DDC ORE
EEPROM 64 bit
256 KB
PROGRAM
4 KB DATA
8 KB BOOT
SRAM 16K
PDR
@V
DD
P O W E R
VOLT. REG.
Vref
Supply monitoring
PDR
@V
DD
@V
DDA
XTAL OSC
1-24 MHz AHPBCLK
APBPCLK
HCLK
FCLK
PLL &
Clock
Mgmt
RCHSI
RCMSI
RCLSI
@V
DDA
WDG32K
Standby interface
AHB/
APB1
XTAL 32kHz
RTC V2
AWU 5 x 32-Bit backup reg.
Backup interface
@V
DD
LCDBooster
TIMER2
TIMER3
TIMER4
USART2
USART3
SPI2/I2S
USART1
@V
DDA
12bit ADC IF
USB SRAM 512B
WIn WATCH DOG
TIMER6
TIMER7
I2C1
I2C2
USB 2.0 FS device
General purpose timers
TIMER9
TIMER10
TIMER11
LCD 8x28 (4x32)
@V
DDA
12bit DAC1
12bit DAC2
V
V
DD
SS
= 1.8 V to 3.6 V
NRST
OSC_IN
OSC_OUT
OSC32_IN
OSC32_OUT
RTC_OUT
TAMPER
V
LCD
= 2.5 V to 3.6 V
4 Channels
4 Channels
4 Channels
RX,TX,CTS,RTS,
SmartCard as AF
RX,TX,CTS,RTS,
SmartCard as AF
MOSI,MISO,SCK,NSS,
WS,CK,MCK,SD as AF
MOSI,MISO,SCK,NSS,
WS,CK,MCK,SD as AF
SCL,SDA as AF
SCL,SDA,SMBus,PMBus as AF
USB_DP
USB_DM
SEGx
COMx
DAC_OUT1 as AF
DAC_OUT2 as AF
2x(8x16bit)
MS32904V1
12/30 DocID025091 Rev 1
UM1656 Hardware and layout
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
•
Program/debug the MCU on board,
• Program/debug an MCU in an external application board using a cable connected to
SWD connector CN3.
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
(ARDWAREREQUIREMENTS
53"CABLETYPE!TOMINI"
COMPUTERWITH7INDOWS806ISTAOR
$EVELOPMENTTOOLCHAIN
!LTIUM4!3+).'684OOLSET
!TOLLIC4RUE345$)/
)!2%7!2-
+EIL-$+!2-
-36
Jumper state
Table 2. Jumper states
Description
Both CN2 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)
Both CN2 jumpers OFF
ST-LINK/V2 functions enabled for application through external CN3 connector (SWD supported)
DocID025091 Rev 1 13/30
29
Hardware and layout
4.2.1
UM1656
Using ST-LINK/V2 to program/debug the STM32L100 Value Line on board
To program the STM32L100 Value Line microcontroller on board, simply plug in the two jumpers on CN2, as shown in
Figure 8 in red, but do not use the CN3 connector as that
could disturb communication with the STM32L100RCT6 of the 32L100CDISCOVERY.
Figure 8. 32L100CDISCOVERY connections
CN3
SWD connector
CN2 jumpers ON
-36
14/30 DocID025091 Rev 1
UM1656
4.2.2
Note:
Hardware and layout
Using ST-LINK/V2 to program/debug an external STM32 application
It is very easy to use the ST-LINK/V2 to program the STM32 on an external application.
Simply remove the 2 jumpers from CN2 as shown in Figure 9
, and connect your application to the CN3 debug connector according to
.
SB19 and SB22 must be OFF if you use CN3 pin 5 in your external application.
Table 3. Debug connector CN3 (SWD)
Pin CN3
1 VDD_TARGET
Designation
VDD from application
4
5
SWDIO
NRST
Figure 9. ST-LINK connections
SWD data input/output
RESET of target MCU
CN3
SWD connector
CN2 jumpers OFF
DocID025091 Rev 1
-36
15/30
29
Hardware and layout
4.3
UM1656
Power supply and power selection
The power supply is provided either by the host PC through the USB cable, or by an external 5V power supply.
The D1 and D2 diodes protect the 5V and 3V pins from external power supplies:
•
5V and 3V can be used as output power supplies when another application board is connected to pins P1 and P2.
In this case, the 5V and 3V pins deliver a 5V or 3V power supply and power consumption must be lower than 100 mA.
• 5V can also be used as input power supplies e.g. when the USB connector is not connected to the PC.
In this case, the 32L100CDISCOVERY 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.4 LEDs
• LD1 PWR: Red LED indicates that the board is powered.
• LD2 COM: Tricolor LED (COM) advises on the communication status as follows:
– Slow blinking Red LED/Off: At power on before USB initialization
– Fast blinking Red LED/Off: After the first correct communication between PC and
STLINK/V2 (enumeration)
– Red LED On: When initialization between PC and ST-LINK/V2 is successfully finished
– Green LED On: After successful target communication initialization
– Blinking Red/Green LED: During communication with target
– Red LED On: Communication finished and OK
– Orange LED On: Communication failure
• User LD3: Green user LED connected to the I/O PC9 of the STM32L100RCT6.
• User LD4: Blue user LED connected to the I/O PC8 of the STM32L100RCT6.
•
B1 USER: User push button connected to the I/O PA0 of the STM32L100RCT6.
• B2 RESET: Push button used to RESET the STM32L100RCT6.
Jumper JP2, labeled I
DD
, allows the consumption of STM32L100RCT6 to be measured by removing the jumper and connecting an ammeter.
•
Jumper on: STM32L100RCT6 is powered (default).
• Jumper off: an ammeter must be connected to measure the STM32L100RCT6 current,
(if there is no ammeter, the STM32L100RCT6 is not powered).
16/30 DocID025091 Rev 1
UM1656 Hardware and layout
4.7.2
PH0 and PH1 can be used as GPIO or as HSE oscillator. By default these I/Os are configured as GPIO, so SB16 and SB17 are closed, SB18 is open and R22, R23, C13 and
C14 are not populated.
An external HSE clock can be provided to the MCU in three ways:
•
MCO from ST-LINK . From MCO of the STM32F103. This frequency cannot be changed, it is fixed at 8 MHz and connected to PH0-OSC_IN of the STM32L100RCT6.
Configuration needed:
– SB16, SB18 CLOSED
– R22, R23 removed
– SB17 OPEN
•
Oscillator onboard . From X2 crystal (not provided). For typical frequencies and its capacitors and resistors, please refer to the STM32L100RCT6 Datasheet.
Configuration needed:
– SB16, SB17 SB18 OPEN
– R22, R23, C13, C14 soldered
• Oscillator from external PH0 . From external oscillator through pin 7 of the P1 connector. Configuration needed:
– SB16, SB17 CLOSED
– SB18 OPEN
– R22 and R23 removed
OSC 32 KHz clock supply
PC14 and PC15 can be used as GPIO or as LSE oscillator. By default these I/Os are configured as GPIO, so SB20 & SB21 are closed and X3, R24, R25 are not populated.
An external LSE clock can be provided to the MCU in two ways:
•
Oscillator onboard . From X3 crystal (not provided). Configuration needed:
– SB20, SB21 OPEN
– C15, C16, R24 and R25 soldered.
• Oscillator from external PC14 . From external oscillator trough the pin 5 of P1 connector. Configuration needed:
– SB20, SB21 CLOSED
– R24 and R25 removed
DocID025091 Rev 1 17/30
29
Hardware and layout UM1656
Table 4. Solder bridge settings
Bridge State
(1)
Description
SB16,17
(X2 crystal)
SB6,8,10,12 (Default)
SB5,7,9,11 (Reserved)
SB20,21
(X3 crystal)
SB4
(B2-RESET)
SB3
(B1-USER)
SB19
(NRST)
SB22
(T_SWO)
(2)
OFF
ON
ON
OFF
OFF
ON
ON
OFF
OFF
SB1
(VBAT powered from VDD)
ON
OFF
SB14,15
(RX,TX)
ON
OFF
ON
ON
OFF
ON
OFF
OFF
X2, C13, C14, R22 and R23 provide a clock. PH0, PH1 are disconnected from P1.
PH0, PH1 are connected to P1 (R22, R23 and SB18 must not be fitted).
Reserved, do not modify.
Reserved, do not modify.
X3, C15, C16, R24 and R25 deliver a 32 KHz clock. PC14, PC15 are not connected to P1.
PC14, PC15 are only connected to P1 (R24, R25 must not be fitted).
B2 push button is connected to the NRST pin of the STM32L100RCT6
MCU.
B2 push button is not connected the NRST pin of the STM32L100RCT6
MCU.
B1 push button is connected to PA0.
B1 push button is not connected to PA0.
VBAT is permanently powered from VDD.
VBAT is not powered from VDD but pin3 of P1.
Reserved, do not modify.
Reserved, do not modify.
NRST signal of the CN3 connector is connected to the NRST pin of the
STM32L100RCT6 MCU.
NRST signal of the CN3 connector is not connected to the NRST pin of the
STM32L100RCT6 MCU.
SWO signal of the CN3 connector is connected to PB3.
SWO signal is not connected.
No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal.
SB13
(STM_RST)
SB2
(BOOT0)
SB18
(MCO)
(2)
ON
OFF
ON
OFF
BOOT0 signal of the STM32L100RCT6 MCU is held low through a
510 Ohm pull-down resistor.
BOOT0 signal of the STM32L100RCT6 MCU can be set high through a
10 K
Ω
pull-up resistor R27 to solder.
Provides the 8 MHz for OSC_IN from MCO of STM32L100RCT6.
See SB16, SB17 description.
1.
Default SBx state is shown in bold.
2.
OSC_IN clock comes from MCO if SB18 is ON and SB16,17 are OFF and comes from X2 if SB18 is OFF and SB16,17 are ON.
18/30 DocID025091 Rev 1
UM1656 Hardware and layout
4.9 Extension connectors
The male headers P1 and P2 can connect the 32L100CDISCOVERY to a standard prototyping/wrapping board. STM32L100RCT6 GPI/Os are available on these connectors.
P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.
Table 5. MCU pin description versus board function
MCU pin Board function
Main function
Alternate functions
BOOT0 BOOT0
NRST
PA0
PA1
PA2
PA3
PA4
PA5
PA6
60
NRST 7
WKUP1/RTC_TAMP2/
TIM2_CH1_ETR/
USART2_CTS/ADC_IN0/
COMP1_INP
TIM2_CH2/USART2_RTS/
LCD_SEG0/ADC_IN1/
COMP1_INP/
OPAMP1_VINP
TIM2_CH3/TIM9_CH1/
USART2_TX/LCD_SEG1/
ADC_IN2/COMP1_INP/
OPAMP1_VINM
TIM2_CH4/TIM9_CH2/
USART2_RX/LCD_SEG2/
ADC_IN3/COMP1_INP/
OPAMP1_VOUT
SPI1_NSS/SPI3_NSS/
I2S3_WS/USART2_CK/
ADC_IN4/DAC_OUT1/
COMP1_INP
TIM2_CH1_ETR/SPI1_SCK
/ADC_IN5/DAC_OUT2/
COMP1_INP
TIM3_CH1/TIM10_CH1/
SPI1_MISO/LCD_SEG3/
ADC_IN6/COMP1_INP/
OPAMP2_VINP
14
15
16
17
20
21
22
DocID025091 Rev 1 19/30
29
18
21
22
23
5 10
15
6
16
17
Hardware and layout
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
UM1656
Main function
Alternate functions
PA8
PA9
PA10
PA11
PA12
PA7
PA13
TIM3_CH2/TIM11_CH1/
SPI1_MOSI/LCD_SEG4/
ADC_IN7/COMP1_INP
/OPAMP2_VINM
USART1_CK/MCO/
LCD_COM0
USART1_TX/LCD_COM1
USART1_RX/LCD_COM2
USART1_CTS/USB_DM/
SPI1_MISO
USART1_RTS/USB_DP/
SPI1_MOSI
JTMS-SWDAT
23
41
42
43
44
45
46
PA14 JTCK-SWCLK 49
PA15
PB0
PB1
TIM2_CH1_ETR/SPI1_NSS
/SPI3_NSS/I2S3_WS/
LCD_SEG17
TIM3_CH3/LCD_SEG5/
ADC_IN8/COMP1_INP/
VREF_OUT/
OPAMP2_VOUT
TIM3_CH4/LCD_SEG6/
ADC_IN9/COMP1_INP/
VREF_OUT
PB2/BO
OT1 COMP1_INP
PB3
TIM2_CH2/SPI1_SCK/
SPI3_SCK/I2S3_CK/
LCD_SEG7/COMP2_INM
50
26
27
28
55
24
4
2
27
28
29
6 11
25
24
23
22
21
20
17
16
20/30 DocID025091 Rev 1
UM1656 Hardware and layout
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main function
Alternate functions
PB8
PB9
PB10
PB11
PB4
PB5
PB6
PB7
PB12
PB13
PB14
PB15
TIM3_CH1/SPI1_MISO/
SPI3_MISO/LCD_SEG8/
COMP2_INP
TIM3_CH2/I2C1_SMBA/
SPI1_MOSI/SPI3_MOSI
/I2S3_SD/LCD_SEG9/
COMP2_INP
TIM4_CH1/I2C1_SCL/
USART1_TX/COMP2_INP
TIM4_CH2/I2C1_SDA/
USART1_RX/PVD_IN/
COMP2_INP
TIM4_CH3/TIM10_CH1
/I2C1_SCL/LCD_SEG16
TIM4_CH4/TIM11_CH1
/I2C1_SDA/LCD_COM3
TIM2_CH3/I2C2_SCL/
USART3_TX/LCD_SEG10
TIM2_CH4/I2C2_SDA/
USART3_RX/LCD_SEG11
TIM10_CH1/I2C2_SMBA/
SPI2_NSS/I2S2_WS/
USART3_CK/LCD_SEG12/
ADC_IN18/COMP1_INP
TIM9_CH1/SPI2_SCK/
I2S2_CK/USART3_CTS/
LCD_SEG13/ADC_IN19
/COMP1_INP
TIM9_CH2/SPI2_MISO/
USART3_RTS/LCD_SEG14
/ADC_IN20/COMP1_INP
TIM11_CH1/SPI2_MOSI
/I2S2_SD/LCD_SEG15/
ADC_IN21/COMP1_INP/
RTC_REFIN
56
57
58
59
61
62
29
30
33
34
35
36
DocID025091 Rev 1 21/30
29
30
31
32
10
9
8
7
4
3
32
31
30
Hardware and layout
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
UM1656
Main function
Alternate functions
PC4
PC5
PC6
PC7
PC0
PC1
PC2
PC3
PC8
LCD_SEG18/ADC_IN10/
COMP1_INP
LCD_SEG19/ADC_IN11/
COMP1_INP
LCD_SEG20/ADC_IN12/
COMP1_INP
LCD_SEG21/ADC_IN13/
COMP1_INP
LCD_SEG22/ADC_IN14/
COMP1_INP
LCD_SEG23/ADC_IN15/
COMP1_INP
TIM3_CH1/I2S2_MCK
/LCD_SEG24
TIM3_CH2/I2S3_MCK/
LCD_SEG25
TIM3_CH3/LCD_SEG26
PC9
PC10
PC11
PC12
PC13
TIM3_CH4/LCD_SEG27 40
SPI3_SCK/I2S3_CK/
USART3_TX/LCD_SEG28/
LCD_SEG40/LCD_COM4
SPI3_MISO/USART3_RX/
LCD_SEG29/LCD_SEG41/
LCD_COM5
SPI3_MOSI/I2S3_SD/
USART3_CK/LCD_SEG30/
LCD_SEG42/LCD_COM6
WKUP2/RTC_TAMP1/
RTC_TS/RTC_OUT
51
52
53
2
37
38
24
25
10
11
8
9
39
15
14
29
28
27
26
13
13
14
11
12
25
26
4
22/30 DocID025091 Rev 1
UM1656 Hardware and layout
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main function
Alternate functions
PC14-
OSC32_
IN
OSC32_IN 3
PC15-
OSC32_
OUT
OSC32_OUT
PD2
TIM3_ETR/LCD_SEG31/
LCD_SEG43/LCD_COM7
PH0-
OSC_IN
OSC_IN
4
54
5
PH1-
OSC_
OUT
OSC_OUT
VSS VSS
VDD VDD
VSS_2 VSS
VDD_2 VDD
VLCD
VDD_3
VDD_1
VLCD
VDDA
VSS_3
VSS_1
VSSA
6
1
64
32
13
63
18
19
47
48
31
12
5
6
12
7
8
19
20
19
18
3
DocID025091 Rev 1
5V
3V 1
1
5
23/30
29
Hardware and layout
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
UM1656
Main function
Alternate functions
2 2
3
9
33 33
24/30 DocID025091 Rev 1
UM1656 Mechanical drawing
Figure 10. 32L100CDISCOVERY mechanical drawing
VLCD
PH0
PH1
GND
VDD www.st.com/stm32l1-discovery
VDD
GND
MB1108 rev B
STM32L100C-DISCO
DocID025091 Rev 1
-36
25/30
29
P1
20
21
22
23
24
25
13
14
15
16
17
18
19
26
27
28
29
30
31
32
33
10
11
12
7
8
9
4
5
6
1
2
3
Header 33
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PB10
PB11
PB12
PC13
PC14
PC15
PH0
PH1
NRST
PC0
PC1
PC2
PC3
PA0
PA1
PA2
PA3
3V
VLCD
VDD
Figure 11. 32L100CDISCOVERY
PA10
PA9
PA10
PA9
MCO
PA14
PA13
NRST
PB3
MCO
PA14
PA13
NRST
PB3
TCK /SWCLK
TMS/SWDIO
T_SWO
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
U_STM32L100RCT6
STM32L100RCT6.SchDoc
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PD2
PH0
PH1
MCO
VL CD
BOOT0
NRST
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
MCO
VL CD
BOOT0
NRST
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PD2
PH0
PH1
5V
VDD
VDD
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4
PB3
PD2
PC12
PC11
PC10
PA15
PA14
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
PB15
PB14
PB13
P2
20
21
22
23
24
25
26
14
15
16
17
18
19
27
28
29
30
31
32
33
7
8
9
10
11
12
13
4
5
6
1
2
3
Header 33
RevB.1 --> increased PADs of P1 & P2 for easy PCB manufacturing
STMicroelectronics
Title:
STM32L100 Discovery
Rev: B.1(PCB.SCH) Date:6/3/2013 3
-36
Figure 12. ST-LINK/V2 (SWD only)
Board Ident: PC13=0
R18 10K
R19 10K
Not Fitted
3V
R16
100K
C11
20pF
3V 1
X1
2
8MHz
C8
SB13
100nF
3V
R20
R21
C10
20pF
4K7
4K7
OSC_ IN
OSC_O UT
STM_ RST
AIN_1 10
11
12
7
8
9
4
5
6
1
2
3
VBAT
PC13
PC14
PC15
OSCIN
NRST
VSSA
VDDA
PA0
PA1
PA2
STM32L100C USART1_RX
PA10
STM32L100C USART1_TX
PA9
SB14
JP1
SB15
TX
RX
STLI NK _RX
Close to JP
Not Fitted
USB
U5V
CN1
VCC
D-
D+
ID
GND
4
5
0
1
2
3
5075BMR-05-SM
D1 EXT_5V
5V
R6
R8
R7
R5
1K5
0
0
100K
USB_ DM
USB_DP
3V
Not Fitted
R13
100K
TCK /SWCLK
TMS/SWDIO
T_SWO
T_ NRST
SB22
SB19
PA14
PA13
NRST
PB3
SWD
U2
STM32F 103C8T6
SWD
CN3
1
2
3
4
5
6
Header 6
R9
10K
VDD_2
VSS_2
JTMS/SWDIO
PA12
PA11
PA10
PA9
PA8
PB15
PB14
PB13
PB12
30
29
28
27
26
25
36
35
34
33
32
31
3V
STM_ JTMS
USB_DP
USB_ DM
T_SWO
LED_S TL INK
T_ JTMS
T_ JTCK
T_SW DIO_ IN
R34
100
R11
100
C24
20pF
MCO
MCO
Not Fitted
Not Fitted
D3
R10
100
AIN_1
R12
22
T_ JTCK
R14
R15
R17
T_ JTMS
22
22
T_ NRST
T_SWO
22
3V
3V
C6
100nF
C7
100nF
C12
100nF
C9
100nF
3V
R2
1K
LD1
RED
Idd
JP2
VDD
SB6
SB8
SB10
SB12
SB5
STM_ JTCK
SB7
SB9
SB11
STM_ JTMS
3V
SWCLK
SWDIO
CN2
Jumpers ON --> DISCOVERY Selected
Jumpesr OFF --> ST-LINK DISCOVERY Selected
COM
LED STLINK
R4
100
2
LD2
Red
1
R3
100
3 4 R1
0
_Green
LD_BICOLOR_CMS
3V
PWR
5V
1
U1
Vin Vo ut
5
D2
C1
3
INH
GND
1uF_X5R_0603
BYPASS
C4
1uF_X5R_0603
LD3985M33R
C2
100nF
C3
10nF_X7R_0603
C5
100nF
OUT_3V
3V
STMicroelectronics
Title:
Discovery ST-LINK/V2
Number: MB1108 Rev: B.1(PCB.SCH) Date:6/3/2013 3
-36
Figure 13. MCU
VDD
VDD
BOOT0
R27
R26
10K
510
SB2
PA14
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PA14
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
BOOT0
PB8
PB9
VDD
53
54
55
56
57
58
59
49
50
51
52
60
61
62
63
64
PA14
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
BOOT0
PB8
PB9
VSS_3
VDD_3
VL CD
PC13
PC14
PC15
C17
1uF
Close to STM32
PC13
PC14
PC15
SB21
Close to XTAL & MCU
Not Fitted
SB1
SB20
C16
R25
0
1
X3
2
6.8pF
4
3
R24
0
C15
6.8pF
MC306- G-06Q-32.768 (JFVNY)
MCO
MCO
PH0
PH0
SB18
SB17
Not Fitted
U3
STM32L 100RCT6
VDD_1
VSS_1
PB11
PB10
PB2 or NPOR (1.8V mode)
PB1
PB0
PC5
PC4
PA7
PA6
PA5
PA4
VDD_4
VSS_4
PA3
28
27
26
25
24
23
22
21
20
19
18
17
32
31
30
29
VDD
PB11
PB10
PB2
PB1
PB0
PC5
PC4
PA7
PA6
PA5
PA4
VDD
PA3
PB11
PB10
PB2
PB1
PB0
PC5
PC4
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
PA2
PA1
PA0
VDD
PC3
PC2
PC1
PC0
NRST
PC1
PC0
NRST
PC3
PC2
R23
0
X2
1 2
8MHz
C14
20pF
R22
390
C13
20pF
SB16
PH1
PH1
VDD
C18
1uF
VDD
C20
100nF
C21
100nF
C19
100nF
PC9
R30
330
PC8
R31
660
LD3 green
LD4 blue
Not Fitted
NRST
SB4
C23
100nF
VDD
R33
100K
B2
Not Fitted
PA0
SB3
C22
100nF
R28
330
R32
100
VDD
R29
220K
B1
STMicroelectronics
Title:
STM32L100 Discovery MCU
Rev: B.1(PCB.SCH) Date:6/3/2013 3
-36
UM1656
Table 6. Document revision history
Date Revision Changes
12-Aug-2013 1 Initial release.
Revision history
DocID025091 Rev 1 29/30
29
UM1656
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, 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 no liability 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 this document 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 products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third 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 IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
ST PRODUCTS ARE NOT AUTHORIZED FOR USE IN WEAPONS. NOR ARE ST PRODUCTS DESIGNED OR AUTHORIZED FOR USE
IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH
PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR
ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED
FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN
WRITING 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.
PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE
CORRESPONDING GOVERNMENTAL AGENCY.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability 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
30/30 DocID025091 Rev 1
تنزيل
إعلان