brstm32f3

brstm32f3
Releasing your creativity
STM32F3 series
Mainstream 32-bit MCUs
Content
F3 inside STM32 family.................................................................... 3
9 product series ‑ More than 30 product lines...................................... 3
Main features and benefits ...................................................................... 4
An upgraded MCU class................................................................ 5
STM32F3 product lines............................................................................... 5
STM32F30X product lines portfolio........................................................... 6
STM32F303 block diagram........................................................................ 7
Advanced peripherals .............................................................................. 7
CCM-SRAM: the Routine Booster.............................................................. 7
Digital power line................................................................................ 8
STM32F334 portfolio.................................................................................... 8
STM32F334 block diagram........................................................................ 9
Application target...................................................................................... 9
Complex waveform building and multi-event handling
(from HRTIM) - Example............................................................................. 9
High precision line............................................................................ 10
F3 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
Highperformance
STM32 F2
STM32 F4
STM32 F7
3
Mainstream
STM32F373 portfolio ................................................................................. 10
STM32F373 block diagram...................................................................... 10
Application target ................................................................................... 10
Advanced peripherals............................................................................. 10
STM32 F0
STM32 F1
STM32 F3
STM32 L0
STM32 L1
STM32 L4
Cortex-M3
Cortex-M4
Low voltage line ............................................................................... 11
STM32F3X8 portfolio................................................................................. 11
Voltage Range (Core, I/Os and VddA) ............................................... 11
Ultralow-power
STM32F3 Ecosystem ........................................................................ 12
STM32 Nucleo expansion boards.......................................................... 13
Achieving SIL2/3 with STM32F3.............................................................. 13
STM32 motor control Ecosystem............................................................ 14
Cortex-M0/-M0+
The Mainstream family addresses a large variety of needs found in general-purpose
applications.
The STM32 portfolio offers the possibility to boost the performance with more MIPS or better
ultra-low power specifications than other microcontroller families. The STM32F3 series is the
upgraded class in the Mainstream family thanks to the powerful Cortex-M4 core combined
with its advanced digital and analog peripheral set.
The pin compatibility between STM32F1, F0 and F3 series makes navigation across the board
extremely convenient
Cortex-M7
The F3 series extends the scope
of ST’s STM32 family by allowing
designers to tackle mixed-signal
control applications. The STM32
F3 series is optimized for efficient
handling and processing of mixed
signals in applications such as threephase motor controls, biometrics and
industrial sensors, sonars and audio
as well as digital power applications
including power supplies, lighting,
and welding.
STM32F3 key benefits
An upgraded MCU class
MAIN FEATURES AND BENEFITS
Features
Benefits
Performance and architecture
• 72 MHz / 63 DMIPS (from Flash) or 90 DMIPS (from CCM-SRAM)
• Boosted execution of control algorithms
• ARM® Cortex®-M4 with single cycle DSP MAC and floating point
• Better code efficiency
unit (FPU)
• Routine Booster (CCM-SRAM for Core Coupled Memory-SRAM):
SRAM mapped to the instruction bus
• SRAM with parity bit
• Memory Protection Unit (MPU)
• Embedded Trace Macrocell (ETM)
• Interconnect matrix
• DMA controllers
• Flexible Static Memory Controller (FSMC)
• Fast time to market
• Elimination of scaling and saturation
• More performance for critical routines with zero wait state
execution from safe CCM-SRAM
• 100% deterministic execution from CCM-SRAM
• Data and code reliability
• Advanced debug functions
• Peripheral connection flexibility and code size reduction
• Large set of external memory accessible up to 36 MHz giving more
flexibility
• No code size limit
The STM32F3 family of mixed-signal MCUs with DSP and FPU instructions
The STM32 F3 series shakes up the digital signal controller world by combining a 32-bit ARM® Cortex®-M4 core (DSP, FPU) running at 72 MHz
with a high number of integrated analog and digital peripherals leading to cost reduction at application level and simplifying application design.
The STM32F3 Series consists of six lines:
• The STM32F301, STM32F302, STM32F303 lines are general-purpose MCUs ranging from a basic, cost-efficient
peripheral set to devices with more performance and analog functions.
• The STM32F334 line includes a versatile high-resolution timer (217 ps) for digital power conversion applications,
such as D-SMPS, lighting, welding, solar and wireless charging.
• The STM32F373 line with its 16-bit sigma-delta ADC is designed for high-precision measurements in applications
such as biometric sensors or smart metering.
• The STM32F3x8 line supporting 1.8 V operations.
advanced analog peripherals and low-power modes
• Ideal for running at low voltages or on a rechargeable battery
• 2.0 to 3.6 V or 1.8 V ± 8% power supply range
Superior and innovative peripherals
• Analog: Fast 12-bit ADC at 5 Msps (0.2 µs), Precise 16-bit
• Mixed signal management within one chip
sigma‑delta ADC, Fast and ultra-fast comparators (25 ns), Op amp
with PGA (4 gains, 1% accuracy), 12-bit DACs
• Up to 18 timers: 16- and 32-bit resolution running up to 144 MHz
• Audio: Simplex or full duplex I²S interfaces
• Large set of communication interfaces including USART (9 Mbit/s),
SPI/I²S (18 Mbit/s), I²C (1 MHz fast mode plus), CAN (1 Mbit/s), and
full-speed USB
• Cyclic redundancy check (CRC)
• Capacitive touch sensing (24 keys)
• High-resolution timer (217 ps) with complex waveform builder and
multi-event handler
• BOM cost reduction
• Simpler PCB design
• Reduced MCU layout footprint
• Code reliability
• Eases digital power conversion
• Control loop
• From 16 up to 512 Kbytes of Flash memory
• From 32 to 144 pins in QFN, LQFP, BGA, and WLCSP packages
• Ambient temperature range: –40 °C to +105 °C (+125 °C
junction)
• USART, SPI, I²C, I²S,
USB and CAN
• 16- and 32-bit timers
• HW polynomial CRC
• SRAM with Parity
check
• Low and high speed
oscillator
• Reset + BOR PVD
• RTC
• Temperature sensor
• Capacitive Touch
sensing
Fast
and
Ultra
Fast
Comp.
FLASH
(KB)
RAM
(KB)
STM32F301
32 to
64
16
2.0 to
3.6 V
Up
to 2
1
3
1
1
STM32F302
32 to
512
16 to
64
2.0 to
3.6 V
Up
to 2
1
Up to 4
Up
to 2
1
STM32F303
32 to
512
16 to
80
•
2.0 to
3.6 V
Up
to 4
Up
to 3
Up to 7
Up
to 4
Up to 3
STM32F3x4
Digital Power
16 to
64
16
•
2.0 to
3.6 V
2
3
2x Ultra
Fast
1
1
STM32F373
Precision
measurement
64 to
256
32
2.0 to
3.6 V
1
3
2
STM32F3x8
1.8 V +/-8%
64 to
512
16 to
80
1.8 V
+/- 8%
Up
to 4
Up
to 3
Up to 7
Up
to 4
Up to 3
Product line
• DMA
• FSMC
CCMSRAM
•
Power
supply
ADC
12-bit
16-bit
3
•
10ch
A flexible interconnect matrix allows autonomous communication between peripherals and saves CPU resources and power consumption.
STM32 compatibility and scalable portfolio
• Pin compatibility and same API with STM32F0 peripherals
• Interconnect Matrix
12bit
DAC
Advanced
16‑bit PMW
Timer
• RTC down to 0.5 μA (typ.) in VBAT mode
• Routine booster
(CCM)
Op-Amp
(PGA)
• Flexibility to reduce power consumption for applications requiring
ARM® Cortex®-M4 (DSP + FPU) - 72 MHz
4
• Stop mode down to 6.7 μA (typ.)
HighResolution
timer
STM32F3 PRODUCT LINES
Outstanding power efficiency
Mixed-Signals
• Eases platform development strategy from Cortex-M0 (F0 series)
up to Cortex-M4 (F3 series) cores
• Industrial grade
Precise measurement
Digital power
3x 16-bit ADC
High resolution (217ps) and
sigma Delta
complex waveform builder
STM32F303
STM32F302
STM32F373
STM32F301 $0.89
General Purpose
Applications Specific
Note: The same devices are found in the STM32F3x8 line and operate at 1.8 V.
STM32F334
The same system implementation is common
within the STM32F3 series. Migration across
product lines is facilitated as the same
peripheral, IP-set and pinout are shared.
5
STM32F303 BLOCK DIAGRAM
STM32F301/2/3 line
General-purpose MCUs ranging from basic to increased performance
devices
The STM32F301/2/3 mixed-signal MCUs featuring an ARM® Cortex®-M4 core (DSP, FPU) at 72 MHz are tailored to address general-purpose
applications in the continuity of the successful STM32F101/102/103 product lines.
STM32F30X PRODUCT LINES PORTFOLIO
Flash size (bytes)
STM32F303RE
STM32F303VE
STM32F303ZE
STM32F302RE
STM32F302VE
STM32F302ZE
STM32F303RD
STM32F303VD
STM32F303ZD
STM32F302RD
STM32F302VD
STM32F302ZD
STM32F303CC
STM32F303RC
STM32F303VC
STM32F302CC
STM32F302RC
STM32F302VC
STM32F303CB
STM32F303RB
STM32F303VB
STM32F302CB
STM32F302RB
STM32F302VB
512 K
384 K
256 K
6
128 K
64 K
32 K
STM32F303K8
STM32F303C8
STM32F303R8
STM32F302K8
STM32F302C8
STM32F302R8
STM32F301K8
STM32F301C8
STM32F301R8
STM32F303K6
STM32F303C6
STM32F303R6
STM32F302K6
STM32F302C6
STM32F302R6
STM32F301K6
STM32F301C6
STM32F301R6
32 pins
QFN/LQFP
49 pins CSP
48 pins LQFP
64 pins
LQFP
• STM32F301: STM32 Cortex-M4 entry
level. First sub-dollar Cortex-M4 devices
with FPU, the STM32F301 access line has
from 32 to 64 Kbytes of on-chip Flash and
16 Kbytes of SRAM, offering an easy way
to step into Cortex-M4-core-based MCU
development.
• The STM32F302 and STM32F303
MCUs, compatible with, but more
powerful than the STM32F103, operate
between 2.0 and 3.6 V. They integrate
different levels of analog peripherals. The
STM32F303 brings the capability to boost
the execution of critical routines with its
CCM-SRAM.
System
Power supply
1.8 V regulator
POR/PDR/PVD
Xtal oscillators
32 kHz + 4 to 32 MHz
Internal RC oscillators
40 kHz + 8 MHz
PLL
Clock control
RTC/AWU
1x SysTick timer
2x watchdogs
(independent and
window)
51/86/115 I/Os
Cyclic redundancy
check (CRC)
Touch-sensing
controller 24 keys
Control
3x 16-bit (144 MHz)
motor control PWM
Synchronized AC timer
1x 32-bit timers
5x 16-bit timers
0.65 µA
STANDBY
STOP no RTC
STOP with RTC
SLEEP
RUN from Flash
Floating point unit
(FPU)
Nested vector
interrupt
controller (NVIC)
Memory Protection Unit
(MPU)
JTAG/SW debug/ETM
Interconnect matrix
AHB bus matrix
Analog
2x 12-bit DAC with
basic timers
4x 12-bit ADC
40 channels / 5 MSPS
4x Programmable
Gain Amplifiers (PGA)
7x comparators (25 ns)
Temperature sensor
• Up to seven fast and ultra-fast
comparators (down to 25 ns)
• Up to four op amps with
programmable gain (PGA) at 1%
accuracy
• Up to four ultra-fast 12-bit ADCs
with 5 Msps and 21 ns sampling
time (up to 18 Msps in Interleaved
mode)
• Up to three fast 144 MHz motor
control timers (resolution < 7 ns)
• SRAM with Parity bit and
Polynomial CRC for better
reliability
• Fast communication peripherals:
9 Mbits/s USART, 18 Mbits/s SPI,
and 1 MHz I²C
• Full duplex I²S for audio
applications
• 5 volts Tolerant I/Os (FT, Ftf)
7
The high mathematical computation brought by the Cortex-M4 core, combined with its rich and advanced analog peripherals set,
make STM32F30x devices ideal for control loops such as in motor control applications.
CCM-SRAM: THE ROUTINE BOOSTER
100 pins
LQFP/CSP/
BGA Pitch 0.5
144 pins
LQFP
at 1.65 V with LSE clock 32 kHz, RTC on
1.5 µA
Flexible Static Memory
Controller (FSMC)
Connectivity
4x SPI,
(with 2x full duplex I²S)
3x I²C
1x CAN 2.0B
1x USB 2.0 FS
5x USART/UART
LIN, smartcard, IrDA,
modem control
ADVANCED PERIPHERALS
12-channel DMA
Cortex-M4 + FPU
TYPICAL CONSUMPTION VALUES ACROSS STM32F3 POWER MODES
VBAT
72 MHz
ARM® Cortex®-M4
CPU
Up to 512-Kbyte Flash
memory
Up to 64-Kbyte SRAM
Up to 16-Kbyte
CCM-SRAM
64 bytes backup register
at 2 V
6.3 µA
RAM retention
at 2 V, oscillator off, VDDA monitoring
6.7 µA
780 µA
RAM retention
at 2 V, oscillator off, VDDA monitoring
with HSI clock at 8 MHz, PLL off
358 µA/MHz
at fCPU=72 MHz, peripherals off
Code
Data
90 DMIPS
CCM-SRAM
0 Wait state
Critical routines
+43%
performance
Flash
Critical routines
63 DMIPS
Data SRAM
0 Wait state
The routine booster (CCM-SRAM) accelerates
the execution of critical routines. It consists
of an SRAM plugged on both instruction and
data buses where code is executed without
any wait state, thus providing 43% more
performance compared to Flash execution.
This ‘static cache’ offers 90 DMIPS or
245 CoreMark (equivalent to devices with
CPU frequency > 100 MHz).
STM32F334 BLOCK DIAGRAM
Digital power line
The STM32F334 boosts digital power conversion
The STM32F334 product line specifically addresses digital power conversion applications, such as D-SMPS, lighting, welding, inverters for
solar systems and wireless chargers, thanks to its agile high-resolution timer (HRTIM) providing 217 ps resolution on all operating modes with
embedded powerful waveform generator and event handler. A complete ecosystem has been designed to ease digital power conversion based
on STM32F334 devices.
STM32F334 PORTFOLIO
Flash size (bytes)
64 K
STM32F334K8
STM32F334C8
STM32F334R8
32 K
STM32F334K6
STM32F334C6
STM32F334R6
16 K
STM32F334K4
STM32F334C4
32 pins
LQFP
48 pins
LQFP
64 pins
LQFP
Pin count
Developing with the STM32F334 lets you manage complex PWM waveforms and handle numerous external events thanks to:
8
High-resolution timer with waveform builder and event handler (HRTIM)
• 217 ps high resolution (4.6 GHz equivalent) guaranteed on all channels vs voltage,
temperature or manufacturing deviations
• High resolution on all channels and any timing
• 10-channel timer made of 6 timings units that can be cross-coupled or work
independently
• Advanced PWM waveform generation with minimized software
• Smart functions, such as a hardware burst mode controller
• One DMA channel per timer
• One parameter modification can change multiple events (timer chaining)
• Complex event management
• 10 external events inputs and 5 fault inputs
• Numerous interconnects
High-speed ADCs for precise and accurate control
• 12-bit SAR – 5 Msps, single-ended and differential inputs
• Sampling time down to 21 ns
A High-Resolution timer cookbook
(AN4539), a dedicated Discovery
kit (32F3348DISCOVERY) plus and
several dedicated D-SMPS evaluation
board (ex: STEVAL-ISA147V2) help
accelerate application development.
System
Power supply
1.8 V regulator
POR/PDR/PVD
Xtal oscillators
32 kHz + 4 to 32 MHz
Internal RC oscillators
40 kHz + 8 MHz
PLL
Clock control
RTC/AWU
1x SysTick timer
2x watchdogs
(independent and
window)
25/37/51 I/Os
Cyclic redundancy
check (CRC)
Touch-sensing
controller 18 keys
Control
1x 16-bit (144 MHz)
motor control PWM
Synchronized AC timer
1x 32-bit timers
4x 16-bit timers
10 ch. HRTIM (217 ps)
64-Kbyte Flash memory
Up to 12-Kbyte SRAM
20 bytes backup data
4-Kbyte CCM-SRAM
APPLICATION TARGET
STM32F334 devices greatly simplify
digital control of complex powersupply topologies used in :
• Data servers
72 MHz
ARM® Cortex®-M4
CPU
Floating Point Unit
(FPU)
Nested Vector
Interrupt
Controller (NVIC)
Memory Protection Unit
(MPU)
JTAG/SW debug/ETM
Interconnect matrix
AHB bus matrix
7-channel DMA
• Telecom infrastructure
Connectivity
1x SPI
1x I²C
1x CAN 2.0B
2x USART + 1 UART
LIN, smartcard, IrDA,
modem control
IR transmitter
• Wireless charging points
• Lighting
• Welding
• Industrial power supplies
• Digital Switch Mode Power Supply
(D-SMPS)
Analog
3x 12-bit DAC with
basic timers
2x 12-bit ADC
21 channels / 5 MSPS
3x Comparators (25 ns)
1x Programmable
Gain Amplifiers (PGA)
Temperature sensor
9
COMPLEX WAVEFORM BUILDING AND MULTI-EVENT HANDLING (FROM HRTIM) - EXAMPLE
Timer B counter
From HRTIM
Timer A counter
Window
External Event 1
External Event 2
• Multiple triggers for PWM
Built-in analog peripherals for signal conditioning and protection
• Ultra-fast comparators (25 ns)
• 12-bit digital-to-analog converter (DAC)
TA1 PWM output
Timings
defined in Set on TimerA roll-over
mutliple Reset on TimerA Compare 1
Set on TimerB Compare 1
timers
Set on TimerB Compare 4
Reset on External Event 2 after delay
Toggle on External Event 1 rising edge
during Timer B-defined window
Auto-delayed mode
External event windowing
High precision line
Low voltage line
True 16-bit sigma delta ADC integration
The STM32F3x8 low voltage 1.8 V line
The ARM® Cortex®-M4 based STM32F373 product line integrates 16-bit sigma-delta ADCs, making the devices a perfect fit for all kinds of
sensor applications requiring high-precision measurements together with more demanding signal processing.
The STM32F3x8 line operates at 1.8 V ± 8%. It is well suited for use in portable consumer applications such as smartphones, accessories and
media devices. Designers can take advantage of the same features as the STM32F3 series with no compromise or degradation in processing
performance when operating at a lower voltage. The combination of 1.8 V digital supply voltage and an independent analog domain is an
advantage in heterogeneous system architectures, leading to simplified system design and connected cost savings. The STM32F3x8 devices are
ideal low-voltage companion microcontrollers, allowing to maintain a wide analog dynamic range.
STM32F373 PORTFOLIO
APPLICATION TARGET
Flash size (bytes)
256 K
STM32F373CC
STM32F373RC
STM32F373VC
128 K
STM32F373CB
STM32F373RB
STM32F373VB
64 K
STM32F373C8
STM32F373R8
STM32F373V8
48 pins
LQFP
64 pins
LQFP
100 pins
LQFP/BGA
• Portable medical equipment
STM32F3X8 PORTFOLIO
• Entry-level consumer audio
Flash size (bytes)
equipment
• Sensor hub for biometric sensors
• Portable fitness
• Gaming
• Metering equipment
Pin count
256 K
64 K
STM32F373 BLOCK DIAGRAM
10
System
Power supply
1.8 V regulator
POR/PDR/PVD
Xtal oscillators
32 kHz + 4 to 32 MHz
Internal RC oscillators
40 kHz + 8 MHz
PLL
Clock control
RTC/AWU
SysTick timer
2x watchdogs
(independent and
window)
36/52/84 I/Os
Cyclic redundancy
check (CRC)
Touch-sensing
controller 24 keys
Control
2x 32-bit timers
12x 16-bit timers
ADVANCED PERIPHERALS
72 MHz
ARM® Cortex®-M4
CPU
Floating Point Unit
(FPU)
Nested Vector
Interrupt
Controller (NVIC)
Memory Protection Unit
(MPU)
JTAG/SW debug/ETM
Interconnect matrix
AHB bus matrix
12-channel DMA
Up to 256-Kbyte
Flash memory
Up to 32-Kbyte SRAM
Each STM32F373 device is equipped with
three 16-bit sigma-delta ADCs with the
following characteristics:
128 bytes backup data
• 16-bit output signed code
• 7 gain levels: ½, 1, 2 , 4 , 8, 16, and 32
Connectivity
3x SPI, 3x half duplex I²S
2x I²C
1x CAN 2.0B
1x USB 2.0 FS
CEC
3x USART
LIN, smartcard, IrDA,
modem control
Analog
3x 12-bit DAC with
basic timers
1x 12-bit ADC
16 channels / 1 MSPS
2x comparators
3x 16-bit ADC ∑∆
w/programmable gain
Temperature sensor
• Differential or single ended mode:
Up to 11 differential input pairs or
21 single-ended combinations over
three ΣΔ ADCs
• Free input configuration as single ended
or differential
• Up to 50 Ksps in Fast mode on one
channel (per ΣΔ ADC)
• Independent power supply and VREF
• Offset error < 1 LSB after calibration
• 3 different low power modes:
• Slow: 600 µA (max.), Standby: 200 µA,
Power down: 10 µA (max.)
• 5 volts Tolerant I/Os (FT, Ftf)
STM32F398VE
512 K
STM32F378CC
STM32F378RC
STM32F378VC
STM32F358CC
STM32F358RC
STM32F358VC
STM32F328C8
STM32F318K8
32 pins
QFN
STM32F318C8
Pin count
49 pins CSP
48 pins LQFP
100 pins
LQFP/CSP/BGA
64 pins
LQFP/CSP
VOLTAGE RANGE (CORE, I/OS AND VDDA)
4.00
3.60
•
3.60
DAC
Op. amp
3.00
Comp.
12-bit ADC*
2.40
2.00
1.95
1.8
1.65
1.65
VDD
Core
0.00
Core & I/O digital
* Except STM32F378
VddA Analog
11
Simple interface with a 1.8 V application
processor, ensuring maximum resolution
(3.6 V) on ADC, DAC and op amp thanks to
dual-voltage domains on the STM32F3.
STM32 NUCLEO EXPANSION BOARDS
STM32F3 Ecosystem
• The expansion boards let you
Hardware tools
add specialized functions (sense,
connectivity…) with companion chips
through Arduino™ or Morpho connectors.
• The portability of associated software
components enables you to target several
STM32 MCUs.
www.st.com/x-nucleo
Various types of development boards let you get started with STM32F3 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 STM32F3 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.
Software development tools offer
STM32 Nucleo
Discovery kit
Evaluation board
ST suggests a 3-step approach for standard development in C: configuration and generation, compile and debug, and then monitoring.
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
12
Flexible prototyping
www.st.com/stm32nucleo
Key feature prototyping
www.st.com/stm32f3-discovery
Full feature evaluation
www.st.com/stm32evaltools
Partner IDEs
STMStudio
STM32
Cube
13
STM32 NUCLEO
Assistance Conseil
Systèmes
• Open platform with a single STM32 MCU and integrated debugger/programmer.
• At least one board per main series.
• Different types of connectors for unlimited expansion possibilities.
• Support for multiple IDEs and mbed online tools.
Configure and
generate code
• $10.32 recommended resale price.
www.st.com/stm32nucleo
Monitor
ACHIEVING SIL2/3 WITH STM32F3
USB power supply
Quickly achieve IEC 61508 Safety Integrity Level (SIL) certification with
STM32F3 Functional Safety Package developed in partnership with Yogitech:
Integrated ST-LINK/V2-1
mass storage device flash programming
• STM32F3 Safety Manual: a user guide including detailed list of safety
SIL2/SIL3
SIL
Ready
requirements and examples
• fRSTL_stm32f3 library: a set of ready to use, verified and application independent Software
Test Libraries
Visit www.yogitech.com
Push buttons, color LEDs
ST morpho connectors
direct access to all MCU I/Os
Development
+
Development
+
STM32 F3
www.st.com/stm32safety
ArduinoTM connectors
One STM32 MCU flavor
Nucleo-64
Compile and debug
Nucleo-32
+
• Safety manuals
• Safety features
• Product portfolio
ST Quality foundations
Recommendations for choosing embedded software
STM32 MOTOR CONTROL ECOSYSTEM
ST’s STM32 MCU family offers the
performance of the industry-standard
Cortex®-M core with the service of vector
control or field-oriented control (FOC)
algorithms, widely used in high-performance
motor drives.
The STM32 PMSM FOC software
development kit (STSW-STM32100) is
part of ST’s motor control ecosystem
which offers a wide range of hardware and
software solutions for various motor control
applications including toys, home appliances,
and factory automation.
The STM32 PMSM FOC SDK lets users
evaluate STM32 performance and develop
a complete application for single or multiple
3-phase permanent-magnet motor drive
systems (sensored or sensorless). This SDK
includes:
• Permanent-magnet synchronous motor
(PMSM) FOC firmware library
• ST MC Workbench (graphical user
14
interface to set the MC library parameters)
The ST MC Workbench is PC software
which reduces design effort and time when
configuring the STM32 PMSM FOC firmware
library. Using its GUI, the user generates
all the parameter header files needed to
configure the library according to application
needs and can in real-time monitor and
change certain variables of the algorithm.
Key features
The STM32 PMSM FOC SDK offers the
following features (among others):
• Sensorless motor control algorithm for
STM32F3 and STM32F4 microcontrollers
(ST patent pending) based on the High
Frequency Injection (HFI) method. The
HFI algorithm allows precise rotor angle
detection in field-oriented control (FOC). It
enables very low or zero speed operation
for compressor applications (refrigerators
and air conditioners) with reliable and
efficient motor start-up, and for washing
machines where it increases the efficiency
of each washing cycle (low speed, full
torque)
• “Maximum torque per ampere” (MTPA)
control that optimizes the motor torque for
each load and increases efficiency
• “Feed-forward” control that improves
current control at high speeds
• “Start on the fly” provides smooth drive
insertion for applications where the rotor
is already rotating (e.g. outdoor fans in air
conditioners and smoke extractors)
And new additional features for easy motor
“PLUG and SPIN” operation:
• “Motor Profiler” for automatic detection of
motor parameters. Electrical (Rs, Ls, and
Ke) and mechanical (J and F) parameters
are detected by the ST MC Workbench
letting the user quickly set up and run the
motor in only a few tens of seconds.
• “One-touch tuning” using only a single
parameter (part of the software algorithm
used to control the motor) the user is able
to control the motor speed.
With these new features, the user is able to
plug, spin and control the motor in only a few
seconds without any additional equipment
nor advanced motor control skills.
A wide range of hardware boards, from
standalone control boards and power boards
up to a complete motor control kit, are
available to evaluate ST’s solutions for motor
control applications.
The P-NUCLEO-IHM001 Nucleo pack
is a $35 motor control kit designed
to help engineers and hobbyists
experiment with motor control in
a very short time. It contains an
STM32F3 Nucleo board preloaded
with 6-step and FOC algorithms, a
motor-driver expansion board based
on the STSPIN L6230 motor-driver
IC, and a 3-phase low voltage
brushless motor using 6-step or
FOC algorithms preloaded on the
microcontroller.
Plug and Spin your Motor in less than 1
minute !
• Automatic detection of key parameters
• Zero equipment required
• Spin motor within < 1min.
Rs
Ls
Ke
• Single parameter to tune the speed
controller
• Wide speed range
• Adapting to various load/inertia
When choosing between a strategy for code optimization or portability, here are some recommendations:
• Standard Peripheral Library offers a good tradeoff for users willing to remain within the STM32 F0 series in the future, with a portability level
ensured among all STM32 F3 MCUs
• STM32CubeF3 embedded software is the correct choice for users who may want to easily port their application to another STM32 MCUs. In
addition, this option also benefits from the full features of the STM32CubeMX tool on the PC, enabling access to code generation based on
the user configuration and STM32CubeF3 embedded software
STM32Java
STM32
Cube
STM32Cube
and Std Libraries
www.st.com/stm32cube
CMSIS and
Mbed SDK
mbed.org
Virtual machines
and models
www.st.com/stm32-java
Average optimization
STM32 portability
Low optimization
ARM portability
Low optimization
large portability
Focus on model development with MATLAB/Simulink
MATLAB and Simulink users can also benefit from the STM32 F3 series with their favorite environment.
A simple 3-step approach is possible using MATLAB and Simulink:
1. Create an algorithm model and simulate it on the host.
2. Generate Processor-in-the-Loop (PIL) code and verify it. This step uses MATLAB/Simulink to generate code optimized for the Cortex®-M4
devices using the DSP instruction set.
3. And finally, let everything run on the STM32F3 MCU using the peripheral blockset provided by ST, enabling the use of real STM32F3
peripherals such as the ADC, DAC, Timers, etc.
(More at www.st.com/stm32matlab )
Model development helps reduce development time and specification errors usually found with other methods.
15
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.
All ST MCUs are now in your hand with ST MCU Finder, the free mobile app available on Google Play and App Store.
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
STM32F3 shortcuts
www.st.com/stm32f3
www.st.com/stm32evaltools
www.st.com/stm32discovery
www.st.com/stm32nucleo
MCU selection
Communities and social media
www.st.com/stm32embeddedsoftware
www.st.com/stm32cube
mbed.org
www.st.com/stm32matlab
www.st.com/stmcufinder
www.st.com/stmstudio
www.yogitech.com
www.st.com/x-nucleo
www.st.com/stm32safety
© STMicroelectronics - November 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: BRSTM32F3M1115
For more information on ST products and solutions, visit www.st.com
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