advertisement
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 a USB Mini-B connector.
Figure 1. STM32F3DISCOVERY
August 2020
Picture is not contractual.
UM1570 Rev 6 1/36 www.st.com
1
Contents
Contents
2/36
UM1570
Development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
The STM32F3DISCOVERY Discovery board mechanical drawing . . . . . 13
Embedded ST-LINK/V2 (or V2-B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
ST-LINK/V2 (or V2-B) firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . 15
Using ST-LINK/V2 (or V2-B) to program/debug the on-board
STM32F303VCT6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
ST MEMS E-compass (ST MEMS LSM303DLHC or LSM303AGR) . . . . 19
ST MEMS Gyroscope (ST MEMS L3GD20 or I3G4250D) . . . . . . . . . . . . 19
UM1570 Rev 6
UM1570
Contents
OSC 32 kHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
STM32F3DISCOVERY information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
UM1570 Rev 6 3/36
3
List of tables
List of tables
UM1570
STM32F303VCT6 MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . 22
4/36 UM1570 Rev 6
UM1570
List of figures
List of figures
UM1570 Rev 6 5/36
5
Features
1 Features
UM1570
The STM32F3DISCOVERY board offers the following features.
• STM32F303VCT6 Arm
®(a)
-based 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
• ST MEMS motion sensor, 3-axis digital output gyroscope
• 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 push buttons (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 quick evaluation and development.
6/36 a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
UM1570 Rev 6
UM1570 Ordering information
To order the STM32F3DISCOVERY Discovery with the STM32F303VCT6 microcontroller,
. Additional information is available from the datasheet and reference manual of the target microcontroller.
Order code
STM32F3DISCOVERY
(1)
Table 1. Ordering information
Board reference
MB1035
Target STM32
STM32F303VCT6
1. STM32F3DISCOVERY with ST-LINK/V2 for PCB version A or B, with ST-LINK/V2-B for PCB version C and newer.
2.1 Codification
The meaning of the codification is explained in
.
STM32XXDISCOVERY
32XX
DISCOVERY
Table 2. Codification explanation
Description Example: STM32F3DISCOVERY
MCU series in STM32 32-bit Arm
Cortex MCUs
Discovery kit
STM32F3 Series
Discovery kit
The order code is mentioned on a sticker placed on the top or bottom side of the board.
UM1570 Rev 6 7/36
35
Development environment UM1570
• Windows
®
OS (7, 8 and 10), Linux
®
64-bit or macOS
®(a)
• USB Type-A or USB Type-C ® to Mini-B cable
• IAR Systems - IAR Embedded Workbench
®(b)
• Keil ® - MDK-ARM (b)
• STMicroelectronics - STM32CubeIDE
The demonstration software, included in the STM32Cube MCU Package corresponding to the on-board microcontroller, is preloaded in the STM32 Flash memory for easy demonstration of the device peripherals in standalone mode. The latest versions of the demonstration source code and associated documentation can be downloaded from www.st.com
.
4 Conventions
Note:
Table 3 provides the definition of some conventions used in the present document.
Table 3. ON/OFF conventions
Convention Definition
Jumper JPx ON
Jumper JPx OFF
Solder bridge SBx ON
Solder bridge SBx OFF
Jumper fitted
Jumper not fitted
SBx connections closed by solder
SBx connections left open
Board figures and photos in this document are based on version B, versions C, D, and E are similar.
8/36 a. macOS
®
is a trademark of Apple Inc. registered in the U.S. and other countries.
b. On Windows
®
only.
UM1570 Rev 6
UM1570 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 web page. For more information on the
STM32F3DISCOVERY board and for demonstration software, visit the www.st.com/stm32f3discovery web page.
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 or USB
Type-C
®
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. Hold the board horizontal then tilt it. Observe how the blinking of the LEDs indicates the gyroscope movement. Press the USER button again and the LEDs restart blinking sequentially.
5. Press the USER button to enable the MEMs accelerator sensor. Hold the board horizontal then tilt it. Observe how the blinking of the LEDs indicates the board inclination with respect to the horizontal plane. Press the USER button again and the
LEDs restart blinking sequentially.
6. Press the USER button. LD3, LD6, LD7, and LD10 are ON. The board is recognized as a standard mouse (the board must be connected through the USB USER connector).
Move the board to control the cursor on the screen. Press the USER button again and the LEDs restart blinking sequentially.
7. The demo application software as well as other software examples for exploring
STM32F3 features are available at www.st.com/stm32f3discovery.
UM1570 Rev 6 9/36
35
Hardware layout and configuration
6 Hardware layout and configuration
UM1570
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).
help the user to locate these features on the STM32F3DISCOVERY board.
Figure 2. Hardware block diagram
Mini USB
Embedded
ST-LINK/V2 (or V2-B)
IO
STM32F303VCT6
IO
IO RESET
LEDs
LD3...LD10
L3GD20 or
I3G4250D
B2
RESET
B1
USER
LSM303DLHC or
LSM303AGR
Mini-USB
MSv41785V3
10/36 UM1570 Rev 6
UM1570
LD1 (red LED)
PWR
CN3
SWD connector
Hardware layout and configuration
ST-LINK/V2
Figure 3. Board layout (top view)
LD2 (red/green LED)
COM
USB USER
JP3 I
DD measurement
3 V power supply input/output
CN4
ST-LINK/
STM32F3DISCOVER selector
LSM303DLHC
5 V power supply input/output
STM32F303VCT6
B1 user- button
(red LED) LD3
(blue LED) LD4
(green LED) LD6
(orange LED) LD8
Note:
L3GD20
B2 reset button
(orange LED) LD5
(green LED) LD7
(blue LED) LD9
(red LED) LD10
Pin 1 of CN3, CN4, JP3, JP4, P1, and P2 connectors are identified by a square.
UM1570 Rev 6 11/36
35
Hardware layout and configuration
Figure 4. Board layout (bottom view)
SB10 (SWO)
SB2, SB4, SB6, SB9(RESERVED)
SB1, SB3, SB5, SB8(DEFAULT)
SB12 (MCO)
SB14 (X3 crystal)
SB16 (X3 crystal)
SB17 (X1 crystal)
SB18 (X1 crystal)
SB19 (BOOT0)
SB21 (USB USER)
SB22 (USB USER)
UM1570
SB7 (NRST)
SB11 (STM_RST)
SB13 (RX,TX)
SB15 (RX,TX)
SB20 (B1-USER)
SB23 (B2-RESET)
Note:
RoHS SN
MSv41787V2
If SB12 is ON, SB17 must be OFF and R33 removed to provide the clock source from MCO correctly.
12/36 UM1570 Rev 6
UM1570
6.1
Hardware layout and configuration
The STM32F3DISCOVERY Discovery board mechanical drawing
Figure 5. STM32F3DISCOVERY mechanical drawing
66.00mm
53.34mm
6.33mm
6.33mm
6.33mm
2.54mm
53.34mm
2.54mm
6.33mm
UM1570 Rev 6 13/36
35
Hardware layout and configuration
6.2 Embedded ST-LINK/V2 (or V2-B)
UM1570
The ST-LINK/V2 on PCB version A or B or the ST-LINK/V2-B on PCB version C is embedded as a 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 in 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 afterward. 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
):
• Programming/debugging the STM32 on board (refer to
LINK/V2 (or V2-B) to program/debug the on-board STM32F303VCT6
)
• 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 )
Jumper state
Table 4. Jumper states
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)
6.2.1 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: Prefer using the ‘USB Composite Device’ handle for a full recovery.
14/36 UM1570 Rev 6
UM1570 Hardware layout and configuration
Figure 6. USB composite device
The ST-LINK/V2 (or V2-B) embeds a firmware upgrade mechanism for an in-situ upgrade through the USB port. As the firmware may evolve during the lifetime 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.4
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 (PC4, PC5), thanks to SB13 and SB15 solder bridges.
The SB13 (PC4) and SB15 (PC5) default configurations for STM32F3DISCOVERY are given in
.
Using ST-LINK/V2 (or V2-B) to program/debug the on-board
STM32F303VCT6
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.
UM1570 Rev 6 15/36
35
Hardware layout and configuration
Figure 7. STM32F3DISCOVERY connections
UM1570
6.2.5
Note:
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
, and connect the application to the CN3 debug connector according to
SB7 must be OFF if the CN3 pin 5 is used in an external application.
Table 5. Debug connector CN3 (SWD)
4
5
SWDIO
NRST
SWD data input/output
RESET of target MCU
16/36 UM1570 Rev 6
UM1570 Hardware layout and configuration
Figure 8. ST-LINK/V2 (or V2-B) connections
UM1570 Rev 6 17/36
35
Hardware layout and configuration
6.3
Note:
Power supply and power selection
UM1570
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.
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
• 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.
6.5 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.
18/36 UM1570 Rev 6
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 another 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 or
LSM303AGR)
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 I 2 C 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 LSM303AGR has linear acceleration full scales of ±2g/±4g/±8g/±16g and a magnetic field dynamic range of ±50 gauss with an output data rate of 100 kHz, 400 kHz, 1 MHz, and
3.4 MHz.
The STM32F303VCT6 MCU controls this motion sensor through the I 2 C interface.
6.8 ST MEMS Gyroscope (ST MEMS L3GD20 or I3G4250D)
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 I
2
C/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 I3G4250D has a selectable full scale ±245/±500/±2000 dps and is capable of measuring rates with a user-selectable bandwidth.
The STM32F303VCT6 MCU controls this motion sensor through the SPI interface.
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.
UM1570 Rev 6 19/36
35
Hardware layout and configuration UM1570
The following information indicates all configurations for clock supply selection:
• 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
6.10.2 OSC 32 kHz clock supply
The following information indicates all the configurations for the 32 kHz clock supply selection:
• 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 closed, 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.
20/36 UM1570 Rev 6
UM1570 Hardware layout and configuration
Bridge
Table 6. Solder bridges
State
(1)
Description
SB17,18
(X1 crystal)
SB1,3,5,8 (default)
SB2,4,6,9 (reserved)
SB14,16
(X3 crystal)
SB23
(B2-RESET)
SB20
(B1-USER)
SB13,15
(RX, TX)
SB7
(NRST)
SB10
(SWO)
SB11
(STM_RST)
SB19
(BOOT0)
SB21,22
(USB USER)
SB12
(MCO)
(2)
(2)
OFF
X1, C22, C23, R32, and R33 provide a clock. PF0 and PF1 are disconnected from
P2.
ON PF0 and PF1 are connected to P2 (R32 and R33 must not be fitted).
ON Reserved, do not modify
OFF Reserved, do not modify
OFF
X3, C14, C26, R29, and R30 deliver a 32 KHz clock. PC14, PC15 are not connected to P2.
ON PC14 and PC15 are only connected to P2. Remove only R29 and R30.
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
ON
STM32F303VCT6 USART1 is not connected to ST-LINK, so VCP is disabled
(Default configuration on PCB version A or B).
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 LOW through 510 Ω pull-down
OFF
BOOT0 signal of STM32F303VCT6 is at level HIGH through 10 K Ω 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.
1. The 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.
UM1570 Rev 6 21/36
35
Hardware layout and configuration UM1570
6.12 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 7. STM32F303VCT6 MCU pin description versus board function
(1)
MCU pin Board function
Main function
Alternate function
BOOT0
NRST
PA0
PA1
PA2
PA3
PA4
-
94
14
TIM2_CH1_ETR,
G1_IO1,
USART2_CTS,
COMP1_OUT,
TIM8_BKIN,
TM8_ETR
TIM2_CH2, G1_IO2,
USART2_RTS,
TIM15_CH1N
TIM2_CH3, G1_IO3,
USART2_TX,
COMP2_OUT,
TIM15_CH1,
AOP1_OUT
TIM2_CH4, G1_IO4,
USART2_RX,
TIM15_CH2
TIM3_CH2, G2_IO1,
SPI1_NSS,
SPI3_NSS/I2S3_WS,
USART2_CK
23 -
24 -
25 -
26 -
29 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
5
19
4 -
12 -
-
-
-
-
-
-
-
-
-
-
9 -
14 -
11 -
16 -
22/36 UM1570 Rev 6
UM1570 Hardware layout and configuration
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PA5
PA6
PA7
PA8
PA9
TIM2_CH1_ETR,
G2_IO2, SPI1_SCK
30
TIM16_CH1,
TIM3_CH1, G2_IO3,
TIM8_BKIN,
SPI1_MISO,
TIM1_BKIN,
AOP2_OUT,
COMP1_OUT
TIM17_CH1,
TIM3_CH2, G2_IO4,
TIM8_CH1N,
SPI1_MOSI,
TIM1_CH1N,
COMP2_OUT
MCO, I2C2_SMBAL,
I2S2_MCK,
TIM1_CH1,
USART1_CK,
COMP3_OUT,
TIM4_ETR
G4_IO1, I2C2_SCL,
I2S3_MCK,
TIM1_CH2,
USART1_TX,
COMP5_OUT,
TIM15_BKIN,
TIM2_CH3
31 -
32 -
67 -
68 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
18 -
17 -
-
45
44
UM1570 Rev 6 23/36
35
Hardware layout and configuration UM1570
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PA10
PA11
PA12
PA13
PA14
TIM17_BKIN,
G4_IO2, I2C2_SDA,
TIM1_CH3,
USART1_RX,
COMP6_OUT,
TIM2_CH4,
TIM8_BKIN
TIM1_CH1N,
USART1_CTS,
COMP1_OUT,
CAN_RX,
TIM4_CH1,
TIM1_CH4_BKIN2,
USBDM
TIM16_CH1,
TIM1_CH2N,
USART1_RTS,
COMP2_OUT,
CAN_TX, TIM4_CH2,
TIM1_ETR, USBDP
JTMS-SWDAT,
TIM16_CH1N,
G4_IO3, IR-Out,
USART3_CTS,
TIM4_CH3
JTCK-SWCLK,
G4_IO4, I2C1_SDA,
TIM8_CH2,
TIM1_BKIN,
USART2_TX
69 -
70 -
71 -
72 -
76 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
DM -
DP -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
43
42
41
4 40
2 37
24/36 UM1570 Rev 6
UM1570 Hardware layout and configuration
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PA15
PB0
PB1
PB2
PB3
PB4
JTDI,
TIM2_CH1_ETR,
TIM8_CH1,
I2C1_SCL,
SPI1_NSS,
SPI3_NSS/I2S3_WS,
USART2_RX,
TIM1_BKIN
TIM3_CH3, G3_IO2,
TIM8_CH2N,
TIM1_CH2N
TIM3_CH4, G3_IO3,
TIM8_CH3N,
TIM1_CH3N,
COMP4_OUT,
AOP3_OUT
G3_IO4
JTDO/TRACESWO,
TIM2_CH2,
TIM4_ETR, G5_IO1,
TIM8_CH1N,
SPI1_SCK,
SPI3_SCK/I2S3_CK,
USART2_TX,
TIM3_ETR
NJTRST,
TIM16_CH1,
TIM3_CH1, G5_IO2,
TIM8_CH2N,
SPI1_MISO,
SPI3_MISO/I2S3_DI
N,USART2_RX,
TIM17_BKIN
77 -
35 -
36 -
37 -
89 -
90 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
6 26
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
22
21
24
-
38
-
-
-
23
UM1570 Rev 6 25/36
35
Hardware layout and configuration UM1570
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PB5
PB6
PB7
PB8
PB9
PB10
26/36
TIM16_BKIN,
TIM3_CH2,
TIM8_CH3N,
I2C1_SMBAL,
SPI1_MOSI,
SPI3_MOSI/I2S3_D
OUT, USART2_CK,
TIM17_CH1
TIM16_CH1N,
TIM4_CH1, G5_IO3,
I2C1_SCL,
TIM8_CH1,
TIM8_ETR_BKIN2,
USART1_TX
TIM17_CH1N,
TIM4_CH2, G5_IO4,
I2C1_SDA,
TIM8_BKIN,
USART1_RX,
TIM3_CH4
TIM16_CH1,
TIM4_CH3, SYNCH,
I2C1_SCL,
COMP1_OUT,
CAN_RX,
TIM8_CH2,
TIM1_BKIN
TIM17_CH1,
TIM4_CH4,
I2C1_SDA, IR-OUT,
CAN_TX, TIM8_CH3
TIM2_CH3, SYNCH,
USART3_TX
91 -
92 -
93 -
95 -
96 -
47 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
24
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
21
22
17
18
34 -
UM1570 Rev 6
UM1570 Hardware layout and configuration
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PB15
PC0
PC1
PC2
PC3
PB11
PB12
PB13
PB14
TIM2_CH4, G6_IO1,
USART3_RX,
COMP2_OUT
G6_IO2,
I2C2_SMBAL,
SPI2_NSS/I2S2_WS,
TIM1_BKIN,
USART3_CK,
AOP4_OUT
G6_IO3,
SPI2_SCK/I2S2_CK,
TIM1_CH1N,
USART3_CTS
48
51 -
52 -
-
TIM15_CH1,
G6_IO4,
SPI2_MISO/I2S2_DI
N,TIM1_CH2N,
USART3_RTS
TIM15_CH2,
TIM15_CH1N,
TIM1_CH3N,
SPI2_MOSI/
I2S2_DOUT
-
-
COMP7_OUT
TIM1_BKIN2
53
54
15
16
17
18
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
33 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
36 -
35 -
38 -
37 -
6
5
8
7
-
-
-
-
UM1570 Rev 6 27/36
35
Hardware layout and configuration UM1570
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PC4 USART1_TX 33 20 -
PC5
PC6
PC7
PC8
PC9
PC10
PC11
28/36
G3_IO1,
USART1_RX
34 19 -
TIM3_CH1,
TIM8_CH1,
I2S2_MCK,
COMP6_OUT
TIM3_CH2,
TIM8_CH2,
I2S3_MCK,
COMP5_OUT
TIM3_CH3,
TIM8_CH3,
COMP3_OUT
TIM3_CH4,
TIM8_CH4_BKIN2,
COMP3_OUT
TIM8_CH1N,
UART4_TX,
SPI3_SCK/I2S3_CK,
USART3_TX
TIM8_CH2N,
UART4_RX,
SPI3_MISO/I2S3_DI
N,USART3_RX
63 -
64 -
65 -
66 -
78 -
79 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
47 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
48 -
-
-
-
47
46
35
36
UM1570 Rev 6
UM1570 Hardware layout and configuration
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PC12
PC13
PC14
TIM8_CH3N,
UART5_TX,
SPI3_MOSI/
I2S3_DOUT,
USART3_CK
TIM1_CH1N
OSC32_IN
80 33
7 10
8 7
PC15
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
OSC32_OUT 9 8
CAN_RX
TIM8_CH4_BKIN2,
CAN_TX
TIM3_ETR,
TIM8_BKIN,
UART5__RX
TIM2_CH1_ETR,
USART2_CTS
TIM2_CH2,
USART2_RTS
USRT2_TX
TIM2_CH4,
USART2_RX
TIM2_CH3,
USART2_CK
81
82
83 -
84 -
85
86
87
88 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
34
31
32
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
29
30
27
28
25
UM1570 Rev 6 29/36
35
Hardware layout and configuration UM1570
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PE1
PE2
PE3
PE4
PE5
PD8
PD9
PD10
PD11
PD12
PD13
PD14
PD15
PE0
USART3_TX
USART3_RX
USART3_CK
USART3_CTS
55 -
56 -
57 -
58 -
TIM4_CH1, G8_IO1,
USART3_RTS
59
TIM4_CH2, G8_IO2 60 -
-
TIM4_CH3, G8_IO3 61 -
TIM4_CH4, G8_IO4,
SPI2_NSS
62 -
TIM4_ETR,
TIM16_CH1,
USART1_TX
97 -
-
-
-
-
-
-
-
-
TIM17_CH1,
USART1_RX
98 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
40 -
39 -
42 -
41 -
44 -
43 -
46 -
45 -
-
-
-
-
-
-
-
15
16
TRACECK,
TIM3_CH1, G7_IO1
1 13
TRACED0,
TIM3_CH2, G7_IO2
2 -
TRACED1,
TIM3_CH3, G7_IO3
TRACED2,
TIM3_CH4, G7_IO4
3 -
4 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
14
11
12
30/36 UM1570 Rev 6
UM1570 Hardware layout and configuration
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PE11
PE12
PE13
PE14
PE15
PF0
PE6
PE7
PE8
PE9
PE10
PF1
TRACED3
TIM1_ETR
TIM1_CH1N
TIM1_CH1
TIM1_CH2N
5
38 -
-
39 -
40 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
9
23 -
26 -
25 -
41 28 -
TIM1_CH2
TIM1_CH3N
TIM1_CH3
42 -
43 -
44 -
27 -
-
-
30 -
29 -
TIM1_CH4_BKIN2 45 32 -
TIM1_BKIN,
USART3_RX
46
OSC_IN , I2C2_SDA,
TIM1_CH3N
12 -
-
-
-
-
-
-
-
-
31 -
5
OSC_OUT ,
I2C2_SCL
13 6
UM1570 Rev 6 31/36
35
Hardware layout and configuration UM1570
Table 7. STM32F303VCT6 MCU pin description versus board function (continued) (1)
MCU pin Board function
Main function
Alternate function
PF2
PF4
PF6
PF9
PF10
-
-
-
-
-
-
-
-
COMP1_OUT
TIM4_CH4,
I2C2_SCL,
USART3_RTS
TIM15_CH1,
SPI2_SCK
TIM15_CH2,
SPI2_SCK
-
-
-
-
-
-
-
19
27
73
10
11
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1. The cells marked in grey identify connections between MCU pin function and the board function.
-
-
-
-
-
-
-
-
-
-
-
-
-
5V -
5V -
3V -
3V -
-
-
-
-
-
-
3
-
10
13
4
-
-
1
2
20
1
2
-
-
-
-
-
49
39
3
-
-
-
49
50 50
32/36 UM1570 Rev 6
UM1570 STM32F3DISCOVERY information
The sticker located on the top or bottom side of the PCB board shows the information about product identification such as board reference, revision, and serial number.
The first identification line has the following format: ‘MBxxxx-Variant-yzz’, where ‘MBxxxx’ is the board reference, “Variant” (optional) identifies the mounting variant when several exist,
‘y’ is the PCB revision and ‘zz’ is the assembly revision: for example B01.
The second identification line is the board serial number used for traceability.
Evaluation tools marked as “ES” or “E” are not yet qualified and therefore 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 designs or in production.
“E” or “ES” marking examples of location:
• On the target STM32 that is soldered on the board (for illustration of STM32 marking, refer to the STM32 datasheet “Package information” paragraph at the www.st.com website).
• Next to the evaluation tool ordering part number that is stuck or silk-screen printed on the board.
The board reference for the STM32F3DISCOVERY base board is MB1035.
Revision B-01
The revision B-01 is the initial release.
Revision C-01
PCB label MB1035 C-01, SB13 and SB15 closed
STM32F103C8T6 replaced by STM32F103CBT6, ST-LINK/V2-B
Revision D-01
PCB label MB1035 D-01, only silkscreen modification
STM32F303C-DISC1 replaced by STM32F3DISCOVERY
Revision E-02
C7 and C9 changed from 20 pF to 33 pF
UM1570 Rev 6 33/36
35
STM32F3DISCOVERY information UM1570
Revisions B-01, C-01, D-01 and E-02
When the board is used as a USB application, like a mouse or other similar device, it needs to be powered up through the ST-LINK USB connector firstly.
34/36 UM1570 Rev 6
UM1570 Revision history
Table 8. Document revision history
Date Revision Changes
10-Sep-2012
20-Sep-2012
07-Feb-2013
21-Jul-2016
13-Apr-2018
27-Aug-2020
1
2
3
4
5
6
Initial release.
Added Figure 7 on page 11 and updated Figure 12 on page 35
Updated Section 6.2: Embedded ST-LINK/V2 (or V2-B) : removed
WLCSP package, sigma-delta ADC, CEC, updated timers and
SPI/I²Ss.
Updated 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 .
Corrected the VCP pin connection of the MCU from incorrect
PA9&PA10 to PC4&PC5 in Section 6.2.3: VCP configuration and
Table 7: STM32F303VCT6 MCU pin description versus board function .
Reshuffle of the document to align with latest standards:
– Introduction
– Electrical schematics removed
– New
Table 2: Codification explanation
Updated:
–
,
,
,
, and
header adding LSM303AGR and I3G4250D sensors
UM1570 Rev 6 35/36
35
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 acknowledgment.
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. For additional information about ST trademarks, please refer to www.st.com/trademarks . 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.
© 2020 STMicroelectronics – All rights reserved
36/36 UM1570 Rev 6
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 6 Features
- 7 Ordering information
- 7 Codification
- 8 Development environment
- 8 System requirements
- 8 Development toolchains
- 8 Demonstration software
- 8 Conventions
- 9 Quick start
- 9 Getting started
- 10 Hardware layout and configuration
- 13 The STM32F3DISCOVERY Discovery board mechanical drawing
- 14 Embedded ST-LINK/V2 (or V2-B)
- 14 Drivers
- 15 ST-LINK/V2 (or V2-B) firmware upgrade
- 15 VCP configuration
- 15 STM32F303VCT
- 16 application
- 18 Power supply and power selection
- 18 Push-buttons
- 19 USB device supported
- 19 ST MEMS E-compass (ST MEMS LSM303DLHC or LSM303AGR)
- 19 ST MEMS Gyroscope (ST MEMS L3GD20 or I3G4250D)
- 19 JP3 (Idd)
- 20 OSC clock
- 20 OSC clock supply
- 20 OSC 32 kHz clock supply
- 21 Solder bridges
- 22 Extension connectors
- 33 STM32F3DISCOVERY information
- 33 Product marking
- 33 Board revision history
- 34 Board known limitations
- 35 Revision history
- 35 Ordering information
- 35 Codification explanation
- 36 ON/OFF conventions
- 35 Solder bridges
- 35 Document revision history
- 35 STM32F3DISCOVERY