Documente Academic
Documente Profesional
Documente Cultură
User manual
STM32F0DISCOVERY
STM32F0 discovery kit
Introduction
The STM32F0DISCOVERY helps you to discover the STM32F0 Cortex-M0 features and to
develop your applications easily. It is based on an STM32F051R8T6 and includes an ST-
LINK/V2 embedded debug tool, LEDs, push buttons and a prototyping board.
Figure 1. STM32F0DISCOVERY
Contents
1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Development toolchain supporting the STM32F0DISCOVERY . . . . . . . . . 6
2.4 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
List of tables
List of figures
Figure 1. STM32F0DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. STM32F051R8T6 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 6. STM32F051R8T6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 7. Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 8. STM32F0DISCOVERY connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 9. ST-Link connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 10. STM32F0DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 11. STM32F0DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 12. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 13. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
1 Conventions
Table 1 provides the definition of some conventions used in the present document.
2 Quick start
3 Features
-INI
53"
%MBEDDED
34
,).+6
37$
34-&24
)/ )/
(EADER
(EADER
)/ 2%3%4
,%$ "
,$ 0# 234
,%$ "
,$ 0# 53%2
-36
JP2
IDD measurement
SB1 (VBAT)
SB3 (B1-USER)
B2 reset button
STM32F051R8T6
SB4 (B2-RESET)
B1 user button
MS30024V1
SB13 (STM_RST)
SB22 (T_SWO)
MS30025V1
34-&24
+BYTE OF &LASH MEMORY
+BYTES OF 2!-
,1&0 X MM -36
The STM32 F0 delivers 32-bit performance and STM32 DNA essentials into applications
typically addressed by 8- or 16-bit microcontrollers. It benefits from the combination of real-
time performance, low-power operation, advanced architecture and peripherals associated
to the STM32 ecosystem, which has made the STM32 a reference in the market. Now all
this is accessible for cost-sensitive applications. The STM32 F0 offers unparalleled flexibility
and scalability for home-entertainment products, appliances, and industrial equipment.
This device provides the following benefits.
Superior code execution for better performance and excellent code efficiency for
reduced embedded memory usage
High-performance connectivity and advanced analog peripherals to support a wide
range of applications
Flexible clock options and low power modes with fast wake-up for low power
consumption
It has the following key features:
Core and operating conditions
ARM Cortex-M0 0.9 DMIPS/MHz up to 48 MHz
1.8/2.0 to 3.6 V supply range
High-performance connectivity
6 Mbit/s USART
18 Mbit/s SPI with 4- to 16-bit data frame
1 Mbit/s IC fast-mode plus
HDMI CEC
Enhanced control
1x 16-bit 3-phase PWM motor control timer
5x 16-bit PWM timers
1x 16-bit basic timer
1x 32-bit PWM timer
12 MHz I/O toggling
FLASH OBL
&,!3( 633
)NTERFACE
+" 6$$
#/24%8
- #05 BITS
F(#,+ -(Z 0/2 3500,9
350%26)3)/. .234
2ESET
CONTROLLER
32!- 6$$!
.6)# 6$$! )NT 0/2 0$2
32!-
+" 6
"US-ATRIX
$$
.6)#
2# (3 -(Z 06$
2# (3 -(Z 6$$!
'0 $-! 6$$
2# ,3
CHANNELS /3#).
0&
84!, /3#
0,,
-(Z /3#/54
0&
)77$'
!("0#,+ 0OWER
!0"0#,+ #ONTROLLER 6"!4 6 TO 6
2%3%4 !$##,+
#,/#+ #%##,+ 637
#/.42/, 53!24#,+ /3#?).
(#,+ 84!, K(Z
0!;= '0)/ PORT ! /3#?/54
&#,+
"ACKUP
!(" DECODER
4)-%2 CHANNEL
COMPL "2+ AS !&
%84)4
!& CHANNEL
7+50 77$' 4)-%2
COMPL "2+ AS !&
-/3)3$ )2?/54 AS !&
-)3/-#+
30))3
3#+#+
.3373 AS !& $"'-#5 2848 #43 243
53!24 #+ AS !&
-/3) -)3/
3#+ .33 30) 53!24 2848 #43 243
AS !& #+ AS !&
)&
BIT $!#
4)-%2 )& $!#?/54 AS !&
6$$!
633! 6$$! 6$$!
-36
(ARDWARE REQUIREMENTS
53"