STMicroelectronics STM32F072B-DISCO User Manual

Page 1
UM1690
User manual
Discovery kit for STM32F0 Series microcontrollers
with STM32F072RB
Introduction
The STM32F072 Discovery kit (32F072BDISCOVERY) helps users to discover the full features of the STM32F0 Series and develop their applications. It is based on an STM32F072RBT6 microcontroller and includes an ST-LINK/V2 embedded debug tool interface, ST MEMS gyroscope, LEDs, push-buttons, linear touch sensor, touch keys, RF EEPROM connector and a USB Mini-B connector.
Figure 1. STM32F072 Discovery kit
Picture is not contractual.
March 2020 UM1690 Rev 3 1/27
www.st.com
Page 2
Contents UM1690
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Codification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5 Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5.1 Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.1.1 Using ST-LINK/V2 to program/debug the STM32F072 on board . . . . . 12
5.1.2 Using ST-LINK/V2 to program/debug an external STM32 application . . 13
5.2 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.3 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.4 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.5 Linear touch sensor / touch keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.6 USB device support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.7 BOOT0 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.8 Embedded USB Bootloader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.9 Gyroscope MEMS (ST MEMS I3G4250D) . . . . . . . . . . . . . . . . . . . . . . . . 16
5.10 JP2 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.11 Extension and RF EEPROM connector . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.12 OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.12.1 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.12.2 OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.13 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.14 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2/27 UM1690 Rev 3
Page 3
UM1690 Contents
6 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
UM1690 Rev 3 3/27
3
Page 4
List of tables UM1690
List of tables
Table 1. Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 2. Codification explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 3. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Table 4. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 5. Debug connector CN4 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 6. Extension and RF EEPROM connector (CN3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 7. Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 8. MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 9. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4/27 UM1690 Rev 3
Page 5
UM1690 List of figures
List of figures
Figure 1. STM32F072 Discovery kit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5. STM32F072 Discovery kit connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 6. ST-LINK connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 7. Extension and RF EEPROM connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 8. STM32F072 Discovery kit mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
UM1690 Rev 3 5/27
5
Page 6
Features UM1690

1 Features

The STM32F072 Discovery kit offers the following features:
®(a)
STM32F072RBT6 microcontroller based on the Arm featuring 128 Kbytes of Flash memory, 16 Kbytes of SRAM in an LQFP64 package
USB FS with Mini-B connector
I3G4250D ST MEMS motion sensor 3-axis digital output gyroscope
One linear touch sensor or four touch keys
Six LEDs:
LD1 (red/green) for USB communication
LD2 (red) for 3.3 V power on
Four user LEDs: LD3 (red), LD4 (orange), LD5 (green) and LD6 (blue)
Two push-buttons (user and reset)
RF EEPROM daughterboard connector
Extension header for LQFP64 I/Os for quick connection to a prototyping board and
easy probing
On-board ST-LINK/V2 with switch to use the kit as a standalone ST-LINK/V2 (with SWD connector for programming and debugging)
Flexible power supply options:
USB bus or external 5 V supply voltage
Power supply output for external applications: 3 V and 5 V
Comprehensive free software including a variety of examples, part of STM32CubeF0
or STM32SnippetsL0 packages or STSW-STM32139 for legacy Standard Libraries usage
Cortex
®
-M0 processor,
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and or elsewhere.
6/27 UM1690 Rev 3
Page 7
UM1690 Ordering information

2 Ordering information

To order the 32F072BDISCOVERY Discovery kit, refer to Tab l e 1. Additional information is available from the datasheet and reference manual of the target STM32.
Order code Board reference Target STM32
STM32F072B-DISCO MB1076 STM32F072RBT6

2.1 Product marking

Evaluation tools marked as “ES” or “E” are not yet qualified and are therefore not ready to be used as reference designs or in production. Any consequences arising from such usage will not be at ST’s charge. In no event will ST 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 targeted STM32 that is soldered on the board (For an illustration of STM32 marking, refer to the section ‘Package information’ of the STM32 datasheet at
www.st.com).
next to the evaluation tool ordering part number, that is stuck or silkscreen printed on the board
Table 1. Ordering information

2.2 Codification

The meaning of the codification is explained in Tabl e 2.
32XXYYZDISCOVERY Description Example: 32F072BDISCOVERY
32XX
YY MCU product line in the series STM32F072
Z
DISCOVERY Discovery kit Discovery kit
Table 2. Codification explanation
MCU series in STM32 32-bit Arm Cortex MCUs
STM32 Flash memory size: – B for 128 Kbytes
STM32F0 Series
128 Kbytes
UM1690 Rev 3 7/27
26
Page 8
Development environment UM1690

3 Development environment

3.1 System requirements

Windows® OS (7, 8 and 10), Linux® 64-bit or macOS
USB Type-A to Mini-B cable

3.2 Development toolchains

IAR™ - EWARM
Keil® - MDK-ARM
STMicroelectronics - STM32CubeIDE
(c)
(c) (d)

3.3 Demonstration software

The demonstration software, included in the STM32Cube MCU Package, 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 the www.st.com/stm32f0-discovery webpage.
®(a) (b)

4 Conventions

Table 3 provides the definition of some conventions used in the present document.
Convention Definition
Jumper JPx ON Jumper fitted
Jumper JPx OFF Jumper not fitted
Solder bridge SBx ON SBx connections closed by solder
Solder bridge SBx OFF SBx connections left open
a. macOS® is a trademark of Apple Inc. registered in the U.S. and other countries.
b. All other trademarks are the property of their respective owners.
®
c. On Windows
d. Free MDK-ARM for Arm
only.
Table 3. ON/OFF conventions
®
Cortex®-M0/M0+ cores.
8/27 UM1690 Rev 3
Page 9
UM1690 Hardware layout
MS33267V2
Embedded ST-LINK/V2
STM32F072RBT6
I/O
I/O
I/O
RESET
LEDs
LD3 to LD6
I3G4250D
B2
RESET
B1
USER
Mini-USB
Mini-USB
SWD
Header
Header
EXT/RF-EEP
Linear touch sensor

5 Hardware layout

The STM32F072 Discovery kit is designed around the STM32F072RBT6 microcontroller in a 64-pin LQFP package.
Figure 2 illustrates the connections between the STM32F072RBT6 and its peripherals (ST-
LINK/V2, ST MEMS gyroscope I3G4250D, LEDs, push buttons, linear touch sensor, touch keys, RF EEPROM connector and a USB Mini-B connector).
Figure 3 and Figure 4 help to locate these features on the STM32F072 Discovery board.
Figure 2. Hardware block diagram
UM1690 Rev 3 9/27
26
Page 10
Hardware layout UM1690
MSv33268V2
ST-LINK/V2
USB ST-LINK USB USER
LD1
COM LED
LD2
PWR LED
5 V power supply input/output
CN5
ST-LINK/DISCOVERY selector
LD3 (red LED)
LD5 (green LED)
LD6 (blue LED)
B2
reset button
B1
user button
Linear touch sensor
/touchkeys
STM32F072RBT6
JP2
Idd measurement
LD4
(orange LED)
CN4
SWD connector
3 V power supply
input/output
CN3 extension or
RF EEPROM connector
Figure 3. Top layout
10/27 UM1690 Rev 3
Page 11
UM1690 Hardware layout
MSv33269V2
SB5
STM_RST
JP2
SB1, 3, 6, 8
Reserved
P2 connector
SB11,12
RX, TX
SB2, 4, 7, 9
Default
SB16
VDDIO2
SB19
MCO
SB20, 23
USB-USER
SB22
B2-RESET
P1 connector
SB10
NRST
SB15
VBAT
SB13, 14
X2 crystal
SB17, 18
X3 crystal
SB21 B1-USER
SB24, 25
GND, VDD
SB26 VDDA
SB27-32
Touch sensor
Figure 4. Bottom layout
UM1690 Rev 3 11/27
26
Page 12
Hardware layout UM1690

5.1 Embedded ST-LINK/V2

The ST-LINK/V2 programming and debugging tool is integrated on the STM32F072 Discovery kit. The embedded ST-LINK/V2 can be used in 2 different ways according to the jumper states (see Ta ble 4 ):
Program/debug the MCU on board
Program/debug an MCU in an external application board using a cable connected to
SWD connector CN4
The embedded ST-LINK/V2 supports only SWD for STM32 devices. For information about debugging and programming features, refer to user manual UM1075 (ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32), which describes in detail all the ST-LINK/V2 features.
Jumper state Description
Both CN5 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)
Both CN5 jumpers OFF
ST-LINK/V2 functions enabled for application through external CN4 connector (SWD supported)
Table 4. Jumper states

5.1.1 Using ST-LINK/V2 to program/debug the STM32F072 on board

To program the STM32F072 on board, simply plug in the two jumpers on CN5, as shown in
Figure 5 in pink, but do not use the CN4 connector as that could disturb communication with
the STM32F072RBT6 of the STM32F072 Discovery kit.
Figure 5. STM32F072 Discovery kit connections
12/27 UM1690 Rev 3
Page 13
UM1690 Hardware layout

5.1.2 Using ST-LINK/V2 to program/debug an external STM32 application

It is very easy to use the ST-LINK/V2 to program the STM32 on an external application. Simply remove the 2 jumpers from CN5 as shown in Figure 6, and connect the application to the CN4 debug connector according to Tab l e 5.
Note: SB10 must be OFF if CN4 pin 5 is used by the external application.
Pin CN4 Designation
1 VDD_TARGET VDD from application
2 SWCLK SWD clock
3 GND Ground
4 SWDIO SWD data input/output
5 NRST Reset of the target MCU
6 SWO Reserved
Table 5. Debug connector CN4 (SWD)
Figure 6. ST-LINK connections
UM1690 Rev 3 13/27
26
Page 14
Hardware layout UM1690

5.2 Power supply and power selection

The power supply is provided either by the host PC through the USB ST-LINK or USB USER connector, 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 the power consumption must be lower than 100 mA.
5 V can also be used as input power supplies, for instance when the USB connector is not connected to the PC. In this case, the STM32F072 Discovery kit must be powered by a power supply unit or by an auxiliary equipment complying with standard EN-60950-1: 2006+A11/2009, and must be Safety Extra Low Voltage (SELV) with limited power capability.

5.3 LEDs

LD1 COM: LD1 default status is red. LD1 turns to green to indicate that communications are in progress between the PC and the ST-LINK/V2.
LD2 PWR: This red LED indicates that the board is powered.
User LD3: This red user LED is connected to the I/O PC6 of the STM32F072RBT6.
User LD4: This orange user LED is connected to the I/O PC8 of the STM32F072RBT6.
User LD5: This green user LED is connected to the I/O PC9 of the STM32F072RBT6.
User LD6: This blue user LED is connected to the I/O PC7 of the STM32F072RBT6.

5.4 Pushbuttons

B1 USER: User and Wake-Up button connected to the I/O PA0 of the STM32F072RBT6.
B2 RESET: The push button connected to NRST is used to reset the STM32F072RBT6.
14/27 UM1690 Rev 3
Page 15
UM1690 Hardware layout

5.5 Linear touch sensor / touch keys

To demonstrate touch sensing capabilities, the STM32F072 Discovery kit includes a linear touch sensor, which can be used either as a 3-position linear touch sensor or as 4 touch keys. Both functions are illustrated in the demonstration software.
3 pairs of I/O ports are assigned to the linear touch sensor / touch keys. Each pair must belong to the same analog switch group:
PA2, PA3 (group 1)
PA6, PA7 (group 2)
PB0, PB1 (group 3)
To minimize the noise, these pairs are dedicated to the linear touch sensor and the touch keys and are not connected to external headers. To design a touch sensing application, refer to the following documentation and firmware:
For details concerning I/O ports, refer to the STM32F072RBT6 datasheet.
For information on software development, see DISCOVER application software on
www.st.com/stm32f0-discovery.
STM32 touch sensing library available from www.st.com/stm32f0-discovery.

5.6 USB device support

The STM32F072RBT6 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 STM32F072 Discovery kit can then act as a USB joystick, mouse, or other similar device. If both USBs are connected, diodes D1 and D2 protect the board and use the power from the USB ST-LINK.
The board can be powered through this USB USER connector, in which case LED2 PWR lights up, LED1 COM blinks and it can run an application in standalone mode.
The STM32F072RBT6 MCU controls the USB USER through PA11 and PA12.

5.7 BOOT0 configuration

BOOT0 is at level “0” through pull-down resistor R33. If the user wants to set BOOT0 at level “1”, it can be configured by setting a jumper between P2.6 (BOOT0) and P2.5 (VDD).
This facility is offered for fast and instantaneous configuration.
Note: If it is needed to set BOOT0 at level "1" continuously, then unsolder resistor R33 to avoid a
consumption of 6 with a wire.
mA while connecting pin P2.6 (BOOT0) and P2.5 (VDD) with a jumper or

5.8 Embedded USB Bootloader

The STM32F072 line microcontrollers embed a bootloader allowing the programming of blanked device or the upgrade device firmware over the USB without the need of a specific programmer. When using this Discovery kit, the STM32F072RBT6 MCU firmware can be thus programmed through the second USB Mini-B connector (USER USB).
To program the microcontroller Flash memory using this approach, a jumper must be set between BOOT0 (P2.6) and VDD (P2.5), and a cable connected between the USER USB
UM1690 Rev 3 15/27
26
Page 16
Hardware layout UM1690
connector of the board and a PC. On the PC side, it is required to use the Device Firmware Upgrade Utility named "DfuSe". This software (STSW-STM32080) and its associated user manual (UM0412) are available from www.st.com
Several application notes are also available on that topic.
AN2606: STM32 microcontroller system memory boot mode
AN3156: USB DFU protocol used in the STM32 bootloader
Note: ST-LINK utilities must not be used when the DFU utility is running.
.

5.9 Gyroscope MEMS (ST MEMS I3G4250D)

The I3G4250D 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
The I3G4250D has dynamically-user-selectable full scales:
±245 dps
±500 dps
±2000 dps
The I3G4250D is capable of measuring rates.
2
C/SPI serial interface.
The STM32F072RBT6 MCU controls this motion sensor through the SPI interface.

5.10 JP2 (Idd)

Jumper JP2, labeled Idd, allows the consumption of STM32F072RBT6 to be measured by removing the jumper and connecting an ammeter.
Jumper ON: STM32F072RBT6 is powered (default).
Jumper OFF: an ammeter must be connected to measure the STM32F072RBT6
current, (if there is no ammeter, the STM32F072RBT6 is not powered).

5.11 Extension and RF EEPROM connector

This connector is able to accept an extension board or the RF EEPROM board ANT7­M24LR-A (see application note How to design an antenna for dynamic NFC tags (AN2972) for more details).
Figure 7. Extension and RF EEPROM connector
16/27 UM1690 Rev 3
Page 17
UM1690 Hardware layout
Table 6. Extension and RF EEPROM connector (CN3)
Pin CN3 Designation
1 I2C SDA Data signal for I
2
C
2 NC Not connected
2
3 I2C SCL Clock signal for I
C
4 EXT_RESET Reset signal for extension board
5 3V 3 volt power supply
6 NC Not connected
7 GND Ground
8 5V 5 volt power supply
UM1690 Rev 3 17/27
26
Page 18
Hardware layout UM1690

5.12 OSC clock

By default, the STM32F072RBT6 clock source is the high-speed internal (HSI) RC oscillator. Other clock sources are described hereunder.

5.12.1 OSC clock supply

If PF0 and PF1 are only used as GPIOs instead of clock, then SB17 and SB18 are ON and R36 and R37 are removed (SB19 must be OFF).
MCO from ST-LINK (from MCO of the STM32F103). This frequency cannot be changed, it is fixed at 8 MHz and connected to PF0-OSC_IN of the STM32F072RBT6. The required configuration is:
SB19 ON and SB17 OFF
R36 removed
Oscillator on board (from X3 crystal, not provided). For typical frequencies and its capacitors and resistors, refer to the STM32F072RBT6 datasheet. The required configuration is:
SB17, SB18, SB19 OFF
X3, R36, R37, C22, C23 soldered
Oscillator from external PF0 (from external oscillator through pin 7 of the P1 connector). The required configuration is:
–SB17 ON
–SB19 OFF
R36 removed

5.12.2 OSC 32 KHz clock supply

If PC14 and PC15 are only used as GPIOs instead of clock, then SB13 and SB14 are ON, and R34 and R35 are removed.
Oscillator on board (from X2 crystal, not provided). The required configuration is:
SB13, SB14 OFF
X2, C19, C20, R34, R35 soldered
Oscillator from external PC14 (from external oscillator trough the pin 5 of P1 connector). The required configuration is:
–SB14 ON
R35 removed
18/27 UM1690 Rev 3
Page 19
UM1690 Hardware layout

5.13 Solder bridges

Table 7. Solder bridges
Bridge State
(1)
Description
ON
SB17,18 (X3 crystal)
OFF
ON PC14, PC15 are only connected to P1. Remove only R34, R35
SB13,14 (X2 crystal)
SB19 (MCO)
SB2,4,7,9 (Default) ON Reserved, do not modify.
SB1,3,6,8 (Reserved) OFF Reserved, do not modify.
SB24,25 (GND,VDD) ON Reserved, do not modify.
SB11,12 (RX,TX) OFF Reserved, do not modify
SB27,28,29,30,31,32 (touch sensor)
SB20,23 (USB­USER)
SB21 (B1-USER)
OFF
OFF MCO signal of STM32F103C8T6 is not used.
ON
OFF Reserved to the linear touch sensor. PA2,3,6,7 and PB0,1 are not available.
ON
OFF Reserved to the USB USER CN2. PA11,12 are not available.
ON PA11,12 are available then remove R12,13. (the USB USER CN2)
ON B1 pushbutton is connected to PA0.
OFF B1 pushbutton is not connected to PA0.
PF0, PF1 are connected to P1 (R36, R37 must not be fitted and SB19 must be OFF).
X3, C22, C23, R36 and R37 provide a clock. PF0, PF1 are disconnected from P1.
X2, C19, C20, R34 and R35 deliver a 32 KHz clock. PC14, PC15 are not connected to P1.
MCO clock signal from STM32F103C8T6 is connected to OSC_IN of STM32F072RBT6. (SB17 must be OFF).
PA2,3,6,7 and PB0,1 are available then remove R38,39,40 and C26,27,28. (the linear touch sensor is not available)
SB22 (B2-RESET)
ON B2 pushbutton is connected to the NRST pin of the STM32F072RBT6 MCU.
OFF B2 pushbutton is not connected the NRST pin of the STM32F072RBT6 MCU.
ON
SB10 (NRST)
OFF
OFF No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal.
SB5 (STM_RST)
ON STM32F103C8T6 (ST-LINK/V2) NRST signal is connected to GND.
ON VBAT Power is supplied by VDD
SB15 (VBAT)
OFF VBAT Power is supplied by P1.3 connector
ON VDDIO2 Power is supplied by VDD
SB16 (VDDIO2)
OFF VDDIO2 Power is supplied by P2.18 connector
ON VDDA Power is supplied by VDD through L1 inductance.
SB26 (VDDA)
OFF VDDA Power is supplied by P2.19 connector
1. The default state is in bold.
T_NRST pin of the STM32F103C8T6 (ST-LINK/V2) and CN4.5 are connected to the NRST pin of the STM32F072RBT6 MCU.
T_NRST pin of the STM32F103C8T6 (ST-LINK/V2) and CN4.5 are not connected to the NRST pin of the STM32F072RBT6 MCU.
UM1690 Rev 3 19/27
26
Page 20
Hardware layout UM1690

5.14 Extension connectors

The male headers P1 and P2 can connect the STM32F072 Discovery kit to a standard prototyping/wrapping board. STM32F072RBT6 GPIOs are available on these connectors. P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.
MCU pin Board function
Table 8. MCU pin description versus board function
(1)
Main function
BOOT0 60
NRST 7
PA0 14
PA1 15
PA2 16
PA3 17
PA4 20
PA5 21
LQFP64 pin num.
System
Linear touch sensor
-
BOOT0
-
NRST
-
-
-
-
-
TS_G1_IO3
-
TS_G1_IO4
-
-
-
-
I3G4250D
-
-
-
-
-
-
-
-
EXT/ RF-E2P
Pushbutton
-
-
-
RESET
­USER
-
-
-
-
-
-
-
-
-
-
LED
-
-
-
-
-
-
-
-
USB USER
Free I/O
-
-
-
-
-
-
­PA1
-
-
-
-
­PA4
­PA5
Power supply
CN3
CN4
-
-
-
-
-
510
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15
16
17
18
21
22
P1
-
P2
SBx
-
-
-
-
-
-
-
-
-
-
-
SB27
SB28
-
-
6
PA6 22
PA7 23
20/27 UM1690 Rev 3
-
-
-
TS_G2_IO3
-
TS_G2_IO4
-
-
-
-
-
-
-
-
-
-
23
-
-
-
-
-
-
24
-
-
SB29
SB30
Page 21
UM1690 Hardware layout
Table 8. MCU pin description versus board function (continued)
MCU pin Board function
(1)
Main function
PA8 41
PA9 42
PA10 43
PA11 4 4
PA12 45
PA13 46
PA14 49
PA15 50
PB0 26
LQFP64 pin num.
System
Linear touch sensor
-
-
-
-
-
-
-
-
-
-
-
SWDIO
-
SWCLK
-
-
-
TS_G3_IO2
I3G4250D
-
-
-
-
-
-
-
-
-
EXT/ RF-E2P
-
-
-
-
-
-
-
-
-
Pushbutton
LED
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
USB USER
-
-
-
DM
DP
-
-
-
-
Free I/O
Power supply
CN3
CN4
P1
P2
SBx
-
-
-
-
PA8
-
-
PA9
-
-
-
-
25
-
24
-
23
-
-
-
PA1 0
-
-
-
-
-
22 SB23
-
-
-
-
-
21 SB20
-
-
-
4
-
-
-
2
-
-
-
20
-
17
-
-
16
-
-
-
PA1 5
-
-
-
-
27
-
SB31
PB1 27
PB2 28
PB3 55
PB4 56
PB5 57
PB6 58
PB7 59
PB8 61
-
-
-
-
-
-
-
-
-
TS_G3_IO3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
28
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PB2
PB3
PB4
PB5
PB6
PB7
PB8
-
-
-
29
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
SB32
-
-
-
11
-
10
-
9
-
8
-
7
-
4
-
-
-
-
-
-
UM1690 Rev 3 21/27
26
Page 22
Hardware layout UM1690
Table 8. MCU pin description versus board function (continued)
MCU pin Board function
(1)
Main function
PB9 62
PB10 29
PB11 30
PB12 33
PB13 34
PB14 35
PB15 36
PC0 8
PC1 9
PC2 10
PC3 11
PC4 24
LQFP64 pin num.
System
-
-
-
-
-
-
-
-
-
-
-
-
Linear touch sensor
-
-
-
-
-
-
-
-
-
-
-
-
I3G4250D
-
-
-
-
SCL/
SDO
SDA/
CS_I2C/
INT1
INT2
-
-
SPC
SDI/
SPI
EXT/ RF-E2P
-
SCL
SDA
-
-
-
-
-
-
-
-
-
Pushbutton
LED
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
USB USER
-
-
-
-
-
-
-
-
-
-
-
-
Free I/O
PB9
-
-
PB12
-
-
-
-
-
-
PC3
PC4
Power supply
CN3
CN4
P1
P2
SBx
-
-
-
-
3
-
3
-
1
-
-
-
-
-
-
-
-
-
-
30
-
31
-
-
32
-
-
-
32
-
-
-
31
-
-
-
30
-
-
11
-
-
12
-
-
13
-
-
14
-
-
25
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PC5 25
PC6 37
PC7 38
PC8 39
22/27 UM1690 Rev 3
-
-
-
-
-
-
-
-
-
-
EXT_RESET
-
-
-
-
-
-
-
-
RED
BLUE
ORANGE
-
-
-
4
-
-
-
-
-
-
-
-
-
-
26
-
-
-
-
-
-
-
-
-
29
-
28
-
27
-
-
-
Page 23
UM1690 Hardware layout
Table 8. MCU pin description versus board function (continued)
MCU pin Board function
(1)
Main function
PC9 40
PC10 51
PC11 52
PC12 53
PC13 2
PC14 3
PC15 4
PD2 54
LQFP64 pin num.
System
-
-
-
-
-
OSC32_IN
OSC32_OUT
-
Linear touch sensor
-
-
-
-
-
-
-
-
I3G4250D
-
-
-
-
-
-
-
-
EXT/ RF-E2P
-
-
-
-
-
-
-
-
Pushbutton
LED
-
GREEN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
USB USER
-
-
-
-
-
-
-
-
Free I/O
-
PC10
PC11
PC12
PC13
-
-
PD2
Power supply
CN3
CN4
P1
P2
SBx
-
-
-
-
26
-
-
-
-
15
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
14
13
4
5
6
-
12
-
-
-
-
-
-
-
-
SB14
SB13
-
PF0 5
PF1 6
VBAT 1
VDDA 13
VDDIO2 48
-
-
-
-
-
OSC_IN
-
OSC_OUT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
7
-
-
-
-
-
-
-
-
-
8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
VDD
VDD
VDD
VDD
5V
-
-
3
-
-
-
-
-
-
-
-
20 5
-
8
-
UM1690 Rev 3 23/27
-
SB17
-
SB18
-
SB15
19 SB26
18 SB16
-
1
-
26
Page 24
Hardware layout UM1690
Table 8. MCU pin description versus board function (continued)
MCU pin Board function
(1)
Main function
-
-
-
-
-
1. Depending on SBx, connected to STM32F072RBT6 MCU pin or board function. (Refer to the schematics on www.st.com for more detail)
LQFP64 pin num.
-
-
-
-
-
System
-
-
-
-
-
Linear touch sensor
-
-
-
-
-
I3G4250D
-
-
-
-
-
EXT/ RF-E2P
-
-
-
-
-
Pushbutton
LED
-
-
-
-
-
-
-
-
-
-
USB USER
-
-
-
-
-
Free I/O
Power supply
CN3
CN4
P1
P2
-
-
5
3V
7322
GND
­GND
­GND
­GND
-
1
-
-
9
-
-
19
-
-
33 33
-
-
-
SBx
-
-
-
-
-
24/27 UM1690 Rev 3
Page 25
UM1690 Mechanical drawing

6 Mechanical drawing

Figure 8. STM32F072 Discovery kit mechanical drawing
UM1690 Rev 3 25/27
26
Page 26
Revision history UM1690

7 Revision history

Date Revision Changes
18-Dec-2013 1 Initial release.
23-June-2014 2
19-Mar-2020 3
Table 9. Document revision history
Updated Figure 1: STM32F072 discovery board. Added Section 4.7 and Section 4.8. Added Figure 12: MEMS and USB and Figure 13: Linear
sensor and pushbutton.
Updated ST MEMS gyroscope and user LEDs descriptions in Features, Gyroscope MEMS (ST MEMS
I3G4250D), LEDs, and across the document.
Removed Electrical schematics. Reorganized the entire document: – Updated Features and Ordering information – Added Product marking, Codification and
Development environment
26/27 UM1690 Rev 3
Page 27
UM1690
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. 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
UM1690 Rev 3 27/27
27
Loading...