Discovery Kit With STM32F303VC MCU User Manual F3

user%20manual

STM32F3Disco_UserManual

user%20manual

STM32F3Disco_UserManual

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 37

DownloadDiscovery Kit With STM32F303VC MCU User Manual-F3
Open PDF In BrowserView PDF
UM1570
User manual
Discovery kit with STM32F303VC MCU

Introduction
The STM32F3DISCOVERY discovery kit is a complete demonstration and development
platform for STMicroelectronics ARM® Cortex®-M4 core-based STM32F303VCT6
microcontroller. It includes an ST-LINK/V2 (or V2-B) embedded debug tool interface, an ST
MEMS gyroscope, an ST MEMS E-compass, LEDs, push-buttons and an USB Mini-B
connector.
Figure 1. STM32F3DISCOVERY

July 2016

DocID023594 Rev 4

1/37
www.st.com

1

Contents

UM1570

Contents
1

Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2

Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3

Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4

Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

5

Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

6

5.1

Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

5.2

System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

5.3

Development toolchains supporting the STM32F3DISCOVERY . . . . . . . . 9

Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6.1

The STM32F3DISCOVERY discovery board mechanical drawing . . . . . 13

6.2

Embedded ST-LINK/V2 (or V2-B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

6.2.2

ST-LINK/V2 (or V2-B) firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . 15

6.2.3

VCP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

6.2.4

Using ST-LINK/V2 (or V2-B) to program/debug the STM32F303VCT6
on board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

6.2.5

Using ST-LINK/V2 (or V2-B) to program/debug an external STM32
application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

6.3

Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

6.4

LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

6.5

Push-buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

6.6

USB device supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

6.7

ST MEMS E-compass (ST MEMS LSM303DLHC) . . . . . . . . . . . . . . . . . 19

6.8

ST MEMS Gyroscope (ST MEMS L3GD20) . . . . . . . . . . . . . . . . . . . . . . 19

6.9

JP3 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

6.10

OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

6.11
2/37

6.2.1

6.10.1

OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

6.10.2

OSC 32 kHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
DocID023594 Rev 4

UM1570

Contents

6.12

Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

7

STM32F3DISCOVERY electrical schematics . . . . . . . . . . . . . . . . . . . . 32

8

Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

DocID023594 Rev 4

3/37
3

List of tables

UM1570

List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.

4/37

List of the order codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Debug connector CN3 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
STM32F303VCT6 MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . 22
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

DocID023594 Rev 4

UM1570

List of figures

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.

STM32F3DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Board layout (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Board layout (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
STM32F3DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
STM32F3DISCOVERY connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
ST-LINK/V2 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
STM32F3DISCOVERY top level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
STM32F3DISCOVERY ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
STM32F3DISCOVERY STM32F303VCT6 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
STM32F3DISCOVERY Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

DocID023594 Rev 4

5/37
5

Features

1

UM1570

Features
The STM32F3DISCOVERY board offers the following features.
•

STM32F303VCT6 microcontroller featuring 256 Kbytes of Flash memory, 48 Kbytes of
RAM in an LQFP100 package

•

On-board ST-LINK/V2 for PCB Version A or B or ST-LINK/V2-B for PCB Version C and
newer

•

USB ST-LINK functions:
–

Debug port

–

Virtual COM port with ST-LINK/V2-B only

–

Mass storage with ST-LINK/V2-B only

•

Board power supply: through the USB bus or from an external 3 V or 5 V supply voltage

•

External application power supply: 3 V and 5 V

•

L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope

•

LSM303DLHC, ST MEMS system-in-package featuring a 3D digital linear acceleration
sensor and a 3D digital magnetic sensor

•

Ten LEDs:
–

LD1 (red) for 3.3 V power-on.

–

LD2 (red/green) for USB communication.

–

Eight user LEDs, LD3/10 (red), LD4/9 (blue), LD5/8 (orange) and LD6/7 (green).

•

Two pushbuttons (user and reset)

•

USB USER with Mini-B connector

•

Extension header for LQFP100 I/Os for quick connection to prototyping board and easy
probing

•

Comprehensive free software including a variety of examples, part of STM32CubeF3
package or STSW-STM32118 for legacy Standard Library usage

A large number of free ready-to-run application firmware examples are available at
www.st.com/stm32f3discovery to support a quick evaluation and development.

6/37

DocID023594 Rev 4

UM1570

2

Product marking

Product marking
Evaluation tools marked as "ES" or "E" are not yet qualified and therefore they are not ready
to be used as reference design or in production. Any consequences deriving from such
usage will not be at ST charge. In no event, ST will be liable for any customer usage of
these engineering sample tools as reference design or in production.
"E" or "ES" marking examples of location:

3

•

On the targeted STM32 that is soldered on the board (for illustration of STM32 marking,
refer to the section "Package information" of the STM32 datasheet available at
www.st.com).

•

Next to the evaluation tool ordering part number, that is stuck or silk-screen printed on
the board.

Ordering information
To order the Discovery kit for the STM32F303 line of microcontrollers, refer to Table 1.
Table 1. List of the order codes
Order code
STM32F3DISCOVERY

ST-LINK version
ST-LINK/V2 for PCB version A or B
ST-LINK/V2-B for PCB version C and newer

DocID023594 Rev 4

7/37
36

Conventions

4

UM1570

Conventions
Table 2 provides the definition of some conventions used in the present document.
Table 2. 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

5

Quick start
The STM32F3DISCOVERY board is a low-cost and easy-to-use development kit to quickly
evaluate and start development with an STM32 F3 Series microcontroller. Before installing
and using the product, accept the Evaluation Product License Agreement from the
www.st.com/stm32f3discovery webpage. For more information on the
STM32F3DISCOVERY board and for demonstration software, visit the
www.st.com/stm32f3discovery webpage.

5.1

Getting started
Follow the sequence below to configure the STM32F3DISCOVERY board and launch the
DISCOVER application:
1.

Check the jumper positions on the board, JP3 ON, CN4 ON (DISCOVERY selected).

2.

Connect the STM32F3DISCOVERY board to a PC with a USB cable Type-A to Mini-B
through the USB ST-LINK or USB USER connector to power the board. The red LEDs
LD1 (PWR) and LD2 (COM) light up.

3.

The eight LED indicators blink sequentially.

4.

Press the USER button to enable the ST MEMS gyroscope sensor.

5.

Observe how the blinking of the LEDs indicates the gyroscope movements.

6.

Press the USER button again to enable the ST MEMS E-compass sensor.

7.

Keep the board in a horizontal position. One of the eight LEDs lights up to indicate the
direction to North.

8.

Tilt the board and the eight LEDs blink again

9.

To examine or modify the DISCOVER project related to this demo, visit the
www.st.com/stm32f3discovery webpage and follow the tutorial. Discover the
STM32F303xx MCU features, download and execute programs proposed in the list of
projects.

10. Develop applications using the available examples.

8/37

DocID023594 Rev 4

UM1570

5.2

5.3

Quick start

System requirements
•

Windows® PC (XP, 7, 8)

•

USB Type-A to Mini-B USB cable

Development toolchains supporting the
STM32F3DISCOVERY
•

IAR® EWARM (IAR Embedded Workbench®)

•

Keil® MDK-ARM™

•

GCC-based IDEs (free AC6: SW4STM32, Atollic® TrueSTUDIO®,...)

DocID023594 Rev 4

9/37
36

Hardware layout and configuration

6

UM1570

Hardware layout and configuration
The STM32F3DISCOVERY board is designed around the STM32F303VCT6
microcontroller in a 100-pin LQFP package.
Figure 2 illustrates the connections between the STM32F303VCT6 and its peripherals
(ST-LINK/V2, push-buttons, LEDs, USB, ST MEMS Gyroscope, ST MEMS E-compass, and
connectors).
Figure 2 and Figure 3 help the user to locate these features on the STM32F3DISCOVERY
board.
Figure 2. Hardware block diagram
0LQL86%

6:'

(PEHGGHG67/,1.9 RU9% 

670)9&7

,2

,2

5(6(7

/('V
/'/'

%
5(6(7

/*'

%
86(5

+HDGHU

+HDGHU

,2

/60'/+&

0LQL86%
06Y9

10/37

DocID023594 Rev 4

UM1570

Hardware layout and configuration
Figure 3. Board layout (top view)
/' UHGJUHHQ/('
&20

67/,1.9
86%86(5

/' UHG/('
3:5
&1
6:'FRQQHFWRU

&1
67/,1.
670)',6&29(5
VHOHFWRU
-3,''
PHDVXUHPHQW

/60'/+&

9SRZHU
VXSSO\
LQSXWRXWSXW

9SRZHU
VXSSO\
LQSXWRXWSXW

670)9&7

/*'
%XVHUEXWWRQ
%UHVHW
EXWWRQ
UHG/(' /'
EOXH/(' /'

RUDQJH/(' /'

JUHHQ/(' /'

JUHHQ/(' /'

EOXH/(' /'

RUDQJH/(' /'

UHG/(' /'

Note:

Pin 1 of CN3, CN4, JP3, JP4, P1 and P2 connectors are identified by a square.

DocID023594 Rev 4

11/37
36

Hardware layout and configuration

UM1570

Figure 4. Board layout (bottom view)
6% 6:2

6%6%6%6% 5(6(59('
6%6%6%6% '()$8/7

6% 1567
6% 670B567

6% 0&2
6%
6%
6%
6%

6% 5;7;
6% 5;7;

;FU\VWDO
;FU\VWDO
;FU\VWDO
;FU\VWDO

6% %227

6% %86(5
6% 86%86(5

6% %5(6(7

6% 86%86(5

5R+6

61

06Y9

Note:

12/37

If SB12 is ON, SB17 must be OFF and R33 removed to provide the clock source from MCO
correctly.

DocID023594 Rev 4

UM1570

The STM32F3DISCOVERY discovery board mechanical
drawing
Figure 5. STM32F3DISCOVERY mechanical drawing
66.00mm
53.34mm

2.22mm

97.00mm

15.24mm

33.82mm

16.04mm

6.33mm

5.08mm

3.34mm

6.33mm

33.82mm

6.1

Hardware layout and configuration

2.54mm
6.33mm

2.54mm
53.34mm

DocID023594 Rev 4

6.33mm

13/37
36

Hardware layout and configuration

6.2

UM1570

Embedded ST-LINK/V2 (or V2-B)
The ST-LINK/V2 on PCB version A or B or the ST-LINK/V2-B on PCB version C is
embedded as programming and debugging tool. Virtual COM port and USB mass storage
features are supported by the ST-LINK/V2-B only.
The embedded ST-LINK/V2 (or V2-B) supports only SWD for STM32 devices. For
information about debugging and programming features refer to ST-LINK/V2 in-circuit
debugger/programmer for STM8 and STM32, User manual (UM1075), which describes in
detail all the ST-LINK/V2 features.
The changes on ST-LINK/V2-B versus ST-LINK/V2 version are listed below. New features
supported on ST-LINK/V2-B are:
•

Virtual Com port interface on USB

•

Mass storage interface on USB

The embedded-on-board features not supported either on ST-LINK/V2 or on
ST-STLINK/V2-B are:
•

SWIM interface

•

Minimum supported application voltage limited to 3 V

•

USB power management request for more than 100 mA power on USB

Known limitation:
activating the readout protection on the STM32 target, prevents the target application from
running afterwards. The readout protection must be kept disabled on the STM32 target.
There are two different ways to use the embedded ST-LINK/V2 (or V2-B), depending on the
jumper states (see Table 3):
•

Programming/debugging the STM32 on board (refer to Section 6.2.4: Using STLINK/V2 (or V2-B) to program/debug the STM32F303VCT6 on board)

•

Programming/debugging the STM32 in an external application board, using a cable
connected to SWD connector CN2 (refer to Section 6.2.5: Using ST-LINK/V2 (or V2-B)
to program/debug an external STM32 application)
Table 3. Jumper states
Jumper state

6.2.1

Description

Both CN4 jumpers ON

ST-LINK/V2 (or V2-B) functions enabled for on-board programming
(default)

Both CN4 jumpers OFF

ST-LINK/V2 (or V2-B) functions enabled for application through external
CN3 connector (SWD supported)

Drivers
The ST-LINK/V2 (or V2-B) requires a dedicated USB driver, which, for Windows® XP, 7, 8,
can be found at the www.st.com website. In case the STM32 Discovery 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, and from the
device manager he must update the driver of the connected device (see Figure 6).

Note:

14/37

Prefer using the "USB Composite Device" handle for a full recovery.

DocID023594 Rev 4

UM1570

Hardware layout and configuration
Figure 6. USB composite device

6.2.2

ST-LINK/V2 (or V2-B) firmware upgrade
The ST-LINK/V2 (or V2-B) 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 (or
V2-B) product (for example new functionalities, bug fixes, support for new microcontroller
families), it is recommended to visit the www.st.com website, before starting to use the
Discovery board and periodically, to stay up-to-date with the latest firmware version.

6.2.3

VCP configuration
The ST-LINK/V2-B on STM32F3DISCOVERY supports virtual Com port (VCP) on U2 pin 12
(ST-LINK_TX) and U2 pin 13 (ST-LINK_RX), which are connected to the STM32F303 MCU
target STM32 USART1 (PA9, PA10), thanks to SB11 and SB15 solder bridges.
The SB11 (PA9) and SB15 (PA10) default configurations for STM32F3DISCOVERY are
given in Table 5: Solder bridges.

6.2.4

Using ST-LINK/V2 (or V2-B) to program/debug the STM32F303VCT6
on board
To program the STM32F303VCT6 MCU on the board, simply plug in the two jumpers
marked in red on CN4, as shown in Figure 7: STM32F3DISCOVERY connections, but do
not use the CN3 connector as that could disturb the communication with the
STM32F303VCT6 of the STM32F3DISCOVERY.

DocID023594 Rev 4

15/37
36

Hardware layout and configuration

UM1570

Figure 7. STM32F3DISCOVERY connections

6.2.5

Using ST-LINK/V2 (or V2-B) to program/debug an external STM32
application
It is very easy to use the ST-LINK/V2 (or V2-B) to program the STM32 on an external
application. Simply remove the two jumpers from CN4 as shown in Figure 8: ST-LINK/V2
connections, and connect the application to the CN3 debug connector according to Table 4.

Note:

SB7 must be OFF if the CN3 pin 5 is used in an external application.
Table 4. Debug connector CN3 (SWD)

16/37

Pin

CN3

1

VDD_TARGET

2

SWCLK

3

GND

4

SWDIO

SWD data input/output

5

NRST

RESET of target MCU

6

SWO

Reserved

DocID023594 Rev 4

Designation
VDD from application
SWD clock
Ground

UM1570

Hardware layout and configuration
Figure 8. ST-LINK/V2 connections

DocID023594 Rev 4

17/37
36

Hardware layout and configuration

6.3

UM1570

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 D1 and D2 diodes protect the 5 V and 3 V pins from external power supplies.
•

5 V and 3 V can be used as output power supplies when another application board is
connected to pins P1 and P2. In this case, the 5 V and 3 V pins deliver a 5 V or 3 V
power supply and power consumption must be lower than 100 mA.

•

5 V and 3 V can also be used as input power supplies, for example when the USB
connectors are not connected to the PC. In this case, the STM32F3DISCOVERY board
must be powered by a power supply unit or by auxiliary equipment complying with the
standard EN-60950-1: 2006+A11/2009, and must be Safety Extra Low Voltage (SELV)
with limited power capability.

Note:

The board can be also powered through the USB USER connector and it is protected by D4
and D5 diodes when both USBs are connected (in which case, the 5 V power is around 4.4
volts).

6.4

LEDs

6.5

18/37

•

LD1 PWR: red LED indicates that the board is powered.

•

LD2 COM: LD2 default status is red. LD2 turns to green to indicate that
communications are in progress between the PC and the ST-LINK/V2.

•

User LD3: red LED is a user LED connected to the I/O PE9 of the STM32F303VCT6.

•

User LD4: blue LED is a user LED connected to the I/O PE8 of the STM32F303VCT6.

•

User LD5: orange LED is a user LED connected to the I/O PE10 of the
STM32F303VCT6.

•

User LD6: green LED is a user LED connected to the I/O PE15 of the
STM32F303VCT6.

•

User LD7: green LED is a user LED connected to the I/O PE11 of the
STM32F303VCT6.

•

User LD8: orange LED is a user LED connected to the I/O PE14 of the
STM32F303VCT6.

•

User LD9: blue LED is a user LED connected to the I/O PE12 of the STM32F303VCT6.

•

User LD10: red LED is a user LED connected to the I/O PE13 of the STM32F303VCT6.

Push-buttons
•

B1 USER: user and wake-up button connected to the I/O PA0 of the STM32F303VCT6.

•

B2 RESET: push-button connected to NRST is used to RESET the STM32F303VCT6.

DocID023594 Rev 4

UM1570

6.6

Hardware layout and configuration

USB device supported
The STM32F303VCT6 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 STM32F3DISCOVERY
can then act as a USB joystick, mouse, or other similar device. If both USBs are connected,
diodes D4 and D5 protect the board and use the power from the USB ST-LINK.
The board can be powered through this USB USER connector, then LED1 PWR lights,
LED2 COM blinks and it can run an application in standalone mode.

6.7

ST MEMS E-compass (ST MEMS LSM303DLHC)
The LSM303DLHC is an ultra-compact low-power system-in-package featuring a 3D digital
linear acceleration sensor and a 3D digital magnetic sensor. It includes a sensing element
and an IC interface able to provide the measured acceleration to the external world through
an I2C serial interface.
The LSM303DLHC has dynamically user-selectable full scales of ±2g/±8g and is capable of
measuring acceleration, and a magnetic field full scale from ±1.3g to 8.1g with an output
data rate of 100 Hz or 400 Hz.
The STM32F303VCT6 MCU controls this motion sensor through the I2C interface.

6.8

ST MEMS Gyroscope (ST MEMS L3GD20)
The L3GD20 is an ultra-compact, low-power, three-axis-angular-rate sensor. It includes a
sensing element and an IC interface able to provide the measured angular rate to the
external world through the I2C/SPI serial interface.
The L3GD20 has dynamically user-selectable full scales of ±250 dps/±500 dps/±2000 dps
and is capable of measuring rates.
The STM32F303VCT6 MCU controls this motion sensor through the SPI interface.

6.9

JP3 (Idd)
Jumper JP3, labeled Idd, allows the measurement of the consumption of the
STM32F303VCT6 by removing the jumper and connecting an ammeter.
•

Jumper on: STM32F303VCT6 is powered (default).

•

Jumper off: an ammeter must be connected to measure the STM32F303VCT6 current.
If there is no ammeter, the STM32F303VCT6 is not powered.

DocID023594 Rev 4

19/37
36

Hardware layout and configuration

6.10

OSC clock

6.10.1

OSC clock supply

UM1570

The following information indicates all configurations for clock supply selection:
•

•

•

•

6.10.2

MCO from ST-LINK. From MCO of the STM32F103C8T6. This frequency cannot be
changed, it is fixed at 8 MHz and connected to PF0-OSC_IN of the STM32F303VCT6.
Configuration needed:
–

SB12 closed, SB17 open, R33 removed

–

SB18, R32, C22, C23, X2 = do not care

Oscillator on board. From X2 crystal (not provided). For typical frequencies and its
capacitors and resistors, refer to the STM32F303VCT6 Datasheet. Configuration
needed:
–

SB12, SB17, SB18 open

–

R32, R33, C22, C23, X2 soldered

Oscillator from external PF0. From external oscillator through pin 5 of the P2
connector. Configuration needed:
–

SB12 open, SB17 closed, R33 removed

–

SB18, R32, C22, C23, X2 = do not care

No external oscillator. From Internal oscillator HSI only. PF0 and PF1 can be used as
GPIO. Configuration needed:
–

SB12 open, SB17 closed, SB18 closed, R32 removed, R33 removed

–

C22, C23, X2 = do not care

OSC 32 kHz clock supply
The following information indicates all the configurations for the 32 kHz clock supply
selection:
•

•

•

20/37

Oscillator on board. From X3 Crystal (not provided). Configuration needed:
–

SB14 open, SB16 open.

–

R29, R30, C14, C26, X3 soldered.

Oscillator from external PC14. From external oscillator through the pin 7 of P2
connector. Configuration needed:
–

SB14 open, R29 removed

–

SB16, R30, C14, C26, X3 = do not care

No external oscillator. PC14 and PC15 can be used as GPIO. Configuration needed:
–

SB14 closed, SB16 closed, R29 removed, R30 removed.

–

C14, C26, X3 = do not care.

DocID023594 Rev 4

UM1570

6.11

Hardware layout and configuration

Solder bridges
Table 5. Solder bridges
State(1)

Description

SB17,18
(X1 crystal) (2)

OFF

X1, C22, C23, R32 and R33 provide a clock. PF0, PF1 are disconnected from P2.

ON

PF0, PF1 are connected to P2 (R32 and R33 must not be fitted).

SB1,3,5,8 (default)

ON

Reserved, do not modify

SB2,4,6,9 (reserved)

OFF

Reserved, do not modify

SB14,16
(X3 crystal)

OFF

X3, C14, C26, R29 and R30 deliver a 32 KHz clock. PC14, PC15 are not
connected to P2.

ON

PC14, PC15 are only connected to P2. Remove only R26, R29

SB23
(B2-RESET)

ON

B2 push-button is connected to NRST of STM32F303VCT6

OFF

B2 push-button is not connected to NRST of STM32F303VCT6

ON

B1 push-button is connected to PA0

OFF

B1 push-button is not connected to PA0

OFF

STM32F303VCT6 USART1 is not connected to ST-LINK, so VCP is disabled
(Default configuration on PCB version A or B).

ON

STM32F303VCT6 USART1 is connected to ST-LINK, so VCP is enabled (default
configuration on PCB version C and newer).

ON

NRST signal of connector CN3 is connected to NRST of STM32F303VCT6

OFF

NRST signal is not connected

ON

SWO signal of connector CN3 is connected to PB3

OFF

SWO signal is not connected

OFF

No incidence on NRST signal of STM32F103C8T6

ON

NRST signal of STM32F103C8T6 is connected to GND

ON

BOOT0 signal of STM32F303VCT6 is at level "0" through 510 ohm pull-down

OFF

BOOT0 signal of STM32F303VCT6 is at level "1" through 10K ohm pull-up (not
provided).

OFF

PA11 and PA12 are only used for USB USER and not connected to P2 to avoid
noise.

ON

PA11 and PA12 are connected to P2.

OFF

MCO signal of STM32F103C8T6 is not used.

ON

MCO clock signal from STM32F103C8T6 is connected to OSC_IN of
STM32F303VCT6.

Bridge

SB20
(B1-USER)
SB13,15
(RX,TX)
SB7
(NRST)
SB10
(SWO)
SB11
(STM_RST)
SB19
(BOOT0)
SB21,22
(USB USER)
SB12
(MCO)(2)

1. Default state is shown in bold.
2. If SB12 is ON, SB17 must be OFF and R33 removed to provide the clock source from the MCO correctly.

DocID023594 Rev 4

21/37
36

Hardware layout and configuration

6.12

UM1570

Extension connectors
The male headers P1 and P2 can connect the STM32F3DISCOVERY to a standard
prototyping/wrapping board. STM32F303VCT6 GPIOs are available on these connectors.
P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.
Table 6. STM32F303VCT6 MCU pin description versus board function (1)

-

-

-

PA1

TIM2_CH2, G1_IO2,
USART2_RTS,
TIM15_CH1N

24

-

-

-

PA2

TIM2_CH3, G1_IO3,
USART2_TX,
COMP2_OUT,
TIM15_CH1,
AOP1_OUT

25

-

-

PA3

TIM2_CH4, G1_IO4,
USART2_RX,
TIM15_CH2

26

-

PA4

TIM3_CH2, G2_IO1,
SPI1_NSS,
SPI3_NSS/I2S3_WS,
USART2_CK

29

PA5

TIM2_CH1_ETR,
G2_IO2, SPI1_SCK

30

22/37

P2

23

P1

PA0

TIM2_CH1_ETR,
G1_IO1,
USART2_CTS,
COMP1_OUT,
TIM8_BKIN,
TM8_ETR

CN3

-

Power supply

-

Free I/O

-

OSC

14

USB

-

SWD

NRST

-

-

-

-

-

-

-

-

-

19

-

-

-

5

4

-

NRST

-

LED

-

-

-

Push-button

94

RESET

L3GD20

-

-

USER

LSM303DLHC

BOOT0

Main
function

-

-

-

-

-

-

-

12

-

-

-

-

-

-

-

-

-

9

-

-

-

-

-

-

-

-

-

-

14

-

-

-

-

-

-

-

-

-

-

-

11

-

-

-

-

-

-

-

-

-

-

-

-

16

-

-

-

SCL/SPC

Alternate function

VCP

Board function

LQFP100 pin number

MCU pin

-

-

-

-

-

-

-

-

15

-

DocID023594 Rev 4

UM1570

Hardware layout and configuration

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

PA10

TIM17_BKIN,
G4_IO2, I2C2_SDA,
TIM1_CH3,
USART1_RX,
COMP6_OUT,
TIM2_CH4,
TIM8_BKIN

69

P2

68

P1

PA9

G4_IO1, I2C2_SCL,
I2S3_MCK,
TIM1_CH2,
USART1_TX,
COMP5_OUT,
TIM15_BKIN,
TIM2_CH3

CN3

-

Power supply

-

Free I/O

67

OSC

PA8

MCO, I2C2_SMBAL,
I2S2_MCK,
TIM1_CH1,
USART1_CK,
COMP3_OUT,
TIM4_ETR

USB

-

SWD

-

LED

32

Push-button

PA7

TIM17_CH1,
TIM3_CH2, G2_IO4,
TIM8_CH1N,
SPI1_MOSI,
TIM1_CH1N,
COMP2_OUT

L3GD20

-

SAO/SDO

-

-

-

-

-

-

-

-

-

18

-

SDA/SDI/SDO

LSM303DLHC

31

-

-

-

-

-

-

-

-

17

-

-

-

-

-

-

-

-

-

-

-

45

USART1_TX

PA6

TIM16_CH1,
TIM3_CH1, G2_IO3,
TIM8_BKIN,
SPI1_MISO,
TIM1_BKIN,
AOP2_OUT,
COMP1_OUT

Main
function

-

-

-

-

-

-

-

-

-

-

-

44

USART1_RX

Alternate function

VCP

Board function

LQFP100 pin number

MCU pin

-

-

-

-

-

-

-

-

-

-

-

43

DocID023594 Rev 4

23/37
36

Hardware layout and configuration

UM1570

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

VCP

LSM303DLHC

L3GD20

Push-button

LED

SWD

USB

OSC

Free I/O

Power supply

CN3

P1

P2

PA11

TIM1_CH1N,
USART1_CTS,
COMP1_OUT,
CAN_RX,
TIM4_CH1,
TIM1_CH4_BKIN2,
USBDM

70

-

-

-

-

-

-

DM

-

-

-

-

-

42

PA12

TIM16_CH1,
TIM1_CH2N,
USART1_RTS,
COMP2_OUT,
CAN_TX, TIM4_CH2,
TIM1_ETR, USBDP

71

-

-

-

-

-

-

DP

-

-

-

-

-

41

PA13

JTMS-SWDAT,
TIM16_CH1N,
G4_IO3, IR-Out,
USART3_CTS,
TIM4_CH3

72

-

-

-

-

-

SWDIO

-

-

-

-

4

-

40

PA14

JTCK-SWCLK,
G4_IO4, I2C1_SDA,
TIM8_CH2,
TIM1_BKIN,
USART2_TX

76

-

-

-

-

-

SWCLK

Board function

LQFP100 pin number

MCU pin

-

-

-

-

2

-

37

PA15

JTDI,
TIM2_CH1_ETR,
TIM8_CH1,
I2C1_SCL,
SPI1_NSS,
SPI3_NSS/I2S3_WS,
USART2_RX,
TIM1_BKIN

77

-

-

-

-

-

-

-

-

-

-

-

-

38

PB0

TIM3_CH3, G3_IO2,
TIM8_CH2N,
TIM1_CH2N

35

-

-

-

-

-

-

-

-

-

-

-

22

-

Main
function

24/37

Alternate function

DocID023594 Rev 4

UM1570

Hardware layout and configuration

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

Alternate function

VCP

LSM303DLHC

L3GD20

Push-button

LED

SWD

USB

OSC

Free I/O

Power supply

CN3

P1

P2

PB1

TIM3_CH4, G3_IO3,
TIM8_CH3N,
TIM1_CH3N,
COMP4_OUT,
AOP3_OUT

36

-

-

-

-

-

-

-

-

-

-

-

21

-

PB2

G3_IO4

37

-

-

-

-

-

-

-

-

-

-

-

24

-

PB3

JTDO/TRACESWO,
TIM2_CH2,
TIM4_ETR, G5_IO1,
TIM8_CH1N,
SPI1_SCK,
SPI3_SCK/I2S3_CK,
USART2_TX,
TIM3_ETR

89

-

-

-

-

-

SWO

-

-

-

-

6

-

26

PB4

NJTRST,
TIM16_CH1,
TIM3_CH1, G5_IO2,
TIM8_CH2N,
SPI1_MISO,
SPI3_MISO/I2S3_DI
N,USART2_RX,
TIM17_BKIN

90

-

-

-

-

-

-

-

-

-

-

-

-

23

PB5

TIM16_BKIN,
TIM3_CH2,
TIM8_CH3N,
I2C1_SMBAL,
SPI1_MOSI,
SPI3_MOSI/I2S3_D
OUT, USART2_CK,
TIM17_CH1

91

-

-

-

-

-

-

-

-

-

-

-

-

24

PB6

TIM16_CH1N,
TIM4_CH1, G5_IO3,
I2C1_SCL,
TIM8_CH1,
TIM8_ETR_BKIN2,
USART1_TX

92

-

SCL

Board function

LQFP100 pin number

MCU pin

-

-

-

-

-

-

-

-

-

-

21

Main
function

DocID023594 Rev 4

25/37
36

Hardware layout and configuration

UM1570

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

P1

P2

PB11

CN3

TIM2_CH3, SYNCH,
USART3_TX

Power supply

PB10

Free I/O

96

OSC

PB9

TIM17_CH1,
TIM4_CH4,
I2C1_SDA, IR-OUT,
CAN_TX, TIM8_CH3

USB

-

SWD

95

LED

PB8

TIM16_CH1,
TIM4_CH3, SYNCH,
I2C1_SCL,
COMP1_OUT,
CAN_RX,
TIM8_CH2,
TIM1_BKIN

Push-button

-

L3GD20

93

LSM303DLHC

PB7

TIM17_CH1N,
TIM4_CH2, G5_IO4,
I2C1_SDA,
TIM8_BKIN,
USART1_RX,
TIM3_CH4

SDA

Alternate function

VCP

Board function

LQFP100 pin number

MCU pin

-

-

-

-

-

-

-

-

-

-

22

-

-

-

-

-

-

-

-

-

-

-

17

-

-

-

-

-

-

-

-

-

-

-

-

18

47

-

-

-

-

-

-

-

-

-

-

-

34

-

TIM2_CH4, G6_IO1,
USART3_RX,
COMP2_OUT

48

-

-

-

-

-

-

-

-

-

-

-

33

-

PB12

G6_IO2,
I2C2_SMBAL,
SPI2_NSS/I2S2_WS,
TIM1_BKIN,
USART3_CK,
AOP4_OUT

51

-

-

-

-

-

-

-

-

-

-

-

36

-

PB13

G6_IO3,
SPI2_SCK/I2S2_CK,
TIM1_CH1N,
USART3_CTS

52

-

-

-

-

-

-

-

-

-

-

-

35

-

Main
function

26/37

DocID023594 Rev 4

UM1570

Hardware layout and configuration

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

Alternate function

VCP

LSM303DLHC

L3GD20

Push-button

LED

SWD

USB

OSC

Free I/O

Power supply

CN3

P1

P2

Board function

LQFP100 pin number

MCU pin

PB14

TIM15_CH1,
G6_IO4,
SPI2_MISO/I2S2_DI
N,TIM1_CH2N,
USART3_RTS

53

-

-

-

-

-

-

-

-

-

-

-

38

-

PB15

TIM15_CH2,
TIM15_CH1N,
TIM1_CH3N,
SPI2_MOSI/
I2S2_DOUT

54

-

-

-

-

-

-

-

-

-

-

-

37

-

Main
function

PC0

-

15

-

-

-

-

-

-

-

-

-

-

-

6

-

PC1

-

16

-

-

-

-

-

-

-

-

-

-

-

5

-

PC2

COMP7_OUT

17

-

-

-

-

-

-

-

-

-

-

-

8

-

PC3

TIM1_BKIN2

18

-

-

-

-

-

-

-

-

-

-

-

7

-

PC4

USART1_TX

33

-

-

-

-

-

-

-

-

-

-

-

20

-

PC5

G3_IO1,
USART1_RX

34

-

-

-

-

-

-

-

-

-

-

-

19

-

PC6

TIM3_CH1,
TIM8_CH1,
I2S2_MCK,
COMP6_OUT

63

-

-

-

-

-

-

-

-

-

-

-

47

-

PC7

TIM3_CH2,
TIM8_CH2,
I2S3_MCK,
COMP5_OUT

64

-

-

-

-

-

-

-

-

-

-

-

48

-

PC8

TIM3_CH3,
TIM8_CH3,
COMP3_OUT

65

-

-

-

-

-

-

-

-

-

-

-

-

47

PC9

TIM3_CH4,
TIM8_CH4_BKIN2,
COMP3_OUT

66

-

-

-

-

-

-

-

-

-

-

-

-

46

DocID023594 Rev 4

27/37
36

Hardware layout and configuration

UM1570

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

LSM303DLHC

L3GD20

Push-button

LED

SWD

USB

OSC

Free I/O

Power supply

CN3

P1

P2

PC10

TIM8_CH1N,
UART4_TX,
SPI3_SCK/I2S3_CK,
USART3_TX

78

-

-

-

-

-

-

-

-

-

-

-

-

35

PC11

TIM8_CH2N,
UART4_RX,
SPI3_MISO/I2S3_DI
N,USART3_RX

79

-

-

-

-

-

-

-

-

-

-

-

-

36

PC12

TIM8_CH3N,
UART5_TX,
SPI3_MOSI/
I2S3_DOUT,
USART3_CK

80

-

-

-

-

-

-

-

-

-

-

-

-

33

PC13

TIM1_CH1N

7

-

-

-

-

-

-

-

-

-

-

-

-

10

PC14

OSC32_IN

8

-

-

-

-

-

-

-

-

-

-

-

7

PC15

OSC32_OUT

9

-

-

-

-

-

-

-

-

-

-

-

8

PD0

CAN_RX

81

-

-

-

-

-

-

-

-

-

-

-

-

34

PD1

TIM8_CH4_BKIN2,
CAN_TX

82

-

-

-

-

-

-

-

-

-

-

-

-

31

PD2

TIM3_ETR,
TIM8_BKIN,
UART5__RX

83

-

-

-

-

-

-

-

-

-

-

-

-

32

PD3

TIM2_CH1_ETR,
USART2_CTS

84

-

-

-

-

-

-

-

-

-

-

-

-

29

PD4

TIM2_CH2,
USART2_RTS

85

-

-

-

-

-

-

-

-

-

-

-

-

30

Main
function

28/37

DocID023594 Rev 4

OSC32_OUT OSC32_IN

Alternate function

VCP

Board function

LQFP100 pin number

MCU pin

UM1570

Hardware layout and configuration

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

VCP

LSM303DLHC

L3GD20

Push-button

LED

SWD

USB

OSC

Free I/O

Power supply

CN3

P1

P2

PD5

USRT2_TX

86

-

-

-

-

-

-

-

-

-

-

-

-

27

PD6

TIM2_CH4,
USART2_RX

87

-

-

-

-

-

-

-

-

-

-

-

-

28

PD7

TIM2_CH3,
USART2_CK

88

-

-

-

-

-

-

-

-

-

-

-

-

25

PD8

USART3_TX

55

-

-

-

-

-

-

-

-

-

-

-

40

-

PD9

USART3_RX

56

-

-

-

-

-

-

-

-

-

-

-

39

-

PD10

USART3_CK

57

-

-

-

-

-

-

-

-

-

-

-

42

-

PD11

USART3_CTS

58

-

-

-

-

-

-

-

-

-

-

-

41

-

PD12

TIM4_CH1, G8_IO1,
USART3_RTS

59

-

-

-

-

-

-

-

-

-

-

-

44

-

PD13

TIM4_CH2, G8_IO2

60

-

-

-

-

-

-

-

-

-

-

-

43

-

PD14

TIM4_CH3, G8_IO3

61

-

-

-

-

-

-

-

-

-

-

-

46

-

PD15

TIM4_CH4, G8_IO4,
SPI2_NSS

62

-

-

-

-

-

-

-

-

-

-

-

45

-

PE0

TIM4_ETR,
TIM16_CH1,
USART1_TX

97

-

-

INT1

-

-

-

-

-

-

-

-

-

15

PE1

TIM17_CH1,
USART1_RX

98

-

-

DRDY/INT2

-

-

-

-

-

-

-

-

-

16

PE2

TRACECK,
TIM3_CH1, G7_IO1

1

-

DRDY

-

-

-

-

-

-

-

-

-

-

13

PE3

TRACED0,
TIM3_CH2, G7_IO2

2

-

-

CS_I2C/SPI

-

-

-

-

-

-

-

-

-

14

PE4

TRACED1,
TIM3_CH3, G7_IO3

3

-

INT1

-

Board function

LQFP100 pin number

MCU pin

-

-

-

-

-

-

-

-

-

11

Main
function

Alternate function

DocID023594 Rev 4

29/37
36

Hardware layout and configuration

UM1570

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

PE8

TIM1_CH1N

39

PE9

TIM1_CH1

PE10

-

-

-

-

-

-

-

-

12

-

-

-

-

-

-

-

-

-

-

-

9

-

-

-

-

-

-

-

-

-

-

23

-

-

-

-

-

-

-

-

-

-

-

26

-

40

-

-

-

-

-

-

-

-

-

-

25

-

TIM1_CH2N

41

-

-

-

-

-

-

-

-

-

-

28

-

PE11

TIM1_CH2

42

-

-

-

-

-

-

-

-

-

-

27

-

PE12

TIM1_CH3N

43

-

-

-

-

-

-

-

-

-

-

30

-

PE13

TIM1_CH3

44

-

-

-

-

-

-

-

-

-

-

29

-

PE14

TIM1_CH4_BKIN2

45

-

-

-

-

-

-

-

-

-

-

32

-

PE15

TIM1_BKIN,
USART3_RX

46

-

-

-

-

-

-

-

-

-

-

31

-

PF0

OSC_IN, I2C2_SDA,
TIM1_CH3N

12

-

-

-

-

-

-

-

-

-

-

-

5

PF1

OSC_OUT,
I2C2_SCL

13

-

-

-

-

-

-

-

-

-

-

-

6

30/37

DocID023594 Rev 4

OSC_OUT OSC_IN

-

Main
function

LD6/
LD8/
LD10/ LD9/
LD7/
LD5/
LD3/ LD4/
GREEN ORANGE RED BLUE GREEN ORANGE RED BLUE

P2

-

P1

38

CN3

TIM1_ETR

Power supply

PE7

Free I/O

-

OSC

5

USB

TRACED3

SWD

PE6

LED

-

Push-button

4

L3GD20

TRACED2,
TIM3_CH4, G7_IO4

-

LSM303DLHC

PE5

INT2

Alternate function

VCP

Board function

LQFP100 pin number

MCU pin

UM1570

Hardware layout and configuration

Table 6. STM32F303VCT6 MCU pin description versus board function (continued)(1)

LSM303DLHC

L3GD20

Push-button

LED

SWD

USB

OSC

Free I/O

Power supply

CN3

P1

P2

PF2

Alternate function

VCP

Main
function

Board function

LQFP100 pin number

MCU pin

-

19

-

-

-

-

-

-

-

-

-

-

-

10

-

COMP1_OUT

27

-

-

-

-

-

-

-

-

-

-

-

13

-

PF6

TIM4_CH4,
I2C2_SCL,
USART3_RTS

73

-

-

-

-

-

-

-

-

-

-

-

-

39

PF9

TIM15_CH1,
SPI2_SCK

10

-

-

-

-

-

-

-

-

-

-

-

-

3

PF10

TIM15_CH2,
SPI2_SCK

11

-

-

-

-

-

-

-

-

-

-

-

-

4

-

-

-

-

-

-

-

-

-

-

-

-

5V

-

-

1

-

-

-

-

-

-

-

-

-

-

-

-

5V

-

-

2

-

-

-

-

-

-

-

-

-

-

-

-

3V

-

1

-

-

-

-

-

-

-

-

-

-

-

-

-

3V

-

2

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

20

-

-

-

-

-

-

-

-

-

-

-

-

3

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

49

49

-

-

-

-

-

-

-

-

-

-

-

-

GND GND GND VDD

PF4

-

50

50

1. The cells marked in grey identify connections between MCU pin function and the board function.

DocID023594 Rev 4

31/37
36

STM32F3DISCOVERY electrical schematics
Figure 9. STM32F3DISCOVERY top level
1

2

3

ST_LINK_V2.SCHDOC
U_ST_LINK

STM32F3_USART1_RX
STM32F3_USART1_TX

PC5
PC4

PC5
PC4

A

MCO
PA14
PA13
PB3
NRST

U_STM32Fx
STM32Fx.SchDoc
MCO
PA14
PA13
PB3

TCK/SWCLK
TMS/SWDIO
T_SWO

NRST

T_NRST

PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15

DocID023594 Rev 4

PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15

B
P1
3V

C

3V

1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49

PC1
PC3
PA1
PA3
PF4
PA5
PA7
PC5
PB1
PE7
PE9
PE11
PE13
PE15
PB11
PB13
PB15
PD9
PD11
PD13
PD15
PC6

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50

3V
NRST
PC0
PC2
PF2
PA0
PA2
PA4
PA6
PC4
PB0
PB2
PE8
PE10
PE12
PE14
PB10
PB12
PB14
PD8
PD10
PD12
PD14
PC7

4

3V

PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
BOOT0

Header 25X2

NRST

U_IO Peripherals
IO Peripherals.SchDoc

PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15

PE0
PE1
PE2
PE3
PE4
PE5
PE6
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15

PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15

PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15

PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15

PF0
PF1
PF2
PF4
PF6
PF9
PF10

PE0
PE1
PE2
PE3
PE4
PE5
PE6
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15

PE0
PE1
PE2
PE3
PE4
PE5

PE0
PE1
PE2
PE3
PE4
PE5

PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15

PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15

NRST

NRST

PA0

PA0

PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15

A

PA5
PA6
PA7

PA5
PA6
PA7

PA11
PA12

PA11
PA12

PB6
PB7

PB6
PB7

P2
5V

PF0
PF1
PF2
PF4
PF6
PF9
PF10

5V
PF9
PF0
PC14
PE6
PE4
PE2
PE0
PB8
BOOT0
PB6
PB4
PD7
PD5
PD3
PD1
PC12
PC10
PA14
PF6

PA12
SB21

PA10
PA8
PC8

1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49

5V
PF10
PF1
PC15
PC13
PE5
PE3
PE1
PB9

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50

5V
B

VDD

PB7
PB5
PB3
PD6
PD4
PD2
PD0
PC11
PA15
PA13

PA11
PA9
PC9

C

SB22

Header 25X2

MCO

MCO
Rev D.1 --> PCB label MB1035 D-01, only silkscreen modification
STM32F303C-DISC1 replaced by STM32F3DISCOVERY
Rev C.1 --> PCB label MB1035 C-01, SB13 and SB15 closed,
STM32F103C8T6 replaced by STM32F103CBT6, ST-LINK/V2-B
Rev B.1 --> PCB B-00, reverse LEDs Colors Red/Blue on sheet 4, only a picture modification
Rev B.0 --> PCB B-00, added 2 SB to isolate USB USER
Rev A.0 --> First Version

BOOT0
NRST

D

D

STMicroelectronics
STM32F3DISCOVERY

Number:MB1035 Rev: D.1(PCB.SCH)
2

3

Date: 6/8/2016
4

Sheet 1

of

4

UM1570

Title:

1

STM32F3DISCOVERY electrical schematics

32/37

7

1

2

3

UM1570

Figure 10. STM32F3DISCOVERY ST-LINK/V2 (SWD only)
4

TCK/SWCLK
TMS/SWDIO

PA14
PA13
NRST
PB3

T_NRST

8MHz
R23
100K

OSC_IN
OSC_OUT
STM_RST

B
C12
100nF

3V

4K7

R25

4K7

AIN_1

PC5
SB13
TX
RX

JP4
STLINK_RX

PC4

VDD_2
VSS_2
JTMS/SWDIO
PA12
PA11
PA10
PA9
PA8
PB15
PB14
PB13
PB12

3V

T_JTCK

R20

3V

SB2

SB3

SB4

SB5

SB6

SB8

SB9

STM_JTCK

SWCLK

STM_JTMS

SWDIO

T_JTMS

22
R21

T_NRST

22
R22

T_SWO

22

R48

RC Must be very close to STM32F103 pin 29

100

T_JTMS
T_JTCK

SB1

22

Header 6

STM_JTMS
USB_DP
USB_DM
T_SWO
LED_STLINK

A

MCO

B

MCO

CN4

C38
20pF

R26
100

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

Not Fitted

T_SWDIO_IN

Wired on Solder Side

Idd
3V

3V

JP3

LD2
JP2

VDD

COM

R6

Red

2

1

100
R1
1K

SB15

STM32F3_USART1_TX

36
35
34
33
32
31
30
29
28
27
26
25

R19

1
2
3
4
5
6

U2
STM32F103CBT6

RESERVED

100

13
14
15
16
17
18
19
20
21
22
23
24

STM32F3_USART1_RX

AIN_1

BAT60JFILM

48
47
46
45
44
43
42
41
40
39
38
37

VBAT
PC13
PC14
PC15
OSCIN
OSCOUT
NRST
VSSA
VDDA
PA0
PA1
PA2

STLINK_TX

SB11

R7

JP1

R5

LED_STLINK

3

4

R2
0

100

C

3V
C

_Green

Not Fitted

LD1
RED

LD_BICOLOR_CMS

PWR
5V

EXT_5V, Input or Output
D2
U5V

5V
BAT60JFILM

VCC
DD+
ID
GND
SHELL

1
2
3
4
5
0

R12
R14
R13
R11

1K5
3V
0
USB_DM
0
USB_DP
100K

C10
100nF

C5
100nF

C8
100nF

D3

Vin

Vout

5

3V

3 INH
BAT60JFILM
C3
C6
GND
BYPASS
1μF_X5R_0603
1μF_X5R_0603
EXT_3V, Input or Output
LD3985M33R
C1
C2
C4
100nF
10nF_X7R_0603
100nF

C13
100nF

2

U5V

CN1

1

3V

4

USB ST-LINK

U1

5075BMR-05-SM

D

D

STMicroelectronics
Title:

STM32F3DISCOVERY ST-LINK/V2-B (SWD only)

Number:MB1035 Rev: D.1(PCB.SCH)
1

2

3

Date: 6/8/2016
4

Sheet 2

of

4

33/37

STM32F3DISCOVERY electrical schematics

DocID023594 Rev 4

R24

1
2
3
4
5
6
7
8
9
10
11
12

D1

SWD

1
2
3
4

2

DEFAULT

SWIM_IN
SWIM

C7
20pF

X1
1

SB10

CN3

3V

VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4/JNTRST
PB3/JTDO
PA15/JTDI
JTCK/SWCLK

C9
20pF
3V

R3
10K

SWD

PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2/BOOT1
PB10
PB11
VSS_1
VDD_1

Not Fitted

STM_JTCK

100K

SWIM_IN
SWIM

10K

Board Ident: PC13=0

SB7

T_SWO

Not Fitted
SWIM_IN
SWIM_RST
SWIM_RST_IN

R8

R10

T_JRST

10K

T_JTCK
T_JTDO
T_JTDI
T_NRST

A

R9

1

2

3

4

U4A
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15

A
MCO

PF0

MCO
SB12
PF0-OSC_IN

R33

0

PF1-OSC_OUT

R32

220

1

Must be close to the Crystal
PF1

C23
20pF

2

SB17

X2
8MHz
C22
20pF

SB18

Not Fitted

PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15

C14

DocID023594 Rev 4

PC15-OSC32_OUT

PC15

R30

0

3

0
4

R29

SB14

2

PC14-OSC32_IN

PC14

1

B

6.8pF
X3
MC306-G-06Q-32.768
C26

SB16

Not Fitted

6.8pF

PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15

23
24
25
26
29
30
31
32
67
68
69
70
71
72
76
77

PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15

35
36
37
89
90
91
92
93
95
96
47
48
51
52
53
54

PF0-OSC_IN
PF1-OSC_OUT
PF2
PF2
PF4
PF6
C

PF9
PF10
U4B

VDD
50
75
28

L1
fcm1608-0603

C20
1uF

C21
100nF

C16
1uF

C17
100nF

100
22

R31
0

D

R34

C32
100nF

C27
100nF
C30
100nF

21

C31
100nF

C29
100nF
C28
100nF

C25
100nF

6

0

VDD2
VDD3
VDD4

VSS3
VSS2

VDDA_VDD1 VSSA_VSS1

74
49

NRST
BOOT0
VDD

R36

10K

99

R35

12
13
19

PF4

27

PF6

73

PF9
PF10

10
11

NRST

14

BOOT0

94

510

PA0 PC15-OSC32_OUT
PA1
PC14-OSC32_IN
PA2
PC13-WKUP2
PA3
PC12
PA4
PC11
PA5
PC10
PA6
PC9
PA7
PC8
PA8
PC7
PA9
PC6
PA10
PC5
PA11
PC4
PA12
PC3
PA13
PC2
PA14
PC1
PA15
PC0
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15

PD15
PD14
PD13
PD12
PD11
PD10
PD9
PD8
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0

PF0-OSC_IN
PF1-OSC_OUT
PF2
PF4
PF6
PF9
PF10
NRST

BOOT0

PE15
PE14
PE13
PE12
PE11
PE10
PE9
PE8
PE7
PE6-WKUP3
PE5
PE4
PE3
PE2
PE1
PE0

9
8
7
80
79
78
66
65
64
63
34
33
18
17
16
15

PC15-OSC32_OUT
PC14-OSC32_IN
PC13
PC13
PC12
PC12
PC11
PC11
PC10
PC10
PC9
PC9
PC8
PC8
PC7
PC7
PC6
PC6
PC5
PC5
PC4
PC4
PC3
PC3
PC2
PC2
PC1
PC1
PC0
PC0

62
61
60
59
58
57
56
55
88
87
86
85
84
83
82
81

PD15
PD14
PD13
PD12
PD11
PD10
PD9
PD8
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0

46
45
44
43
42
41
40
39
38
5
4
3
2
1
98
97

PE15
PE14
PE13
PE12
PE11
PE10
PE9
PE8
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0

A

PD15
PD14
PD13
PD12
PD11
PD10
PD9
PD8
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0

B

PE15
PE14
PE13
PE12
PE11
PE10
PE9
PE8
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0

C

STM32F303VCT6

SB19
VDDadc
VREF+

VSSadc/VREF-

20

Not Fitted

VBAT
STM32F303VCT6

C24
1uF

D

STMicroelectronics
Title:

STM32F3DISCOVERY - STM32F303VCT6 MCU

Number:MB1035 Rev: D.1(PCB.SCH)
1

STM32F3DISCOVERY electrical schematics

34/37

Figure 11. STM32F3DISCOVERY STM32F303VCT6 MCU

2

3

Date: 6/8/2016

Sheet 3

of

4

4

UM1570

1

2

3

4
VDD

D5

VDD

R37

Not Fitted

BAT60JFILM

CN2
VCC
DD+
ID
GND
SHELL

R16
R18
R17
R15

1K5
22
22
100K

C33

3V

USB_DM
USB_DP

PA11
PA12

100nF
PA0

PE15

R43

PE15

SB20

PE12

PE11

C

PE10

PE9

PE8

N

LD8
Orange
1

2

R

SB23

C37
R4
220K

100nF

RESET Button

3V

R45

PE14

R28
10K

680
LD10
Red
R46
1
680
LD9
Blue
R47
1
680
LD7
Green
R44
1
510
LD5
Orange
R42
1
680
LD3
Red
R41
1
680
LD4
Blue
R40
1
680

PE13

PE12

PE11

PE10

PE9

PE8

B

PB6
PB7
PE5
PE4

O

2

R27
10K

PB6
PB7
PE5
PE4
C11

VDD_IO
SCL
SDA
INT2
INT1
C1
GND

VDD
SETC
SETP
GND
GND
DRDY
NC

14
13
12
11
10
9
8

10uF
C15

220nF

C19
PE2

PE2

100nF

LSM303DLHC

2

2

B

C18
U3
1
2
3
4
5
6
7

W

G

G

4.7uF

E

3V

U5

2

O

B

2

R

2

SPI1_SCK
SPI1_MOSI
SPI1_MISO
CS_I2C/SPI
MEMS_INT2
MEMS_INT1

PA5
PA7
PA6
PE3
PE1
PE0

S

PA5
PA7
PA6
PE3
PE1
PE0

1
2
3
4
5
6
7
8

VDD_IO
SCL/SPC
SDA/SDI/SDO
SA0/SDO
CS_I2C/SPI
DRDY/INT2
INT1
GND

VDD
VDD
C1
GND
GND
GND
GND
GND

16
15
14
13
12
11
10
9

C

C35
100nF
C36

C34

10nF/25V

10uF

L3GD20

LEDs

MEMS
Silkscreen for Gyroscope and E-compass with accelerometer

D

D

STMicroelectronics
Title:

STM32F3DISCOVERY Peripherals

Number:MB1035 Rev: D.1(PCB.SCH)
1

2

3

Date: 6/8/2016
4

Sheet 4

of

4

35/37

STM32F3DISCOVERY electrical schematics

DocID023594 Rev 4

PE13

2

A

NRST

NRST

330

USER & WAKE-UP Button

LD6
Green
1

R39
100K

510

B

PE14

R38

PA0

5075BMR-05-SM

3
2

1
2
3
4
5
0

SW-PUSH-CMS
B2

BAT60JFILM

SW-PUSH-CMS
B1

100

4
1

5V

4
1

D4

3
2

USB User

A

UM1570

Figure 12. STM32F3DISCOVERY Peripherals

Revision history

8

UM1570

Revision history
Table 7. Document revision history
Date

Revision

10-Sep-2012

1

Initial release.

20-Sep-2012

2

Added Figure 7 on page 11 and updated Figure 12 on page 35

07-Feb-2013

3

Updated Section 6.2: Embedded ST-LINK/V2 (or V2-B): removed
WLCSP package, Sigma Delta ADC, CEC, updated timers and
SPI/I²Ss.

4

To introduce the information that boards come with ST-LINK/V2
or ST-LINK/V2-B:
Updated Section 1: Features, Section 3: Ordering information,
Section 6.2.4: Using ST-LINK/V2 (or V2-B) to program/debug the
STM32F303VCT6 on board, Section 6.2.5: Using ST-LINK/V2 (or
V2-B) to program/debug an external STM32 application, Table 5:
Solder bridges, Table 6: STM32F303VCT6 MCU pin description
versus board function.
Added Section 2: Product marking, Section 6.2.1: Drivers,
Section 6.2.2: ST-LINK/V2 (or V2-B) firmware upgrade,
Section 6.2.3: VCP configuration.

21-Jul-2016

36/37

Changes

DocID023594 Rev 4

UM1570

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

DocID023594 Rev 4

37/37
37



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
Tagged PDF                      : Yes
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 37
Creator                         : C2 v2.1.0.1 build 007 - c2_rendition_config : Techlit_Active
Producer                        : Acrobat Distiller 9.0.0 (Windows)
Title                           : Discovery kit with STM32F303VC MCU
Keywords                        : Technical Literature, 023594, Product Development, Specification, User manual, STM32F3DISCOVERY
Modify Date                     : 2016:07:21 11:41:06Z
Subject                         : -
Author                          : STMICROELECTRONICS
Create Date                     : 2016:07:21 10:49:01Z
EXIF Metadata provided by EXIF.tools

Navigation menu