Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32...

24
June 2011 Doc ID 17217 Rev 2 1/24 UM0919 User Manual STM32VLDISCOVERY STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features and to develop and share your applications. It is based on an STM32F100RBT6B and includes ST-Link embedded debug tool interface, LEDs and push buttons. Features STM32F100RBT6B microcontroller, 128 KB Flash, 8 KB RAM in 64-pin LQFP On-board ST-Link with selection mode switch to use the kit as a stand-alone ST-Link (with SWD connector for programming and debugging) Two red LEDs; LD1 for USB communication, LD2 for 3.3 volts power on Designed to be powered by USB or an external supply of 5 V or 3.3 V Can supply target application with 5 volts and 3 volts Two user LEDs, LD3 and LD4 (green and blue) Two push buttons (User and Reset) Extension header for all QFP64 I/Os for quick connection to prototyping board or easy probing Figure 1. STM32 value line Discovery board www.st.com

Transcript of Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32...

Page 1: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

June 2011 Doc ID 17217 Rev 2 1/24

UM0919User Manual

STM32VLDISCOVERYSTM32 value line Discovery

IntroductionThe STM32 value line Discovery evaluation board helps you discover the STM32 value line features and to develop and share your applications. It is based on an STM32F100RBT6B and includes ST-Link embedded debug tool interface, LEDs and push buttons.

Features■ STM32F100RBT6B microcontroller, 128 KB Flash, 8 KB RAM in 64-pin LQFP

■ On-board ST-Link with selection mode switch to use the kit as a stand-alone ST-Link (with SWD connector for programming and debugging)

■ Two red LEDs; LD1 for USB communication, LD2 for 3.3 volts power on

■ Designed to be powered by USB or an external supply of 5 V or 3.3 V

■ Can supply target application with 5 volts and 3 volts

■ Two user LEDs, LD3 and LD4 (green and blue)

■ Two push buttons (User and Reset)

■ Extension header for all QFP64 I/Os for quick connection to prototyping board or easy probing

Figure 1. STM32 value line Discovery board

www.st.com

Page 2: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Contents UM0919

2/24 Doc ID 17217 Rev 2

Contents

1 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.3 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.4 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.5 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Hardware and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2.1 STM32F100RBT6B microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.2 Embedded ST-Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.2.1 Using the ST-Link to program/debug the STM32 on board . . . . . . . . . . 10

2.2.2 Using the ST-Link to program/debug an external STM32 application . . 10

2.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.5 Push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

2.6 JP1 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

2.7 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3 Extension connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

4 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

5 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

6 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Page 3: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Quick start

Doc ID 17217 Rev 2 3/24

1 Quick start

The STM32 value line Discovery is a low-cost and easy-to-use development kit to quickly evaluate and start a development with an STM32 value line microcontroller.

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

For more information on the STM32 value line Discovery and for demonstration software visit www.st.com/stm32-discovery.

1.1 Getting started1. Connect the STM32 value line Discovery board to a PC with a USB cable to power the

board.

2. Press the USER button B1 (on bottom left corner of the board).

3. Observe how the green LED LD3 blinking changes according to USER button B1 clicks.

4. Each click on USER button B1 is confirmed by the blue LED LD4.

To study or modify the DISCOVER project related to this simple demo, visit www.st.com/stm32-discovery and download the getting started documentation and free software examples. This site also contains information on the STM32 features, demonstration software and examples from which you can develop your own applications.

1.2 System requirements● Windows PC (2000, XP, Vista)

● A/Mini-B USB cable

1.3 Development toolchains● Atollic, TrueSTUDIO® (including the free LiteTrueSTUDIO®)

● IAR, Embedded Workbench® for ARM

● Keil, MDK-ARMTM

1.4 Demonstration softwareDemonstration software is preloaded in the board's Flash memory for easy demonstration of the device peripherals in stand-alone mode. For more information and to download the latest version available, please refer to the STM32 value line Discovery demonstration software available on www.st.com.

1.5 Order codeTo order the STM32 value line Discovery, use the order code STM32VLDISCOVERY.

Page 4: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Hardware and layout UM0919

4/24 Doc ID 17217 Rev 2

2 Hardware and layout

The STM32 value line Discovery is designed around the STM32F100RBT6B microcontroller in a 64-pin LQFP package.

Figure 2 illustrates the connections between the STM32F100RBT6B and its peripherals (ST-Link, push button, LED and connectors).

Figure 3 and Figure 4 help you to locate these features on the STM32 value line Discovery.

Figure 2. Hardware block diagram

USB

Embedded ST-Link

STM32F100RBT6B

SWD

I/O RESET

Green LEDLD3

Blue LEDLD4

B2RST

B1USER

P1

Hea

der

Mini

P3 Header

P2

Hea

der

I/O I/O

Page 5: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Hardware and layout

Doc ID 17217 Rev 2 5/24

Figure 3. Top layout

ST-Link USB connector

P1 connector

LD1 COM

SWD connector

JP1 Idd

B1 USER

P2 connector

LD2 power

ST-Link/Discovery

U3

B2 RST

LD4 PC8

selector

STM32F100RBT6B

P3 connector

SB1 VBAT

SB2 BOOT1

LD3 PC9

R15R14

D2 diode

D1 diode

Page 6: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Hardware and layout UM0919

6/24 Doc ID 17217 Rev 2

Figure 4. Bottom layout

SB16

SB17

SB18

SB11

BOOT0

SWCLK

SWDIO

RESET

SB14, SB15

SB12, SB13

ReservedDo not modify

Reserved

Do not modify

Page 7: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Hardware and layout

Doc ID 17217 Rev 2 7/24

2.1 STM32F100RBT6B microcontroller

Figure 5. STM32F100RBT6B package

This device provides the following benefits:

● Reduced system cost:

– Built-in POR, PDR, LVD, watchdog timer.

– Factory trimmed 8 MHz RC oscillator and 40 kHz for RTC and watchdog.

– On-chip 12-bit dual channel DAC with DMA support and output buffers.

● Perfect fit for control applications: Up to seven PWM 16-bit timers including advanced control timer for a total of 26 channels.

● Ideal for appliance control applications including induction cooking: Three independent PWM 16-bit timers with complementary output and dead-time generation.

● Reduced design complexity and minimized CPU, peripheral and memory use: Consumer electronics control (CEC) peripheral.

● Extensive connectivity capability: CEC, 400 kHz I²C, up to12 Mbit/s master and slave SPI, up to 3 Mbit/s USART.

● Achieves superior performance with 16-bit code density: ARM Cortex-M3 Thumb-2 32-bit instruction set and 7-channel DMA.

● Eases Flash memory integrity check: CRC (cyclic redundancy check) with DMA support.

For more information see the STM32F100xB datasheet (Doc ID 16455) on the ST website.

The STM32F100RBT6B 8-bit microcontroller offers:

8 Kbytes RAM128 Kbytes of Flash memory

LQFP64 10 x 10 mm

Page 8: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Hardware and layout UM0919

8/24 Doc ID 17217 Rev 2

Figure 6. STM32F100RBT6B block diagram

Page 9: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Hardware and layout

Doc ID 17217 Rev 2 9/24

2.2 Embedded ST-LinkThe ST-Link programming and debugging tool is integrated on the STM32 value line Discovery. The embedded ST-Link can be used in 2 different ways:

● to program/debug the MCU on board

● to program/debug an MCU in another application board using a cable connected to SWD connector CN2.

For information about debugging and programming features refer to ST-Link UM0627.

Note: UM0627 contains information about all the ST-Link features. Usage in this situation is restricted to STM32F devices and SWD support only (no JTAG).

Figure 7. Typical configuration

Table 1. Jumper states

Jumper state Description

CN3 jumpers ON ST-Link functions enabled for on board programming (default)

CN3 jumpers OFF ST-Link functions enabled for external application through CN2 connector (SWD supported).

Hardware requirements:- USB cable type A to mini-B- Computer with Windows 2000, XP or Vista OS

- Atollic, TrueSTUDIO®Development toolchain:

- IAR, Embedded Workbench® for ARM- Keil, MDK-ARM

Page 10: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Hardware and layout UM0919

10/24 Doc ID 17217 Rev 2

2.2.1 Using the ST-Link to program/debug the STM32 on board

To program the STM32 on board, simply plug in the two jumpers on CN3, but do not use the CN2 connector as that could disturb communication with the STM32F100RBT6B of the STM32 value line Discovery.

Figure 8. Discovery connections image

2.2.2 Using the ST-Link to program/debug an external STM32 application

It is very easy to use the ST-Link to program the STM32 on an external application. You simply remove the 2 jumpers from CN3 and connect your application to the CN2 debug connector (as shown in Figure 9 and according to Table 2.).

Note: Only SWD is supported, not JTAG.

Jumpers on CN3

Table 2. Debug connector CN2 (SWD)

Pin CN2 Designation

1 VDD_TARGET VDD from application

2 SWCLK SWD clock

3 GND Ground

4 SWDIO SWD data input/output

Page 11: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Hardware and layout

Doc ID 17217 Rev 2 11/24

Figure 9. ST-Link connections image

2.3 Power supply and power selectionThe power supply is provided by a USB connector or external power supply (5 V or 3.3 V). The 5V (P2 pin 26) and 3V3 (P1 pin 3) pins can be used independently as input or output power supplies due to D1 and D2 protection diodes (see Figure 3).

Note: If the 5V and 3V3 pins are used as an input power supply, the STM32VLDISCOVERY board must be powered by a power supply unit or auxiliary equipment complying with standard EN-60950-1: 2006+A11/2009, and must be safety extra low voltage (SELV) with limited power capability.

2.4 LEDs● LD1: Red LED LD1 labeled COM indicates communication between PC and ST-Link.

● LD2: Red LED LD2 labeled PWR indicates that the board is powered.

● LD3: Green LED LD3 labeled PC9 is connected to the I/O PC9 of STM32F100RBT6B.

● LD4: Blue LED LD4 labeled PC8 is connected to the I/O PC8 of STM32F100RBT6B.

No jumpers on CN3

Application connected to CN2

Page 12: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Hardware and layout UM0919

12/24 Doc ID 17217 Rev 2

2.5 Push buttons● B1: Push button B1 labeled USER is connected to the I/O PA0 of STM32F100RBT6B

and can be used as WAKE-UP.

● B2: Push button B2 labeled RST is dedicated to the RESET pin of STM32F100RBT6B.

2.6 JP1 (Idd)Jumper JP1, labeled Idd, allows the consumption of STM32F100RBT6B to be measured by removing the jumper and connecting an ammeter.

● Jumper on: STM32F100RBT6B is powered (default).

● Jumper off: STM32F100RBT6B is not powered.

Page 13: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Hardware and layout

Doc ID 17217 Rev 2 13/24

2.7 Solder bridgesTable 3. Solder bridge description

Bridge State(1)

1. Factory state is in bold type.

Description

SB1 (VBAT)Off

VDD_MCU is not connected to VBAT of STM32F100RBT6B. VBAT could be connected to an external power supply through EXT_VBAT.

On VBAT of STM32F100RBT6B is connected to VDD_MCU.

SB2 (BOOT1) Off BOOT1 (PB2) signal is connected to +3.3V through pull-up resistor.

On BOOT1 (PB2) signal is connected to GND through pull-down resistor.

SB3,5,7,9 (DEFAULT) On Reserved. Do not modify.

SB4,6,8,10 (PRG-32) Off Reserved. Do not modify.

SB11 (RESET) Off RESET of STM32F100RBT6B is disconnected from T_JRST of ST-Link.

On RESET of STM32F100RBT6B is connected to T_JRST of ST-Link.

SB12 (X2)

Off PD1 is not connected to external pin and the X2 can be used. (2)

2. If the resistor has been removed to modify the default setting of this bridge, it must be resoldered.

On PD1 is connected to external pin and can be used as GPIO, X2 is not available. Remove (unsolder) R15.

SB13 (X2)

Off PD0 is not connected to external pin and the X2 can be used.(2)

On PD0 is connected to external pin and can be used as GPIO, X2 is not available. Remove (unsolder) R15.

SB14 (X3)

Off PC15 is not connected to external pin and the X3 can be used.(2)

On PC15 is connected to external pin and can be used as GPIO, X3 is not available. Remove (unsolder) R14.

SB15 (X3)

Off PC14 is not connected to external pin and the X3 can be used.(2)

On PC14 is connected to external pin and can be used as GPIO, X3 is not available. Remove (unsolder) R14.

SB16 (BOOT0) Off BOOT0 signal is connected to +3.3 V through pull-up resistor.

On BOOT0 signal is connected to GND through pull-down resistor.

SB17 (SWDIO) Off SWDIO and PA13 of STM32F100RBT6B are not connected, SWD not available.

On SWDIO and PA13 of STM32F100RBT6B are connected, SWD available.

SB18 (SWCLK) Off SWCLK and PA14 of STM32F100RBT6B are not connected, SWD not available

On SWCLK and PA14 of STM32F100RBT6B are connected, SWD not available.

Page 14: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Extension connection UM0919

14/24 Doc ID 17217 Rev 2

3 Extension connection

Male headers P1, P2 and P3 can connect the STM32 value line Discovery to a standard prototyping/wrapping board. All GPIOs of STM32F100RBT6B are available on it.P1, P2 and P3 can also be used to probe an oscilloscope, logical analyzer or voltmeter.

Table 4. P1 pinout

Pin number(P1)

Pin number(chip)

Board pin name Ty

pe

Main function Alternate function

Remap

1 12/31/47/63 GND - Vss

2 - NC - -

3 3V3 - -

4 1 VBAT S VBAT

5 2 PC13 I/O Port C13 TAMPER-RTC

6 3 PC14(1) I/O Port C14 OSC32_IN

7 4 PC15(1) I/O Port C15 OSC32_OUT

8 5 PD0(1) I/O OSC_IN

9 6 PD1(1) I/O OSC_OUT

10 7 NRST I/O RESET

11 8 PC0 I/O Port C0 ADC1_IN10

12 9 PC1 I/O Port C1 ADC1_IN11

13 10 PC2 I/O Port C2 ADC1_IN12

14 11 PC3 I/O Port C3 ADC1_IN13

15 14 PA0 I/O Port A0

WKUP / USART2_CTS/ ADC1_IN0 / TIM2_CH1_ETR

16 15 PA1 I/O Port A1USART2_RTS/ ADC1_IN1 / TIM2_CH2

17 16 PA2 I/O Port A2

USART2_TX/ ADC1_IN2 / TIM2_CH3/ TIM15_CH1

18 17 PA3 I/O Port A3

USART2_RX/ ADC1_IN3 / TIM2_CH4 / TIM15_CH2

19 20 PA4 I/O Port A4

SPI1_NSS/ADC1_IN4 USART2_CK / DAC1_OUT

Page 15: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Extension connection

Doc ID 17217 Rev 2 15/24

20 21 PA5 I/O Port A5SPI1_SCK/ ADC1_IN5 / DAC2_OUT

21 22 PA6 I/O Port A6SPI1_MISO/ ADC1_IN6 / TIM3_CH1

TIM1_BKIN / TIM16_CH1

22 23 PA7 I/O Port A7SPI1_MOSI/ ADC1_IN7 / TIM3_CH2

TIM1_CH1N / TIM17_CH1

23 24 PC4 I/O Port C4 ADC1_IN14

24 25 PC5 I/O Port C5 ADC1_IN15

25 26 PB0 I/O Port B0ADC1_IN8/ TIM3_CH3

TIM1_CH2N

26 27 PB1 I/O Port B1ADC1_IN9/ TIM3_CH4

TIM1_CH3N

27 28 PB2 I/OPort B2/ BOOT1

28 GND

1. Alternate pin, connected by default to STM32F100RBT6B oscillator.

Table 5. P2 pinout

Pin number(P2)

Pin number(chip)

Pin name

Typ

e

Main function Alternate function

Remap

1 GND

2 37 PC6 I/O Port C6 TIM3_CH1

3 38 PC7 I/O Port C7 TIM3_CH2

4 39 PC8 I/O Port C8 TIM3_CH3

5 40 PC9 I/O Port C9 TIM3_CH4

6 41 PA8 I/O Port A8USART1_CK / MCO

TIM1_CH1

7 42 PA9 I/O Port A9USART1_TX / TIM1_CH2

TIM15_BKIN

8 43 PA10 I/O Port A10USART1_RX / TIM1_CH3

TIM17_BKIN

9 44 PA11 I/O Port A11USART1_CTS / TIM1_CH4

10 45 PA12 I/O Port A12USART1_RTS / TIM1_ETR

Table 4. P1 pinout (continued)

Pin number(P1)

Pin number(chip)

Board pin name Ty

pe

Main function Alternate function

Remap

Page 16: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Extension connection UM0919

16/24 Doc ID 17217 Rev 2

11 46 PA13 I/OJTMS/SWDIO

PA13

12 49 PA14 I/O JTCK/ SWCLK PA14

13 50 PA15 I/O JTDITIM2_CH1_ETR/ PA15/

SPI1_NSS

14 51 PC10 I/O Port C10 USART3_TX

15 52 PC11 I/O Port C11 USART3_RX

16 53 PC12 I/O Port C12 USART3_CX

17 54 PD2 I/O Port D2 TIM3_ETR

18 55 PB3 I/O JTDO

TIM2_CH2 / PB3

TRACESWOSPI1_SCK

19 56 PB4 I/O NJTRSTPB4 / TIM3_CH1SPI1_MISO

20 57 PB5 I/O Port B5I2C1_SMBA / TIM16_BKIN

TIM3_CH2 /SPI1_MOSI

21 58 PB6 I/O Port B6I2C1_SCL/ TIM4_CH1

TIM16_CH1NUSART1_TX

22 59 PB7 I/O Port B7I2C1_SDA/ TIM17_CH1N

TIM4_CH2USART1_RX

23 60 BOOT0 I BOOT0

24 61 PB8 I/O Port B8TIM4_CH3 /TIM16_CH1 / CEC

I2C1_SCL

25 62 PB9 I/O Port B9TIM4_CH4 /

TIM17_CH1I2C1_SDA

26 EXT_5V

27 NC

28 GND

Table 5. P2 pinout (continued)

Pin number(P2)

Pin number(chip)

Pin name

Typ

e

Main function Alternate function

Remap

Page 17: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Extension connection

Doc ID 17217 Rev 2 17/24

Table 6. P3 pinout

Pin number(P3)

Pin number(chip)

Pin name

Typ

e

Main function Alternate function

Remap

1 29 PB10 I/O Port B10

I2C2_SCL/ USART3_TX TIM2_CH3/ CEC

2 30 PB11 I/O Port B11I2C2_SDA/ USART3_RX

TIM2_CH4

3 33 PB12 I/O Port B12

SPI2_NSS/ I2C2_SMBA/ TIM1_BKIN/ USART3_CK

4 34 PB13 I/O Port B13SPI2_SCK / TIM1_CH1N USART3_CTS

5 35 PB14 I/O Port B14SPI2_MISO/ TIM1_CH2N / USART3_RTS

TIM15_CH1

6 36 PB15 I/O Port B15SPI2_MOSI / TIM1_CH3N / TIM15_CH1N

TIM15_CH2

Page 18: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Mechanical drawing UM0919

18/24 Doc ID 17217 Rev 2

4 Mechanical drawing

Figure 10. STM32 value line Discovery

Page 19: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM

0919E

lectrical schem

atics

Doc ID

17217 Rev 2

19/24

5 Electrical schematics

Figure 11. STM32 value line Discovery

STMicroelectronicsTitle:

Number: Rev: Sheet ofC.2(PCB.SCH) Date:7/15/2010MB913 1 4

STM32-DISCOVERY

TMS/SW

DIO

TCK/SWCLK

RES

ET#

PA13PA14PA15

PA12PA11PA10PA9PA8PA7

PA0PA1PA2PA3PA4PA5PA6

PB12

PB0PB1PB2PB3PB4PB5PB6PB7PB8PB9PB10PB11

PB13PB14PB15

PC3

PC15PC14PC13PC12PC11PC10PC9PC8PC7PC6PC5PC4

PC2PC1PC0

PD2

BOOT0

PD1PD0

U_MCUMCU.SchDoc

EXT_3V3EXT_5V

EXT_VBAT

U_PowerPower.SchDoc

TMS/SW

DIO

TCK/SWCLK

RES

ET#

U_ST_LINKST_LINK.SCHDOC

123456789

10111213141516171819202122232425262728

P1

Header 28 12345678910111213141516171819202122232425262728

P2

Header 28

EXT_VBAT

RESET#R23820 PB5

PB6PB7

PA4PA5PA6PA7 PA11

PA12

PA9PA10

PB12PB13PB14PB15

PB10PB11

PB8

PA0

PB9

PA1

PB1PB2

PA15

PB3

PB0

PA3

PA13PA14

PB4

PA2

PA8

PD1

PC10PC11PC12

PC5

PC13

PC6PC7PC8PC9

PC1PC2PC3

PD2

PC4

PC0

PC13

PC15PC14

RES

ET#

EXT_5VEXT_3V3EXT_VBAT

EXT_5V

EXT_3V3

PD0

PD1

PD2

PD0

BOOT0

PC10PC11PC12

PC5

PC6PC7PC8PC9

PC1PC2PC3

PC4

PC0

PC15PC14

PA4PA5PA6PA7

PA11PA12

PA9PA10

PA0PA1

PA15

PA3

PA13PA14

PA2

PA8

PB5PB6PB7

PB12PB13PB14PB15

PB10PB11

PB8PB9

PB1PB2PB3

PB0

PB4

BOOT0

123456

P3

Header 6

Page 20: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Electrical sch

ematics

UM

0919

20/24D

oc ID 17217 R

ev 2

Figure 12. STM32 value line MCU

1

1

2

2

3

3

4

4

STMicroelectronicsTitle:

Number: Rev: Sheet ofC.2(PCB.SCH) Date:7/15/2010

R24[N/A]

+3V3C23

100nF

C12

20pF

C1320pF

X2ESA8.00000F20D25F(with socket)

R14220

4 1

3 2

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

C116.8pF

C176.8pF

MB913 2 4

STM32-DISCOVERY STM32 Value Line

PB5PB6PB7

PA4PA5PA6PA7

R1710K

+3V3

PA11PA12

PA9PA10

PC10PC11

PB12PB13PB14PB15

PB10PB11

PC12

RESET#

PB8

PC5

PA0

PB9

PC13

PC6PC7PC8PC9

R150

PA1

PC1PC2PC3

PD2PB1PB2

PA15

PB3

PB0

PC4

PA3

PA13PA14

PB4

PC0

PA2

PA8

BOOT0

TMS/SWDIOTCK/SWCLK

RESET#

PC14PC15

OSC_INOSC_OUT

SB16

SB18SB17

USER & WAKE-UP Button

PA13PA14

PA15

PA12

PA0PA1PA2PA3PA4PA5PA6PA7PA8PA9PA10PA11

RESET Button

RESET#

PA13PA14

PB12

PB0PB1PB2PB3PB4PB5PB6PB7PB8PB9PB10PB11

PB13PB14PB15

R16510

PC3

PC15PC14

PC13PC12PC11PC10PC9PC8PC7PC6PC5PC4

PC2PC1PC0

PD2

BOOT0

SB12SB13 PD1

PD0

LD3

green

PC9 R25

330

LD4

blue

PC8 R26

660

Must be close to the Crystal and open

Must be close to the Crystal and open

SB14SB15

R1910K

+3V3

SB2

R18510

PB2

BOOT1

BOOT0

R2110K

C22[N/A]

+3V3R20100

R220

PA0

123

4

B1

SW-P

USH-C

MS

1 234

B2SW-PUSH-CMS

OSC_IN 5

OSC_OUT 6

NRST 7

PA014

PA115

PA216

PA317

PA420

PA521

PA622

PA723

PB026

PB127

PB228

PB1029

PB1130

PB1233

PB1334

PB1435

PB1536

PA841

PA942

PA1043

PA1144

PA1245

PA1346

PA1449

PA1550

PB355

PB456

PB557

PB658

PB759

BOOT0 60

PB861

PB962

PC13 2PC14-OSC32_IN 3PC15-OSC32_OUT 4

PC0 8PC1 9PC2 10PC3 11PC4 24PC5 25PC6 37PC7 38PC8 39PC9 40PC10 51PC11 52PC12 53

PD2 54

U3A

STM32F100RBT6B

Page 21: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM

0919E

lectrical schem

atics

Doc ID

17217 Rev 2

21/24

Figure 13. Power 5V and 3V3

SWIM

LED

STMicroelectronicsTitle:

Number: Rev: Sheet ofC.2(PCB.SCH) Date:7/15/2010

Vin3

GND

1

Vout 2U1

LD1117DT33C

C210uF

C3100nF

+5VTP1

+5V

+3V3

MB913 3 4

STM32-DISCOVERY Power 5V & 3V3

C19100nF

C18100nF

C20100nF

C21100nF

U5V_ST_LINK

JP1

VDD_MCU is Dédicated Power Plan

SB1

SBx and Cx Must be close to the pin 1

+3V3

EXT_3V3

EXT_5V

EXT_VBAT

D2

BAT60JFILM

D1

BAT60JFILM

R51K

1 2

LD2red

L1

fcm1608-0603 C141uF

C15100nF

VDD_MCU

Lx and Cx Must be close to the pin 13

C161uF

Closed by default VSSA 12VDDA13

VSS_4 18

VSS_1 31

VSS_2 47

VSS_3 63

VBAT1

VDD_419

VDD_132

VDD_248

VDD_364

U3B

STM32F100RBT6B

C110uF

PWR

Page 22: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

Electrical sch

ematics

UM

0919

22/24D

oc ID 17217 R

ev 2

Figure 14. ST-Link (SWD only)

SWIM

LED

1

1

2

2

3

3

4

4

STMicroelectronicsTitle:

Number: Rev: Sheet ofC.2(PCB.SCH) Date:7/15/2010MB913 4 4

STM32-DISCOVERY ST_LINK (SWD only)

VBAT1

PC132

PC143

PC154

OSC_IN5

OSC_OUT6

/RST7

VSSA8

VDDA9

PA010

PA111

U2_TX12

U2_

RX

13

U2_

CK

14

S1_C

K15

S1_M

ISO

16

S1_M

OSI

17

PB0

18

PB1

19

PB2/BOOT1

20

PB10

21

VSS

_123

VDD_1

24

PB12 25

PB11

22

S2_CK 26S2_MISO 27S2_MOSI 28PA8 29PA9 30PA10 31PA11 32PA12 33JTMS 34VSS_2 35VDD_2 36

JTCK

37JT

DI

38JT

DO

39JN

RST

40PB

541

PB6

42PB

743

BOOT0

44PB

845

PB9

46VSS

_347

VDD_3

48

U2STM32F103C8T6

C820pF

C920pF 1 2

X1

ESA8.00000F20D25F+3V3

USB_DMUSB_DP

T_JT

CK

T_JTCKT_

JTDO

T_JT

DI

T_JTMS

STM_JTMS

STM

_JTC

KSTM

_JTD

ISTM

_JTD

OSTM

_JRST

LED_STLINK

T_NRST

T_JR

ST

LD1

red

LED_STLINK

T_JTCK

T_JTMS

T_JRST

R9

4K7

R10

4K7

C10100nF

R13

100K

R6

510

+3V3

+3V3

+3V3

+3V3

+3V3

+3V3

AIN_1

USB_DMUSB_DP

+3V3

+3V3

C7100nF

C5100nF

C4100nF

C6100nF

R21K5

R4 22

R3 22

MCU

USB

SWD

U5V_ST_LINK

TMS/SWDIOTCK/SWCLK

RESET#

JTAG_CTL

R7

100K

COM

R1100K

VCC 1

D- 2

D+ 3

ID 4

GND 5

SHELL 0

CN1

5075BMR-05-SM

SB11

+3V31234

CN2

1 2 3 4

CN3

SB3 SB4

SB5 SB6

SB7 SB8

SB9 SB10STM_JTMS

STM_JTCK SWCLK

SWDIO

SWD

PRG-32

DEFAULT

D3

Z5V1

D4

Z5V1

R11 22

R12 22

R810K

Jumpers ON --> DISCOVERY SelectedJumpers OFF --> ST-LINK Selected

Page 23: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919 Revision history

Doc ID 17217 Rev 2 23/24

6 Revision history

Table 7. Document revision history

Date Revision Changes

15-Jul-2010 1 Initial release.

21-Jun-2011 2Added Chapter 4.Added note to Section 2.3.

Page 24: Introduction Features - STMicroelectronics · STM32 value line Discovery Introduction The STM32 value line Discovery evaluation board helps you discover the STM32 value line features

UM0919

24/24 Doc ID 17217 Rev 2

Please Read Carefully:

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

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

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

No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of thisdocument refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird party products or services or any intellectual property contained therein.

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

UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOTRECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAININGAPPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVEGRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.

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

ST and the ST logo are trademarks or registered trademarks of ST in various countries.

Information in this document supersedes and replaces all information previously supplied.

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

© 2011 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