Releasing your creativity STM32F0 series Mainstream 32

Releasing your creativity STM32F0 series Mainstream 32
Releasing your creativity
STM32F0 series
Mainstream 32‑bit MCUs
Content
F0 inside STM32 Family................................................................... 3
9 product series ‑ More than 30 product lines...................................... 3
STM32F0 Entry‑level MCU.............................................................. 4
STM32F0 product lines............................................................................... 4
STM32F0x0 Value line...................................................................... 5
STM32F0 Value line portfolio..................................................................... 5
STM32F030 block diagram........................................................................ 5
F0 inside STM32 Family
By choosing one of ST’s microcontrollers for your embedded application,
you gain from our leading expertise in MCU architecture, technology,
multi‑source manufacturing and long term supply.
The STM32 portfolio offers an extraordinary variety of options, now including ARM® Cortex®‑M cores (M0, M0+, M3, M4 and M7), giving
developers flexibility to find the perfect STM32 for their applications. Particular attention is paid to accommodate porting of applications from
one device to another. The binary compatibility combined with the similar pinout assignment, hardware IPs proliferation and higher level
programming language makes the development job far more convenient when dealing with the STM32 families.
9 PRODUCT SERIES ‑ MORE THAN 30 PRODUCT LINES
STM32F0x1 line..................................................................................... 6
STM32F0x1 portfolio.................................................................................... 6
STM32F091 block diagram........................................................................ 6
Highperformance
STM32 F2
STM32F0x2 line..................................................................................... 7
STM32 F4
STM32 F7
STM32F0x2 portfolio.................................................................................... 7
STM32F072 block diagram........................................................................ 7
STM32F0x8 line..................................................................................... 8
STM32F0x8 portfolio ................................................................................... 8
1.8 V STM32 bridges mobile platform subsystems................................ 8
3
Mainstream
STM32 F0
STM32 F1
STM32 F3
STM32 L0
STM32 L1
STM32 L4
Cortex-M3
Cortex-M4
STM32F0 Ecosystem........................................................................... 9
STM32 Nucleo.............................................................................................. 9
STM32 Nucleo portolio............................................................................... 9
STM32 Nucleo expansion boards.......................................................... 10
Achieving SIL2/3 with STM32F0.............................................................. 10
Ultralow-power
Cortex-M0/-M0+
The Mainstream family addresses a large variety of needs found in general‑purpose
applications, while the STM32 portfolio offers the possibility to boost performance with
more MIPS or improve ultra‑low power values. The STM32F0 series is the entry level of the
three series of the Mainstream family, where price effectiveness and simplicity are primary
requirements. The pin compatibility with STM32F1 or STM32F3 series makes navigation
across the board extremely convenient.
Cortex-M7
The STM32F0 series with a
Cortex®‑M0 core addresses
cost‑sensitive designs
originally served by 8‑ or 16‑bit
microcontrollers. The “STM32 at 32
cents” offer is a clear illustration of
this capability.
STM32F0 Entry‑level MCU
STM32F0x0 Value line
The STM32F0 series is well balanced for efficiency
Devices in ST’s ARM Cortex‑M0‑based STM32F0 series deliver 32‑bit performance while featuring the essentials of the STM32 family and are
particularly suited for cost‑sensitive applications. STM32F0 MCUs combine real‑time performance, low‑power operation, and the advanced
architecture and peripherals of the STM32 platform.
• The STM32F0x0 Value line is highly competitive in traditional 8‑bit and 16‑bit markets
The STM32F0x0 features an ARM Cortex‑M0 core and runs at speeds
up to 48 MHz
The STM32F0x0 Value line covers the main needs for memory and pin count combinations with fewer devices to increase focus on the overall
cost efficiency of your projects. Application designers starting with the STM32F0x0 benefit from being able to upgrade to any of the devices in
the powerful STM32 portfolio at any time with an extraordinary degree of reusability of tools and application software.
• The STM32F0x1 line provides a high integration of functions and covers a wide range of memory sizes and packages
• The STM32F0x2 line provides rich connectivity with a crystal‑less USB 2.0 interface
STM32F0 VALUE LINE PORTFOLIO
• The STM32F0x8 line operating at 1.8V ± 8% is well suited for use in portable consumer applications
Flash size (bytes)
(KB)
(KB)
20‑byte
backup
data
Power
supply
4
ARM® Cortex®‑M0 – 48 MHz
• 2x watchdogs
• Hardware CRC
• Internal RC
STM32F0x0
Value line
16 to 256 4 to 32 2.4 to 3.6 V
STM32F0x1
Access line
16 to 256 4 to 32 2.0 to 3.6 V
• Crystal oscillators
• PLL
• RTC calendar
STM32F0x2
USB line
•
6
•
8
STM32F030RC
128 K
STM32F070CB
STM32F070RB
64 K
STM32F030C8
STM32F030R8
32 K
•
•
•
•
•
16 to 128 4 to 16 2.0 to 3.6 V
•
•
•
4
•
•
•
•
STM32F0x8
32 to 256 4 to 32 1.8 V +/‑ 8%
Low voltage line
16 K
USB
•
•
•
8
•
•
•
(crystal‑less)
•
(crystal‑less)
www.st.com/stm32f0
The same system block is common within
the STM32F0 family. Migration across the
lines is facilitated as the same peripherals,
IP‑set and pinouts are shared.
By construction, the parameters are
guaranteed over all voltage ranges,
eliminating performance degradation due to
unstable supply voltages.
With very flexible power consumption
settings, developers can adjust the working
modes on the fly, ensuring a fine control of
the device.
STM32F030CC
USB
•
• Single wire debug
• Unique ID
Up to
2xSPI/
I²S,
2xI²C
256 K
•
• 1x12‑bit ADC
• Multiple channel DMA
Touch
sense
Comp.
•
• 16‑ and 32‑bit timers
• Temperature sensor
12‑bit
DAC
CAN
Product line
RAM
CEC
• Reset POR/PDR
FLASH
USART
STM32F0 PRODUCT LINES
TYPICAL CONSUMPTION VALUES ACROSS STM32F0 POWER MODES
VBAT
0.5 µA
STANDBY
STOP no RTC
STOP with RTC
SLEEP
RUN
at 1.65 V with LSE clock 32 kHz, RTC on
2.5 µA
at 2 V
4.9 µA
RAM retention
at 2 V, oscillator off, VDDA monitoring
5.4 µA
500 µA
RAM retention
at 2 V, oscillator off, VDDA monitoring
with HSI clock at 8 MHz, PLL off
250 µA/MHz
at FCPU=48 MHz, peripherals off
STM32F070C6
STM32F070F6
STM32F030K6
STM32F030C6
STM32F030F4
20 pins
TSSOP
Pin count
48 pins
LQFP
32 pins
LQFP
64 pins
LQFP
Economy of scales realized by reducing the quantity of variances directly benefit our customers.
Respecting the most stringent quality requirements, the Value line is produced in high volume, making the supply chain and inventory
management less costly for our customers.
STM32F030 BLOCK DIAGRAM
System
Power supply
1.8 V internal
regulator POR/PDR
48 MHz
Xtal oscillators
ARM Cortex-M0
32 kHz + 4~32 MHz
CPU
Internal RC
oscillators
40 kHz + 8 MHz
PLL
Clock control
Nested Vector
Calendar RTC
Interrupt
SysTick timer
Controller (NVIC)
2x watchdogs
SW debug
(independent and
window)
38/52 I/Os
AHB-Lite bus matrix
Cyclic Redundancy
APB bus
Check (CRC)
5-channel DMA
256-Kbyte
Flash memory
32-Kbyte SRAM
HW parity checking
Analog
1x 12-bit ADC
16 channels /
1 1toMSPS
2x SPI
Temperature
sensor
Connectivity
2x SPI
2x I²C with
Fast-mode Plus
6x USART
(4x with modem
control)
Control
1x 16-bit
motor control
PWM Synchronized
AC timer
5x 16-bit
PWM timers
2x 16-bit
basic timers
The system block is very similar to other
STM32F0 lines, making the extension for
additional voltage range or functionality more
convenient.
Upward compatibility with STM32F0x1 and
F0x2 devices is guaranteed from a hardware
and software viewpoint.
5
STM32F0x1 line
STM32F0x2 line
STM32F0x1 offers better user experience with high integration
STM32F0x2 crystal‑less USB 2.0 FS and CAN interfaces
STM32F0x1 devices are intended to address 8‑ and 16‑bit applications where satisfactory performance is required, for example in
home‑entertainment products, appliances and industrial equipment. The portfolio covers from 16 to 256 Kbytes of on‑chip Flash memory, up
to 32 Kbytes of SRAM, and several communication interfaces including USART, SPI,I²S, I²C,CAN, HMDI CEC and 16‑bit PWM standard or motor
control dedicated timers.
The latest addition to ST’s STM32F0x1 series, the STM32F091, comes with up to eight USARTs. Its 256 Kbytes of on‑chip Flash memory and
32 Kbytes of SRAM enable the implementation of high level languages such as a Java stack.
These new STM32F0 devices are the first 32‑bit Cortex‑M0 MCUs in the industry offering a crystal‑less USB 2.0 FS interface with a link power
management (LPM) feature and compliant with battery charger detection (BCD) specification 1.2, thus eliminating the need for an external
crystal oscillator to generate the precision clock required by the USB protocol. Together with the support of CAN, USART, I²C, SPI (I²S) and HDMI
CEC interfaces, the new STM32F0 devices enable product developers to increase system integration, reduce costs, and exceed the traditional
price performance limitations imposed by older, proprietary 8‑bit or 16‑bit microcontrollers for USB device or controller applications.
The STM32F0x2 series provides from 16 to 128 Kbytes of Flash memory in 20‑ to 100‑pin packages. These popular package styles are the
perfect fit for PC or mobile applications and accessories.
STM32F0x1 PORTFOLIO
STM32F0x2 PORTFOLIO
Flash size (bytes)
256 K
128 K
STM32F051T8
STM32F051K8
64 K
32 K
6
16 K
STM32F031E6
STM32F031G6
STM32F031F6
STM32F031G4
STM32F031F4
28 pins QFN
25 pins CSP
20 pins TSSOP
STM32F051K6
STM32F031K6
STM32F051K4
STM32F031K4
36 pins CSP
32 pins LQFP/QFN
STM32F091CC
STM32F091CB
STM32F071CB
STM32F091RC
STM32F091RB
STM32F071RB
STM32F091VC
STM32F091VB
STM32F071VB
STM32F051C8
STM32F051R8
STM32F071V8
STM32F051C6
STM32F031C6
STM32F051C4
STM32F031C4
49 pins CSP
48 pins LQFP/QFN
Flash size (bytes)
128 K
STM32F072CB
STM32F072RB
STM32F072VB
64 K
STM32F072C8
STM32F072R8
STM32F072V8
32 K
STM32F042G6
STM32F042F6
STM32F042T6
STM32F042K6
STM32F042C6
16 K
STM32F042G4
STM32F042F4
STM32F042K4
STM32F042C4
28 pins QFN
20 pins TSSOP
36 pins CSP
32 pins QFN/LQFP
49 pins CSP
48 pins LQFP/QFN
STM32F051R6
STM32F051R4
64 pins
LQFP/BGA/CSP
Pin count
100 pins
LQFP/BGA
64 pins
BGA/LQFP
Pin count
100 pins
BGA/LQFP
Flexible hardware selection with a 48‑pin package covering from 256 Kbytes all the way down to 16 Kbytes of program memory.
The STM32F0x2 has a built‑in USB DFU bootloader.
Designers can program blank STM32F0x2 devices in a newly‑assembled board or upgrade the application firmware during development or
pre‑production via USB without the need of specific programming tools or cables.
STM32F091 BLOCK DIAGRAM
STM32F072 BLOCK DIAGRAM
System
256-Kbyte
Flash memory
Power supply 1.8 V
32-Kbyte SRAM
internal regulator
HW parity checking
POR/PDR/PVD
Xtal oscillators
20-byte backup
48 MHz
32 kHz + 4~32 MHz
data
ARM Cortex-M0
Internal RC
CPU
oscillators
40 kHz + 8 MHz
Internal RC
Connectivity
oscillator 48 MHz
(auto trimming on
HDMI CEC
ext. synchro)
Nested Vector
2x
SPI (with I²S
Interrupt
PLL
mode)
Controller (NVIC)
Clock control
2x
I²C with
SW debug
Calendar RTC
Fast-mode Plus
SysTick timer
1x CAN
2x watchdogs
AHB-Lite bus matrix
8x USART
(independent and
(4x with modem
APB bus
window)
control, 3x with LIN,
38/52/88 I/Os
12-channel DMA
smartcard, IrDA)
Cyclic Redundancy
Touch-sensing
Check (CRC)
Up to 24 keys
Analog
1x 12-bit DAC
2-channel
1x 12-bit ADC
to 2x SPI /
161 channels
1 MSPS
2x analog
comparators
Temperature
sensor
Control
1x 16-bit
motor control
PWM Synchronized
AC timer
1x 32-bit timers
5x 16-bit PWM
timers
2x 16-bit
basic timers
The STM32F0x1 line gives developers
the opportunity to maintain the whole
development configuration as the system
block remains unchanged.
Adjusting the peripheral selection according
to hardware or software needs has never
been so easy.
System
128-Kbyte
Flash memory
Power supply 1.8 V
16-Kbyte SRAM
internal regulator
HW parity checking
POR/PDR/PVD
Xtal oscillators
20-byte backup
48 MHz
32 kHz + 4~32 MHz
data
ARM Cortex-M0
Internal RC
CPU
oscillators
40 kHz + 8 MHz
Connectivity
Internal RC
HDMI CEC
oscillator 48 MHz
(auto trimming on
2x SPI (with I²S
ext. synchro)
Nested Vector
mode)
Interrupt
PLL
2x I²C with
Controller (NVIC)
Clock control
Fast-mode Plus
SW debug
Calendar RTC
1x CAN
SysTick timer
USB FS 2.0
(Xtal less)
2x watchdogs
AHB-Lite bus matrix
(independent and
4x USART
APB bus
window)
with modem control
(2x with LIN,
37/51/87 I/Os
7-channel DMA
smartcard, IrDA)
Cyclic Redundancy
Touch-sensing
Check (CRC)
Up to 24 keys
Analog
1x 12-bit DAC
2-channel
1x 12-bit ADC
to 2x SPI /
161 channels
1 MSPS
2x analog
comparators
Temperature
sensor
Control
1x 16-bit
motor control
PWM Synchronized
AC timer
1x 32-bit timers
5x 16-bit PWM
timers
2x 16-bit
basic timers
The combination of the USB Full Speed
device interface together with a large variety
of analog and digital peripherals make the
design more compact and more integrated.
To simplify development for non‑USB experts,
we provide a free USB Full‑Speed Device
Library as well as a set of examples and a
demo based on various audio, CCID, CDC,
HID, VCP, and MSC classes.
7
STM32F0x8 line
STM32F0 Ecosystem
The STM32F0x8 low voltage 1.8 V family
Hardware tools
The STM32F0x8 line operates at 1.8 V ± 8%. It is well suited for use in portable consumer applications such as smartphones, accessories and
media devices, and allows designers to take advantage of the same features as the STM32F0 series with no compromise or degradation in
processing performance when operating at lower voltages.
The combination of a 1.8 V digital supply voltage, a separate I/O voltage supply rail and an independent analog domain is an advantage in
heterogeneous system architectures, leading to simplified system design and connected cost savings. The STM32F0x8 devices are ideal
low‑voltage companion microcontrollers, allowing to maintain a wide analog dynamic range or to directly connect USB devices.
Various types of development boards let you get started with STM32F0 products.
The STM32 Nucleo boards provide an affordable and flexible way for users to try out new ideas and build prototypes with a wide choice of
specialized expansion boards. The Discovery kits let developers quickly explore key features of STM32F0 products, while the evaluation boards
highlight all MCU functions. All these development boards include an integrated debugger programmer as well as ready‑to‑use software
examples helping developers to promptly get started.
STM32 Nucleo
Discovery kit
Evaluation board
STM32F0x8 PORTFOLIO
Flash size (bytes)
256 K
STM32F098CC
STM32F098RC
STM32F098VC
128 K
STM32F078CB
STM32F078RB
STM32F078VB
STM32F058T8
STM32F058C8
STM32F058R8
STM32F048G6
STM32F048T6
STM32F048C6
STM32F038G6
28 pins QFN
25 pins CSP
STM32F038K6
36 pins CSP
32 pins QFN
STM32F038C6
49 pins CSP
48 pins LQFP/QFN
64 K
STM32F038E6
32 K
8
STM32F038F6
20 pins
TSSOP
Pin count
64 pins
BGA/LQFP
100 pins
BGA/LQFP
Flexible prototyping
Key feature prototyping
Full feature evaluation
www.st.com/stm32nucleo
www.st.com/stm32f0‑discovery
www.st.com/stm32evaltools
STM32 NUCLEO
• Open platform with a single STM32 MCU and integrated debugger/programmer.
1.8 V STM32 BRIDGES MOBILE PLATFORM SUBSYSTEMS
• At least one board per main series.
• Different types of connectors for unlimited expansion possibilities.
1.8V STM32
VDD 1.8V
• Support for multiple IDEs and mbed online tools.
VDD I/O 3.3V
• $10.32 recommended resale price.
www.st.com/stm32nucleo
I/O at 1.8V
USB 3.3V
STM32 NUCLEO PORTOLIO
Nucleo type (pins)
SPI at 1.8V
NUCLEO-F072RB
Nucleo-64
ADC In 0 to 2.7V
A single device will accept various voltage levels, bridging heterogeneous hardware
implementation without the need for voltage level shifters.
VDD Analog 2.7V
Nucleo-32
NUCLEO-F030R8
NUCLEO-F070RB
NUCLEO-F091RC
NUCLEO-F042K6
NUCLEO-F031K6
32 K
64 K
128 K
256 K
Flash size
(bytes)
9
Recommendations for choosing embedded software
STM32 NUCLEO EXPANSION BOARDS
• Expansion boards allow you to
add specialized functions (sense,
connectivity…) with companion chips
through Arduino™ or ST morpho
connectors.
• The portability of associated software
components let you target several STM32
MCUs.
www.st.com/x‑nucleo
When choosing between a strategy for code optimization or portability, here are some recommendations:
• STM32Snippets: a collection of examples, optimized for direct access to registers
•
Software development tools offer
ST proposes a 3‑step approach for standard development in C:
1/ Configure the microcontroller using STM32CubeMX tool and optionally generate code depending on user choices
2/ Develop the application, compile and debug, using a partner integrated development environment (IDE) such as IAR, Keil, AC6, Atollic,
Coocox, Emprog, iSystem, Keolabs, Rowley, Segger, Tasking..
3/ Monitor the application while it is running without being intrusive with STMStudio.
STM32CubeMX
Best option for users looking for size and performance optimization.
It is also a good choice for 8‑bit MCU users wishing to start on a 32‑bit MCU, granting access to a level of control very close to hardware,
with a very well‑fit footprint.
• STM32SnippetsF0 examples are also included in STM32F0 MCU reference manuals
• Standard Peripheral Library: for portability at the STM32 series level. For instance, easy portability within the STM32F0 series
• Good tradeoff for users willing to remain within the STM32F0 series.
• STM32Cube embedded software: for portability at the entire STM32 family level. Easing the reuse of applications from one STM32 MCU to
another
• Correct choice for users who may want to easily port their application to another STM32 MCU
• Benefits from the full features of the STM32CubeMX tool on the PC, enabling access to code generation based on the user configuration
and STM32CubeF0 embedded software
• CMSIS Driver and mbed abstraction layer: an abstraction layer for any ARM® Cortex®‑M based microcontroller
• Solutions outside the microcontroller world: STM32Java, .Net Micro framework, or Matlab/Simulink
•
Partner IDEs
STM32Java
STMStudio
STM32
Cube
STM32
Cube
10
Assistance Conseil
Systèmes
Configure and
generate code
Compile and debug
Monitor
ACHIEVING SIL2/3 WITH STM32F0
Quickly achieve IEC 61508 Safety Integrity
Level (SIL) certification with STM32F0
Functional Safety Package developed in
partnership with Yogitech :
• STM32F0 Safety Manual : a user
guide including detailed list of safety
requirements and examples
• fRSTL_stm32f0 library : a set of ready to
use, verified and application independent
Software Test Libraries
Visit www.yogitech.com
SIL2/SIL3
SIL
Ready
www.st.com/stm32safety
Development
+
Development
+
STM32 F0
+
• Safety manuals
• Safety features
• Product portfolio
ST Quality foundations
STM32Snippets
www.st.com/stm32snippets
STM32Cube
and Std Libraries
www.st.com/stm32cube
CMSIS and
Mbed SDK
mbed.org
Virtual machines
and models
www.st.com/stm32-java
High optimization
low portability
Average optimization
STM32 portability
Low optimization
ARM portability
Low optimization
large portability
11
Collaterals
www.st.com is a valuable source of information and support with a documentation repository, forums, video and social media that help provide
solutions for any issues or challenges that you may encounter. The existing community around ARM Cortex cores is already big enough that
developers will likely find existing solutions or examples ready to be imported.
Please download our mobile version of the ST MCU Finder which makes MCU selection easy. It is available for Apple, Windows and Android
mobile platforms.
st.com
ST MCU finder
www.st.com/stmcufinder
Various social media
ST forums on microcontrollers
facebook.com/stm32
twitter.com/@ST_World
youtube.com/STonlineMedia
Mbed.org
Information
MCU selection
Communities and social media
STM32F0 shortcuts
www.st.com/stm32f0
www.st.com/stm32f0x1
www.st.com/stm32evaltools
www.st.com/stm32discovery
www.st.com/stm32nucleo
www.st.com/stm32embeddedsoftware
www.st.com/stm32snippets
www.st.com/stm32cube
mbed.org
www.st.com/stm32‑java
www.st.com/stmcufinder
www.st.com/stmstudio
www.yogitech.com
www.st.com/x‑nucleo
www.st.com/stm32safety
© STMicroelectronics - September 2015 - Printed in United Kingdom - All rights reserved
The STMicroelectronics corporate logo is a registered trademark of the STMicroelectronics group of companies
All other names are the property of their respective owners
Order code: BRSTM32F0M0815
For more information on ST products and solutions, visit www.st.com/mems
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement