0% found this document useful (0 votes)
625 views31 pages

UM1690 User Manual: Discovery Kit For STM32 F0 Series With STM32F072RB MCU

STM32F0xxx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
625 views31 pages

UM1690 User Manual: Discovery Kit For STM32 F0 Series With STM32F072RB MCU

STM32F0xxx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

UM1690

User manual
Discovery kit for STM32 F0 series with STM32F072RB MCU

Introduction
The STM32F072 discovery kit (32F072BDISCOVERY) helps you to discover the full
features of the STM32F0 series and to develop your applications. It is based on an
STM32F072RBT6 and includes an ST-LINK/V2 embedded debug tool interface, ST MEMS
Gyroscope, LEDs, pushbuttons, linear touch sensor, touch keys, RF EEprom connector and
a USB mini-B connector.

Figure 1. STM32F072 discovery board

June 2014 DocID025474 Rev 2 1/31


www.st.com
Contents UM1690

Contents

1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2 Ordering and product information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4 Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.1 Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
4.1.1 Using ST-LINK/V2 to program/debug the STM32F072 on board . . . . . 11
4.1.2 Using ST-LINK/V2 to program/debug an external STM32 application . . 12
4.2 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.4 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.5 Linear touch sensor / touch keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.6 USB device support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.7 BOOT0 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.8 Embedded USB Bootloader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.9 Gyroscope MEMS (ST MEMS L3GD20) . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.10 JP2 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.11 Extension and RF EEprom connector . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.12 OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.12.1 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.12.2 OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.13 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.14 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

5 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

6 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

2/31 DocID025474 Rev 2


UM1690 List of tables

List of tables

Table 1. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5


Table 2. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 3. Debug connector CN2 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 4. Extension and RF EEprom connector (CN3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 5. Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 6. MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 7. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

DocID025474 Rev 2 3/31


3
List of figures UM1690

List of figures

Figure 1. STM32F072 discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1


Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. STM32F072 discovery board connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 6. ST-Link connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 7. Extension and RF EEprom connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 8. STM32F072 discovery board mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Figure 9. STM32F072 discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 10. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 11. STM32F072RBT6 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 12. MEMS and USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 13. Linear sensor and pushbutton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

4/31 DocID025474 Rev 2


UM1690 Conventions

1 Conventions

Table 1 provides the definition of some conventions used in the present document.

Table 1. ON/OFF conventions


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

DocID025474 Rev 2 5/31


30
Ordering and product information UM1690

2 Ordering and product information

The STM32F072 discovery is a low-cost and easy-to-use development kit to quickly


evaluate and start a development with an STM32F0 series microcontroller.
Before installing and using the product, please accept the Evaluation Product License
Agreement from www.st.com/stm32f0-discovery.
For more information on the STM32F072 discovery board and for demonstration software,
visit www.st.com/stm32f0-discovery.
To order the discovery kit for the STM32 F0 series, use the order code: STM32F072B-
DISCO.

6/31 DocID025474 Rev 2


UM1690 Features

3 Features

The STM32F072 discovery board offers the following features:


• STM32F072RBT6 microcontroller featuring 128 KB of Flash memory, 16 KB of SRAM
in an LQFP64 package
• On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone ST-
LINK/V2 (with SWD connector for programming and debugging)
• Board power supply: through USB bus or from an external 5 V supply voltage
• External application power supply: 3 V and 5 V
• L3GD20, 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 (orange), LD4 (green), LD5 (red) and LD6 (blue)
• Two pushbuttons (user and reset)
• USB USER with Mini-B connector
• RF EEprom daughter board connector
• Extension header for LQFP64 I/Os for a quick connection to the prototyping board and
easy probing

DocID025474 Rev 2 7/31


30
Hardware layout UM1690

4 Hardware layout

The STM32F072 discovery board has been 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 L3GD20, LEDs, pushbuttons, linear touch sensor, touch
keys, RF EEprom connector and a USB mini-B connector).
Figure 3 and Figure 4 help you to locate these features on the STM32F072 discovery board.

Figure 2. Hardware block diagram

DŝŶŝͲh^

ŵďĞĚĚĞĚ
^dͲ>/E<ͬsϮ
^t

^dDϯϮ&ϬϳϮZdϲ

/ͬK /ͬK
,ĞĂĚĞƌ

,ĞĂĚĞƌ

/ͬK Z^d


>ϯƚŽ>ϲ Ϯ
Z^d
>ϯ'ϮϬ ϭ
h^Z
>ŝŶĞĂƌdŽƵĐŚ
^ĞŶƐŽƌ

DŝŶŝͲh^ ydͬZ&ͲW

D^ϯϯϮϲϳsϭ

8/31 DocID025474 Rev 2


UM1690 Hardware layout

Figure 3. Top layout

34 ,).+6

86%67/,1. 86%86(5 ,$


,$ 072
#/-
#. EXTENSION OR
2&