Presentation Title – Arial, 36pt · Main osc. input 1-24 MHz RTC with 32 kHz osc. 7 ch DMA ADC...
Transcript of Presentation Title – Arial, 36pt · Main osc. input 1-24 MHz RTC with 32 kHz osc. 7 ch DMA ADC...
Семейство STM32 Роман ПОПОВ
Wake-up 2
A World in Mutation 3
Million of years 100’s of years 10’s of years Few years …
ST MCUs portfolio new families development focus
4
Features
2 K
16 K
256K
1 M
8-bit Core
• STM8S Mainstream
• STM8AF and STM8AL Automotive
• STM8L Ultra-low-power
32-bit Core • STM32 F7 - Cortex M7
• STM32 F4 - Cortex-M4
• STM32 F3 - Cortex-M4
• STM32 F2 - Cortex-M3
• STM32 F1 - Cortex-M3
• STM32 F0 - Cortex-M0
• STM32 L0 - Cortex-M0+
• STM32 L1 - Cortex-M3
• STM32 L4 - Cortex-M4
Flash (bytes)
2 M
4K
8K
32 K
48 K
64 K
96 K
128 K
384K
512K
768K
NEW EXPANDING
5
398 CoreMark
120 MHz
150 DMIPS
608 CoreMark
180 MHz
225 DMIPS
High-performance 1 000 CoreMark
200 MHz
428 DMIPS
9 product series / 32 product lines
STM32 portfolio in details
4 Great investment
Mainstream 106 CoreMark
48 MHz
38 DMIPS
177 CoreMark
72 MHz
61 DMIPS
245 CoreMark*
72 MHz
90 DMIPS (*) from CCM-SRAM
Cortex-M0
Cortex-M0+ Cortex-M3 Cortex-M4 Cortex-M7
Ultra-low-power 75 CoreMark
32 MHz
26 DMIPS
93 CoreMark
32 MHz
33 DMIPS
273 CoreMark
80 MHz
100 DMIPS
6 Cortex-M cores comparison Cortex-M0 Cortex-M3 Cortex-M4
Architecture Version V6M v7M v7ME
Instruction set architecture Thumb, Thumb-2
System Instructions
Thumb + Thumb-2 Thumb + Thumb-2,
DSP, SIMD, FP
DMIPS/MHz 0.9 1.25 1.25
Bus interfaces 1 3 3
Integrated NVIC Yes Yes Yes
Number interrupts 1-32 + NMI 1-240 + NMI 1-240 + NMI
Interrupt priorities 4 8-256 8-256
Breakpoints, Watchpoints 4/2/0, 2/1/0 8/4/0, 2/1/0 8/4/0, 2/1/0
Memory Protection Unit (MPU) No Yes (Option) Yes (Option)
Integrated trace option (ETM) No Yes (Option) Yes (Option)
Fault Robust Interface No Yes (Option) No
Single Cycle Multiply Yes (Option) Yes Yes
Hardware Divide No Yes Yes
WIC Support Yes Yes Yes
Bit banding support No Yes Yes
Single cycle DSP/SIMD No No Yes
Floating point hardware No No Yes
Bus protocol AHB Lite AHB Lite, APB AHB Lite, APB
CMSIS Support Yes Yes Yes
STM32L family
1 STM32 portfolio of >700p/n
8 product series / 31 product lines More than 30 product lines
398 CoreMark
120 MHz
150 DMIPS
Ultra-low-power
Mainstream
Cortex-M0
Cortex-M0+ Cortex-M3 Cortex-M4 Cortex-M7
106 CoreMark
48 MHz
38 DMIPS
245 CoreMark*
72 MHz
90 DMIPS (*) from CCM-SRAM
177 CoreMark
72 MHz
61 DMIPS
608 CoreMark
180 MHz
225 DMIPS
High-performance 1 082 CoreMark
216 MHz
462 DMIPS
75 CoreMark
32 MHz
26 DMIPS
93 CoreMark
32 MHz
33 DMIPS
273 CoreMark
80 MHz
100 DMIPS
2016
192K
Low Power MCU portfolio Memory size
(Bytes)
4K
16K
64K
Dmips/MHz
(FMAX CPU)
26
(32 MHz)
4.8
(16 MHz)
2
128K
32K
256K
STM8L
8-bit
20
- to
80p
ins
STM32L1
CortexTM-M3
48-
to 1
44
pin
s
33.6
(32 MHz)
512K
20-
to 1
00
pin
s
STM32L0
CortexTM-M0+
New
STM32L4
CortexTM-M4
48-
to 1
44
pin
s
1024K
100
(80 MHz)
STM32L0 Ultra-Low-power Series From 8KB up to 192kB of Flash
ARM CortexTM-M0+ Based
Key NEWS
Complete STM32L0 series • From 14pins 8kB flash to 100pins 192kB flash
• Full family announcement week 7/16
)
)
13
Main features of STM32L0x Series 14
• STM32® ultra-low-power DNA is now built with ARM Cortex-M0+
Ultra-low-power ADC
12/16-bit resolution
Down to 1.65V
• Ultra-low-power time counter
with 16-bit low-power timer
USB 2.0 FS Certified
Crystal-less / BCD1
• Full Flash Protection
• Sector Flash Protection
• Hardware encryption - AES
• True RNG2
• Unique ID (96-bit)
• Class B
• Built-in ECC DNA
+
• 1.71V to 3.6V 32MHz operation
• 139µA/MHz (Run 32MHz)
• 87µA/MHz (Run Optimized)
• 400nA Stop mode + Full Ram
• 3.5 µs wakeup to Run
• -40°C to +125°C range
1. Battery Charger Detection
2. True Random Number Generator
• Ultra-low-power UART
Up to 9600b in stop mode
• I2C running in STOP
Wake-up on address match
RTC: +400 nA
RTC: +400 nA
LTC: +40 nA
Neo 256K – Low Power consumption values STM32L05x - power consumption
From 25°C to 125°C (typical) 15
Wakeup time:
• Stop to Run from Flash: 5µs
• Stop to Run from Ram: 3.5µs
• Standby to Run: 50µs
Typ. current
139µA/MHz1
Dhrystone (32MHz)
87µA/MHz
While{1} (4MHz)
2804 nA 4152 nA
22 µA Flash
8.5 µA RAM
166 µA/MHz1
4.7 µA
39 µA
38 µA
20 µA
102 μA
2.94 µA
Dynamic Run
From Flash
Low-Power Run
@ 32kHz
Low-Power Sleep
@ 32kHz
Stop
(Full RAM)
Standby
(+20 bytes curent)
1. Dhrystone power consumption value executed from Flash (Prefetch off) with VDD=3.3V
2. STOP mode consumption with Full Ram data retention (RTC value given with LSE low-drive using 32,768kHz crystal)
3. LTC: Low-power Time Counter @ 100Hz with external oscillator (LSE)
4. STANDBY mode consumption with 20Byte of backup register and Power supply monitoring
105°C
25°C
31 µA
15 µA
125°C
6.3 µA
4.052 μA
9404 nA
c
Neo 256K – Low Power consumption values 16
• Max. current value at lowest power mode vs. temperature capability
Leader at high temperature
Note: Value based on competition datasheet, looking at lowest power mode with full RAM retention at VDD 3.0V.
All datasheet give same value for -40°C/+25°C temperature range.
• STM32L0 platform
offers the lowest
power consumption
for the highest
temperature range.
• This capability to
control leakage
current makes
STM32L0 the
premium choice for
industrial application,
IDD (µA)
Ambient
Up to +125°C
STM32 L0x – Product lines 17
STM32L0x3 – USB & LCD line – 32-K to 192-Kbyte Flash
Up to
192-KB
Flash1
Up to
20-KB
SRAM
Up to
6-KB
EEPROM
Main osc.
input
1-24 MHz
RTC with
32 kHz
osc.
7 ch
DMA
ADC
12-bit
1Msps
16-ch
DAC
Up to
2x 12-bit
USB2.0
Crystal
Less,
LPM, BCD
Touch
Sense
True
RNG
LCD
8x48
4x52
Common features
CortexTM-M0+ 32 MHz speed
with MPU and MUL
AES 128-bit
Firewall protection2
(Flash and RAM)
Built-in 16 MHz, 4,2MHz and 38
kHz RC oscillators
Multiple USART, SPI, I2C
Low-power UART
Multiple 16-bit timers
Low-power 16-bit timer
2x watchdogs
Reset circuitry POR/PDR
Brown Out Reset
Program Voltage Detector
2x comparators
Dynamic Voltage Scaling
STM32L0x1 – Access line - 16-K to 192-Kbyte Flash
Up to
192-KB
Flash1
Up to
20-KB
SRAM
Up to
6-KB
EEPROM
Main osc.
input
1-24 MHz
RTC with
32 kHz
osc.
4 ch
DMA
12-bit
ADC
1Msps
16-ch
STM32L0x2 – USB line - 32 to 192-Kbyte Flash
Up to
192-KB
Flash1
Up to
20-KB
SRAM
Up to
6-KB
EEPROM
Main osc.
input
1-24 MHz
RTC with
32 kHz
osc.
7 ch
DMA
12-bit
ADC
1Msps
16-ch
2xDAC
12-bit
USB2.0
Crystal
Less,
LPM, BCD
Touch
Sense
True
RNG
1. Dual bank flash with Rww feature from Flash to EEPROM (on part number STM32L07x/08x))
2. Only on STM32L0x2 and L0x3 line
More than just ultra-low-power 18
• Clock Security System (CSS) Automatic clock switch to internal RC
Real Time Clock
CSS
AHB Bus
MCO
CSS
MSI RC
37kHz to 4,2MHz
HSE Osc
1MHz to 48MHz
HSI RC
1MHz to 16MHz
LSE Osc
32,728Hz
LSI RC
37kHz
Design robustness is our concern
Clock Security System will ensure a very
fast switch (couple of clock pulse) between
external oscillator and internal one in case
of malfunction detection.
This unique feature will allow your
application working were other MCUs will let
you down.
4
8
12
16
24
32
1.65 1.8 2.2 2.4 2.7 3.6
STM32L0
Competitor E
Competitor R
Competitor T
• A wide range operation
Low voltage and High speed platform Why to comprise CPU speed vs. power supply ?
(V)
(MHz)
+ • Ultra-low-power consumption
• Low-power Pulse counter (available in stop mode) • Independent 16-bit timer, available also in Stop mode
• Pulse counter with no clock running
• Or clocked by LSE, LSI, HSI, APB.
• It is able to wakeup the system from Stop mode.
• Programmable digital glitch filter
• Encoder mode
A unique feature combination 19
• Low-power timer (down to stop mode) • USB 2.0 FS
• Battery Charging Detection (BCD)
• Standard Downstream Port (SDP)
• Charging Downstream Port (CDP)
• Dedicated Charging Port (DCP)
• Link Power Management (LPM)
• Crystal-less solution
(built-in 48MHz RC)
Low-power Sensor Scan Reduce BOM cost by removing the crystal
STM32L0x – Technical features (1/3)
Analog peripheral set 20
• Why is STM32L0 SMARTER ? • ADC: The lowest current consuming in the Industry – down to 1.65V
• 48 µA only at 100Ksps with 12-bit resolution (max speed: 1.14Msps - 200 µA)
• 16-bit resolution capable thanks to built-in hardware oversampling feature
• DMA capability
• DAC:
• 12-bit DAC with output buffer
• External triggers and input reference voltage capable
• DMA capability (with underrun interrupt)
• Comparator
• 2x built-in comparator ext./int. ref. voltage capable
• Stop mode wake up capable
• Window comparator mode capable
• For which application ?
Gas/Water meter Blood pressure Door lock
STM32L0x – Technical features (2/3)
Communication peripheral set 21
• Why is STM32L0 SMARTER ? • USB 2.0 FS Crystal-less: with Integrated 48 MHz oscillator
• BCD (Battery Charging Detection) with 1.5A max and LPM (Link Power Management) capable
• USB device library and USB VIP/PID sublicensing service for free
• I2C: Independent clock domain + wakeup from stop
• Multi-master or Slave modes capable (7 and 10-bit addressing)
• Support Fast mode + (up 1 Mbits/s) and SMBus/PMBus
• USART: Independent clock domain + wakeup from stop
• Support ISO7816, IrDA SIR ENDEC, LIN Master/slave and auto baud rate feature
• Low-power UART: com. available in stop mode
• Snooze wakeup mode capable
• SPI: Full duplex, half duplex up to 16 Mbits/s
• Support basic SD Card/MMC modes
• Built-in I2S with audio sampling freq. from 8 kHz to 192 kHz.
• For which application ?
+
IoT/USB connected object
Mouse/keyboard
STM32L0x – Technical features (3/3)
Other peripheral set 22
• Why is STM32L0 SMARTER ? • Timers:
• Up to 8 timers with 5x 16-bit
• Low-power 16-bit asynchronous timer available in stop mode
• 16bit up counter, 16-bit compare register, software or hardware trigger
• Output: pulse, PWM
• Encoder mode, and programmable glitch filter
• Pulse counter mode
• System safety and security
• Independent Watchdog (clocked from internal 37kHz osc.) and Window watchdog
• CSS (Clock Security System)
• Dynamic switch to MSI(Multi Speed Internal clock) in case of HSE clock failure
• Wakeup event or interrupt generated in case of LSE(Low Speed External clock) clock failure
• Built-in HW encryption with AES 128-bit (AES 256-bit available with free crypto lib)
• CRC and Unique ID (96-bit)
• JTAG fuse option and Readout code sector protection
• Error Correction Code (ECC) available for both Flash and EEPROM
• For which application ?
Industrial sensors Wireless solution
< 1GHz or 2.4GHz
Display card
STM32L0x – Ecosystem 23
Evaluation Discovery Nucleo Q1’15 Available Available
• Evaluate, Discover and Play
• STM32CubeMX Software: Optimize your design layout, configure MCU
usage and estimate power consumption
• STM32CubeL0: Embedded Software,
from Hardware Abstraction Layer (HAL)
easing migration from any STM32 and
middleware offer like FreeRTOS and USB
library
• STM32L0 Snippets: 70+ free highly
optimized C code examples. Reach lowest
consumption, best performance and a
minimum of memory footprint. CMSIS-
compliant direct register access reduces
code overhead to a minimum.
• Software offer
GCC
based
toolchains
• Feel free to choose your IDE
Free Keil IDE for STM32 Cortex M0/M0+ (no flash size limitation)
STM32L4 Ultra-Low-power Series From 128KB up to 1MB of Flash
ARM CortexTM-M4 Based
STM32L4 key NEWS
Smaller derivate of STM32L4 series • Down to 32pins and 128kB flash low price
• Sampling to alpha CTM’s, MP in April
• Announcement week 8’16
)
25
Ultra-Low-Power and Flexibility 26
STM32L4 is based on a new platform optimized to reduce power
consumption and increase flexibility
Down to 30 nA for I/O wake-up
with additional Shutdown mode
RTC available for all power modes
(from Active down to VBAT)
Down to 360 nA keeping
32 Kbytes of SRAM active
in Standby mode
Wake up MCU with any peripheral
(Communication I/Fs, analog circuits,
timers …)
External level shifter no longer needed
Separate VDD supplies (down to 1.08 V)
I/O level kept in low power modes
Optimization of system consumption
USB capable with 32 kHz crystal
oscillator
(Dedicated crystal oscillator is no
longer needed for USB function)
4 nA VBAT mode with charging
capability
Automatic switch to maintain power
for RTC and backup registers
Internal oscillator from 100 kHz to 48 MHz
(+/-0.25% int. clock accuracy over
voltage/temperature with LSE)
FlexPowerControl
1
STM32L4
27
Tamper: 3 I/Os, RTC
Wake-up sources: reset pin, 5 I/Os
Wake-up sources: + RTC, BOR, IWDG
Wake-up sources: + all I/Os, PVD, LCD,
COMPs, I²C, LPUART, LPTIM
Wake-up sources: any interrupt or event
Ultra-low-power modes
Best power consumption numbers with full flexibility
RUN at 80 MHz 112 µA / MHz
STOP 2 (full retention) 1.1 µA / 1.4 µA*
SLEEP 35 µA / MHz
STANDBY 130 nA / 430 nA*
RUN at 24 MHz 100 µA / MHz
VBAT 4 nA / 300 nA*
SHUTDOWN 30 nA / 330 nA*
STANDBY + 32 KB RAM 360 nA / 660 nA*
250 µs
14 µs
14 µs
5 µs
6 cycles
Wake-up
time
Note : * without RTC / with RTC
STOP 1 (full retention) 7.3 µA / 7.6 µA* 4 µs Wake-up sources: + all I²C, UART
1
STOP 2 (full retention) 1.1 µA / 1.4 µA*
SLEEP 35 µA / MHz
RUN at 24 MHz 100 µA / MHz
STOP 1 (full retention) 7.3 µA / 7.6 µA*
Merging 2 Market Mega trends 28
+ Performance Low Power
=
Providing more performance
• Up to 80 MHz/ 100 DMIPS with
ART Accelerator™
• Up to 273 CoreMark Result
• ARM Cortex-M4 with DSP
instructions and floating-point unit
(FPU)
• Optimized DMA (14 channels)
• SPI up to 40 Mbit/s,
USART 10 Mbit/s
Execution performance
from Flash
29
CoreMark score
CPU frequency
273
80 MHz
Linear performance
thanks to ST
ART AcceleratorTM
Do not compromise on performance with STM32L4
Competitors: impact
of wait states
Efficient run and fast wake-up 30
Ready for Launch Control ? From 0 to 48 MHz in less than 5 µs
Run
48 MHz
STOP
mode
Run
80 MHz
< 5 µs!
• Thanks to our internal
oscillator (MSI) used at
start-up (programmable
from 100 kHz to 48 MHz)
• PLL wake-up time
< 15 µs
(needed to reach fMAX)
Smart peripherals
Δ Metering 31
Electricity/Gas
/Water
Smart Meter
STM32L4
FSMC External memory interface
for static memories supporting SRAM,
PSRAM, NOR and NAND
88×40 or 4×44
with step-up converter
SPI / UART/ SDIO for Wireless 3x SPIs (4x SPIs with the Quad SPI)
6x USARTs (ISO 7816, LIN, IrDA, modem)
1 x SDIO
Anti Tamper pin 3 x tamper pins
for battery domain
I/Os Up to 114 fast I/Os for buttons & relays
TNRG & AES for Security 128-/256-bit AES
key encryption hardware
accelerator
VBAT with RTC for battery backup 240 nA in VBAT mode
for RTC and
32x 32-bit backup registers
Digital Filter for Sigma
Delta Modulators 8 x parallel inputs
with up to 24-bit data
output resolution
LCD Display
Smart peripherals
Fitness tracker - Wristband 32
FSMC
Parallel interface to TFT
SPI
Up to 40 MHz speed
SPI / UART 3x SPIs (4x SPIs with the
Quad SPI)
6x USARTs (ISO 7816, LIN,
IrDA, modem)
I²C
3x I²C FM+(1 Mbit/s),
SMBus/PMBus
Sensors
USB USB OTG 2.0
full-speed,
LPM and BCD
Batch Acquisition Mode (BAM)
SWP Single wire protocol
master interface (SWPMI)
STM32L4
SAI 2x serial audio interfaces
Digital Filter for Sigma
Delta Modulators with PDM (Pulse Density Modulation)
microphone input support
TFT Display
OPAMP 2x op amp with
built-in PGA
DAC
2x 12-bit DAC,
low-power sample and hold
ADC 3× 12-bit ADC 5 MSPS,
up to 16-bit with hardware
oversampling, 200 μA/MSPS
Smart Peripherals
Industrial Sensors 33
STM32L4
FSMC External memory interface
for static memories supporting
SRAM, PSRAM, NOR and NAND
High temperature from -40°C
up to 125°C
8×40 or
4×44
with step-up converter
SPI / UART 3x SPIs (4x SPIs with the
Quad SPI)
6x USARTs (ISO 7816, LIN,
IrDA, modem)
I/Os Up to 114 GPIOs
CAN Bus
(2.0B Active)
Motor Control : 2x 16-bit advanced
motor-control timers
3x 12-bit ADCs: 5 MSPS,
with up to 16-bit with hardware oversampling,
200 μA/MSPS
I²C 3x I²C FM+(1 Mbit/s), SMBus/PMBus
TNRG & AES for Security 128/256-bit AES
key encryption hardware accelarator
LCD Display
Digital Smart Peripherals
• Peripherals running in Stop mode
• Low-power UART can wake up the system if a programmed byte or start bit is
detected (with no loss of the first bit)
• I²C can wake up system when address is detected
• Low-power timer can count time or events or generate signals
• Quad SPI for data and execution in place
• Digital Filter for Sigma Delta Modulator
• For connection to external sigma delta modulator (e.g.: STPMS2)
• Up to 4 filters, 8 multiplexed channels
• Also supports digital microphone MEMs (PDM to PCM conversion and filtering
performed by HW)
• Peripheral clock independent from main system clock
• Single Wire Protocol interface for smartcards
34
Analog Smart Peripherals
• 3 x 12/16-bit ADCs (up to 5 Msps)
• Down to 20 µA (10 Ksps) with adaptive power consumption
• HW oversampling
• Single and differential inputs
• 2x Op amps with built-in PGA
• 2 x 12-bit DACs (1 Msps)
• Low-power Sample and Hold modes available in Stop mode
• 2x Comparators
• Low-power modes, works in Stop mode
• Internal voltage reference
• Programmable 2.048 or 2.5 V
• Can be used for external components
35
18 STM32L4 series
4 Great investment
STM32L4 portfolio 37
5 1 M
512 K
256 K
LQFP64
(10x10x1.4 mm)
WLCSP72
(4.4x3.8x0.585 mm)
LQFP100
(14x14x1.4 mm)
UFBGA132
(7x7x0.6 mm)
LQFP144
(20x20x1.4 mm)
STM32L476RC
Flash size (bytes)
Pin count
STM32L476VC
STM32L476RE STM32L476JE STM32L476VE STM32L476QE STM32L476ZE
STM32L476RG STM32L476JG STM32L476VG STM32L476QG STM32L476ZG
STM32L486RG STM32L486JG STM32L486VG STM32L486QG STM32L486ZG
Legend:
With 128/256-bit AES Hardware Encryption Without 128/256-bit AES Hardware Encryption Available in Q2/2015
In Full Production
Smaller derivates < 256kB flash and down to 32 pins in sampling
ULP Bench Scenario 38
• MCU must be programmed with a wakeup timer based on a <50ppm crystal
• Timer must wake up the processor at 1 second intervals
• MCU executes (twice) a workload consisting of selected operations (bubble sort,
permutation, needle search, display table, DC filter, linear approximation etc)
• After 10 cycles of benchmark, energy per cycle is calculated.
• ULPMark-CP score is 1000/(Energy per cycle)
“Active”
workload “low power
mode”
1s cycle
10 cycles
ULP Bench Measurement 39
ULPBench Energy monitor Board
Energy Monitor board :
inject 3V and measure
current
EnergyMonitor Software
Integrates measurements and plots
total energy vs time
EEMBC ULP score 40
STM32L476 + External DC/DC (supplying internal LDO @ 1.8v)
STM32L476 (with internal LDO @ 3.0v)
41
4 Great investment
EMBEDDED SOFTWARE
• STM32L4 Hardware Abstraction Layer (HAL) portable APIs
• High-performance, light-weight Low Layer (LL) APIs
• High coverage for most STM32 peripherals
• Production Ready and fully qualified
• Dozens of usage examples
• Open source BSD license
STM32CubeL1 Hardware Abstraction Layer
CMSI
S
STM32CubeF0 Hardware Abstraction Layer
CMSI
S
STM32CubeF3 Hardware Abstraction Layer
CMSI
S
STM32CubeF2 Hardware Abstraction Layer
CMSI
S
STM32CubeF4 Hardware Abstraction Layer
CMSI
S
STM32CubeF1 Hardware Abstraction Layer
CMSI
S
STM32CubeL4 Low level drivers
CMSIS
STM32CubeL4 Middleware
User Code
• USB Host and Device library from ST
• STemWin graphical stack library from ST and Segger
• Open-source FAT file system (FatFs)
• Open-source real-time OS (FreeRTOS)
• Numerous examples
STM32L4 ecosystem
STM32L4 ecosystem 42
4 Great investment
5
HARDWARE TOOLS
Full feature
evaluation Flexible prototyping
Key feature
prototyping
STM32 Nucleo Discovery kit Evaluation board
SOFTWARE TOOLS
STM32CubeMX featuring code generation and power
consumption calculation
Nice to have, but… 43
CL1
CL2
External Flash memory to store more data
NOR Flash over FSMC:
19 lines (16 data, 3 control)
Precise clock for USB and system:
2 lines for the crystal
3 external components
USB connector to the host:
Power supply >3.3V
External resistor
Additional hardware for USB reconnection
Vdd
Low cost, low power 2-channel ADC (Single Integration):
2 external comparators
2 external capacitors
Configured state on N I/O lines in STANDBY mode:
N external pull-up/pull-down resistors
Vdd
Data collection from stereo MEMS microphone:
High CPU load on PDM decoding
External ADC converter data processing:
High CPU load on data processing
Measurement of low amplitude analog signals:
External OpAmps
2 external resistors per OpAmp
CL1
CL2
32kHz
LSE
STM32L4 offer 44
External Flash memory to store more data
QSPI Flash memory:
6 lines (4 data, 2 control)
Precise clock for USB and system:
Built-in precise RC oscillators:
MSI 48MHz – self-trimmable to LSE
USB connector to the host:
Separate USB power supply
Built-in pull-up resistor on DP line
Software reconnection
Low cost, low power 2-channel ADC (Single Integration):
Built-in comparators
Configured state on N I/O lines in STANDBY mode:
Programmable pull-ups/pull-downs on I/O lines
Data collection from stereo MEMS microphone:
Built-in Digital Filter for Sigma Delta Modulators
(HW processing of PDM signal)
External ΣΔ ADC converter data processing:
Built-in Digital Filter for Sigma Delta Modulators
Measurement of low amplitude analog signals:
Built-in PGA (programmable gain amplifiers)
Possible to add external components
48MHz
RC
HSI
1%
Vddus
b
DFSDM
CL1
CL2
32kHz
LSE
Семейство STM32L1
Линейка STM32L 46
29/02/2016 Presentation Title
STM32L151 «Ultra Low Power Line»
Cortex-M3
32 МГц
До 12 Kб EEPROM
Источник MSI 64 КГц- 4 МГц
До 48 Kб SRAM
До 384 Kб FLASH
FSMC (SRAM/PSRAM/
NOR)
До 5хUSART, 3хSPI/I2S, 2xI2C, 1xSDIO
До 9 таймеров 32/16 бит, ШИМ
Схема сброса POR/PDR, BOR + PVD
2 х Watchdogs
Датчик температуры**
До 12 каналов DMA
Аппаратные RTC
Питание, 1.65 В – 3.6 В
От -40 до + 105 С***
STM32L152 «Ultra Low Power Line»
Cortex-M3
32 МГц
До 12 Kб EEPROM
Источник MSI 64 КГц- 4 МГц
До 48 Kб SRAM
До 384 Kб FLASH
FSMC (SRAM/PSRAM/
NOR)
12 бит АЦП, 1мкс До 40 каналов
3 х ОУ 2х комп-ра
3 х ОУ 2х комп-ра
LCD 8x40
STM32L162 «Ultra Low Power Line»
Cortex-M3
32 МГц
До 12 Kб EEPROM
Источник MSI 64 КГц- 4 МГц
До 48 Kб SRAM
До 384 Kб FLASH
FSMC (SRAM/PSRAM/
NOR)
3 х ОУ 2х компаратора
AES128 LCD 8x40
+
2 х 12 бит ЦАП
USB 2.0 FS
MPU + ETM STM32L100 «Value Line» «Ultra Low Power Line»
Cortex-M3
32 МГц
До 8 Kб EEPROM
Источник MSI 64 КГц- 4 МГц
До 16 Kб SRAM
До 256 Kб FLASH
2х компаратора
LCD 8x28
** Нет в STM32L100
*** От -40 до +85 в STM32L100
От 1$
** Цена с сайта ST
Расширенная платформа STM32L1
• Гибкая система тактирования Ультранизкое потребление энергии
• От 65KГц до 32MГц (встроенные PLL / Dynamic Voltage Scaling)
Режим Run: от 50 мкА до 9.6 мА 285 мкА/МГц (Flash)
Режим Low-power Run: от 9 мкА до 37 мкА (до 4.4мкА в режиме Low-power Sleep)
2 дополнительных режима ультранизкого энергопотребления:
Режим Stop: до 500 нА(1.2 мкА с RTC)
Режим Standby: до 300 нА
47
*Данные при 3В @ 25°C – исполнение кода из Flash от внутреннего
источника тактирования
Udig
fCPU (MГц)
32
1.8 В
218 мкA/МГц*
16
1.5 В
290 мкA/МГц*
4
1.2 В
162 мкA/МГц*
• Voltage Scalling
Back-up clock
AES Encryption
Back-up регистры
Anti tamper
Контроль тактирования
Схема сброса
Flash + EEPROM
Модуль защиты памяти
Уникальный ID
Мониторинг питания
Два watchdog
JTAG fuse
• Безопасность
Voltage scalling 48
29/02/2016 Presentation Title
4
В
MГц
8
16
32
1WS
0WS
0WS
1WS
0WS
1WS
VDD 2.0 В .. 3.6 В 1.65 В .. 3.6 В
2
VCORE 1.2 В (Range 3) 1.5 В (Range 2) 1.8 В (Range 1)
Динамическое изменение напряжения оптимизирует эффективность микроконтроллера
(соотношение Производительность <----> Потребление)
Пользователь выбирает диапазон (Range) в соответствии с:
Внешним напряжением питания VDD
Необходимой производительностью DMIPS(с или без циклами Wait States)
Максимального потребления
Потребление STM32L 49
29/02/2016 Presentation Title
Ядро включено
Периферия активна
Контекст ОЗУ сохранен
Контекст backup регистров сохранен
50
Портфолио STM32L100
51
Портфолио STM32L15x
52
Портфолио STM32L16x
TN1176 Migration guide Migrating from STM32L15xx6/8/B to STM32L15xx6/8/B-A
and STM32L100x6/8/B to STM32L100x6/8/B-A
53
Full migration guide on ST web : TN1176
TN1176 Migration guide Migrating from STM32L15xx6/8/B to STM32L15xx6/8/B-A
and STM32L100x6/8/B to STM32L100x6/8/B-A
54
Full migration guide
on ST web : TN1176
TN1176 Migration guide Migrating from STM32L15xx6/8/B to STM32L15xx6/8/B-A
and STM32L100x6/8/B to STM32L100x6/8/B-A
55
Full migration guide on ST web : TN1176
Better Power figures:
2015 Status 56
5
Description
L10
0
L15
x
L16
2
Part Number Package Status
STM32L1
512KB Flash
80KB RAM
x x STM32L1xxQEH6 LQFP144
Full Prod
x STM32L1xxQEH6 UFBGA132
x x STM32L1xxVET6 LQFP100
x x STM32L1xxVEY6 WLCSP104
x x STM32L1xxRET6 LQFP64
STM32L1
384KB Flash
80KB RAM
x STM32L162VDT6X LQFP100
Full Prod x STM32L152VDY6X WLCSP104
x STM32L151VDY6X WLCSP104
STM32L1
384KB Flash
48KB RAM
x x STM32L1xxZDT6 LQFP144
Full Prod
x x STM32L1xxQDH6 UFBGA132
x x STM32L1xxVDT6 LQFP100
x x STM32L1xxRDY6 WLCSP64
x x STM32L1xxRDT6 LQFP64
STM32L1
256KB Flash
32KB RAM
x STM32L1xxZCT6 LQFP144
Full Prod x STM32L1xxQCH6 UFBGA132
x STM32L1xxRCY6 WLCSP64
x STM32L1xxVCT6A LQFP100 NRND
No PTN forecasted x STM32L1xxRCT6A LQFP64
STM32L1
256KB Flash
32KB RAM
x x STM32L1xxVCT6 LQFP100
Full Prod
x x STM32L1xxVCH6 UFBGA100
x x STM32L1xxRCT6 LQFP64
x STM32L1xxUCY6 WLCSP63
x STM32L1xxCCT6 LQFP48
x STM32L1xxCCU6 UQFN48
STM32L1
Up to 128KB Flash
Up to 32KB RAM
x STM32L1xxVB(8/6)T6A LQFP100
Full Prod
x STM32L1xxVB(8/6)H6A UFBGA100
x x STM32L1xxRB(8/6)T6A LQFP64
x STM32L1xxRB(8/6)H6A TFBGA64
x STM32L1xxCB(8/6)T6A LQFP48
x x STM32L1xxCB(8/6)U6A UQFN48
STM32L1
Up to 128KB Flash
Up to 16KB RAM
x STM32L1xxVB(8/6)T6 LQFP100
NRND
No PTN forecasted
x STM32L1xxVB(8/6)H6 UFBGA100
x x STM32L1xxRB(8/6)T6 LQFP64
x STM32L1xxRB(8/6)H6 TFBGA64
x STM32L1xxCB(8/6)T6 LQFP48
x x STM32L1xxCB(8/6)U6 UQFN48
Orange color for NRND : Not
recommended for new designs
(No PTN).
Green color for New Proposals
STM32L1 new devices New proposals!
57
• 32KB to 128KB Flash STM32L1 shrink instead of Non shrink devices
• Migration guide on ST web : TN1176
• 256KB Flash RCT6/VCT6 part numbers instead of RCT6A/VCT6A
• Migration guide on ST web : TN1177
* NRND: Not recommended for new designs
NEW
PROPOSAL
STM32L1 Shrinked
Up to 128KB Flash
Up to 32KB RAM
L15x STM32L1xxVB(8/6)T6A LQFP100
Full Prod
L15x STM32L1xxVB(8/6)H6A UFBGA100
L100 L15x STM32L1xxRB(8/6)T6A LQFP64
L15x STM32L1xxRB(8/6)H6A TFBGA64
L15x STM32L1xxCB(8/6)T6A LQFP48
L100 L15x STM32L1xxCB(8/6)U6A UQFN48
PREVIOUS
PROPOSAL
STM32L1 Non Shrinked
Up to 128KB Flash
Up to 16KB RAM
L15x STM32L1xxVB(8/6)T6 LQFP100
NRND*
No PTN forecasted
L15x STM32L1xxVB(8/6)H6 UFBGA100
L100 L15x STM32L1xxRB(8/6)T6 LQFP64
L15x STM32L1xxRB(8/6)H6 TFBGA64
L15x STM32L1xxCB(8/6)T6 LQFP48
L100 L15x STM32L1xxCB(8/6)U6 UQFN48
PREVIOUS
PROPOSAL
STM32L1
256KB Flash
32KB RAM
L15x STM32L1xxVCT6A LQFP100 NRND*
No PTN forecasted L15x STM32L1xxRCT6A LQFP64
NEW
PROPOSAL
STM32L1
256KB Flash
32KB RAM
L15x L162 STM32L1xxVCT6 LQFP100 Full Prod
L100 L15x STM32L1xxRCT6 LQFP64
Reminder for all distributors/customers that STM32L1 products here mentioned
« NRND* » will NOT be terminated (No PTN).
STM32L1 new devices What does it look like on the web?
58
• Example for 32KB to
128KB Flash STM32L1
devices (non exhaustive list)
XXXXXXXX RPN = PREVIOUS
XXXXXXXX-A RPN = NEW
STM32L, a complete offer 59
STM32L4 completes the ultra-low-power family
Flash size (bytes)
16 K
20
1 M
36 144
32 K
512 K
384 K
256 K
128 K
64 K
48 64
100 32 28 49
63 132
192 K
8 K Pins
More memory and pin counts
Perfo
rman
ce
MHz
26 DMIPS
75 CoreMark
32
33 DMIPS
93 CoreMark
32
100 DMIPS
273 CoreMark
80
More
performance
QFN LQFP WLCSP
More packages
BGA
STM32F3 family
STM32 F3 series positioning
• STM32 F3 serie combines
Cortex-M4 core with rich
analog peripherals set to
deliver high-performance
System-on-Chip solutions at
competitive cost
• The STM32 F3 is the
upgraded version of the
successful STM32 F1 with
Cortex-M4 and renewed
digital IPs.
61
Newest STM32F1 series
Zoom on STM32 Mainstream Product compatibility
62
STM32F302
STM32F303 STM32F103
STM32F101
STM32F102
STM32F100 STM32F030
STM32F0x1
Upgraded class Budget price Foundation
Cortex-M0 Cortex-M3
Cortex-M4
STM32F0x2
STM32F301
GP Market
STM32 F3 products lines 63
Analog
Specific Segments
STM32F373
Precise
measurement Digital Power
STM32F301
High Resolution timer
(217ps)
16_bit
ADC ΣΔ
STM32F334
Memory
Pin Count
512KB
32KB
144 pins 32 pins
STM32F302
STM32F303
Power supply:
• F3x1, F3x2, F3x3: [2.0 .. 3.6V]
• F3x8: 1.8V +/-8%
F3 series – Optimum integration
Results in simplified board
designs and fewer external
components
64
Op amps
Comparators
RTC
Temp sensor
DACs
MCU
Advanced
ADCs
Project cost $$$
Project cost $
The STM32 F3 series innovates in
embedded digital signal control by
combining Cortex-M4 with advanced
analog peripherals
F3
You like the STM32 F1,
You will love the STM32 F3 !
• What do we offer more on F3 series ?
• More performance
• DSP and FPU instruction set (Cortex-M4 @ 72MHz)
• Routine booster (43% more performance / Flash execution)
• Higher Analog and Digital integration for a lower BOM cost and simplify
board layout
• Fastest ADC (5Msps), Precise 16-Bit ADC Sigma Delta, Fast comparator (10ns),
Op-Amp with built in Gain (PGA), 144Mhz advanced PWM timer, I2S full duplex…
• Enhance safety
• SRAM with Parity Bit
• Polynomial CRC
• Lower power consumption in low power modes
• < 2µA in standby mode for energy saving
65
66 STM32 F3 product lines (present and future)
Part numbers with power supply 2.0 to 3.6V
Other part number available: STM32F3x8 (Power supply = 1.8v +/-8%)
GP Market
Specific Segments
67 F3 lines for GP market
STM32F3 present and to come 68
256 K
128 K
48 pins
LQFP
WLCSP 49
64 pins
LQFP
100 pins
LQFP
64 K
F303-32kB RAM
F373-32kB RAM
F373-24kB RAM
F378-32kB RAM
F373-16kB RAM
F303-32kB RAM
F303-40kB RAM
F302-32kB RAM
F302-24kB RAM
F302-32kB RAM
F302-24kB RAM
F303-40kB RAM
F303-32kB RAM
F302-32kB RAM
F302-24kB RAM
F303-40kB RAM F373-32kB RAM
F373-24kB RAM
F378-32kB RAM
F373-16kB RAM
F373-32kB RAM
F373-24kB RAM
F378-32kB RAM
F373-16kB RAM
F358-40kB RAM F358-40kB RAM F358-40kB RAM
512 K
32 K
F301-16kB RAM
F301-16kB RAM
F301-16kB RAM
F303-64kB RAM
F302-64kB RAM
F398-64kB RAM
F318-16kB RAM
F303-64kB RAM
F302-64kB RAM
F398-64kB RAM
32 pins
LQFP /
UFQFPN
F301-16kB RAM
F318-16kB RAM
F334-16kB RAM
F302-16kB RAM F302-16kB RAM F302-16kB RAM
F302-16kB RAM F302-16kB RAM F302-16kB RAM
F303-16kB RAM F303-16kB RAM F303-16kB RAM
F303-16kB RAM F303-16kB RAM F303-16kB RAM
48 pins
LQFP
WLCSP 49
64 pins
LQFP
32 pins
LQFP /
UFQFPN
F334-16kB RAM F334-16kB RAM
100 pins
LQFP/BGA
F318-16kB RAM
F328-16kB RAM F328-16kB RAM F328-16kB RAM
F303-64kB RAM
F302-64kB RAM
F398-64kB RAM
F334-16kB RAM F334-16kB RAM F334-16kB RAM
VDD=1.8V +/- 8%
32KB-512KB Flash / 4KB-20KB SRAM
10x 16-bit timer including MC timer
1x 32-bit timer
3x SPI, 2x I2C, 5x USART, CEC,USB(*)
12-bit DAC(**), 12-bit ADC(**),Comp(**) (*) Check P/N not always present
(**)Analog with separate power supply 2.4V
STM32F3*8 STM32F3*2
VDD = 2.0 to 3.6V
16KB-512KB Flash /8KB-64KB SRAM
USB FS, CAN
1x MC timer
Up to 2xADC 5Msps, 4x Comp, 2x Op-
Amp, 1xDAC
Pin
count
VDD = 2.0 to 3.6V
16KB-512KB Flash / 8KB-64KB SRAM
4k to 16KB CCM SRAM
USB FS, CAN
Up to 3x MC timer
Up to 4xADC 5Msps, 7x Comp, 4x Op-
Amp, 3xDAC
STM32F3*3 STM32F3*1
VDD = 2.0 to 3.6V
16KB-64KB Flash / 10KB-16KB SRAM
1x MC timer
Up to 1xADC 5Msps, 3x Comp, 1x Op-
Amp, 1xDAC
Flash size
(bytes)
144 pins
LQFP
F301-16kB RAM F301-16kB RAM
F3 series STM32F303 – 512KB 69
• Cortex M4 + FPU + MPU
• 16K CCM-SRAM -> 90 DMIPS
• FSMC for external memory management
• 2.0V-3.6V supply
• 3 x 16bit Advanced Motor Control timers running @ 144 MHz
• 118/87/52 fast IOs
• Capacitive Touch Sense
• -40°C/+105°C
• Package: LQFP 48/64/100/144
Key features
F3 series STM32F302 – 64KB 70
• Cortex M4 + FPU
• 2.0V-3.6V supply • 1.8V +/-8% with special
bonding
• 1 x 16-bit Advanced Motor Control timers running @ 144 MHz
• 1x 12-bit ADC (15x ch)
• USB, CAN, I2S
• Up to 55 fast IOs
• Capacitive Touch Sense
• -40°C/+105°C
• Package: LQFP 48/64 QFN32 WLCSP49
Key features
F3 Series STM32F301 – 64KB Key features
71
• Cortex M4 + FPU
• 2.0V-3.6V supply • 1.8V +/-8% with special
bonding
• 1 x 16-bit Advanced Motor Control timers running @ 144 MHz
• 1x 12-bit ADC (15x ch)
• Up to 55 fast IOs
• Capacitive Touch Sense
• -40°C/+105°C
• Package: LQFP 48/64 QFN32 WLCSP49
3 (26ns)
STM32F373 – 256KB 72
• Cortex M4 + FPU + MPU
• SRAM with hardware parity checking
• 2.0V-3.6V supply
• 1.8V +/-8% with special bonding
• 3x 16-bit ADC ΣΔ
• Up to 84 fast IOs (AHB)
• Capacitive touch sensing
• -40°C/+105°C
• Package LQFP 48/64/100, BGA100
Key features
F3 series STM32F334 – 64KB 73
Key features
• Cortex M4 + FPU
• 4KB CCM-SRAM -> 90 DMIPS routine booster
• 12KB SRAM with HW parity check
• 1x Hi-Res timer (217ps) 10ch
• 2.0V-3.6V supply
• 1 x 16bit Advanced Motor Control timers running @ 144 MHz
• 51 fast IOs
• -40°C/+105°C
• Package: LQFP 32/48/64
Innovative and extensive peripherals (mid-2014) 74
Unit parameters STM32F303 STM32F302 STM32F301 STM32F373 STM32F334
Core, frequency ARM Cortex-M4, 72 MHz
FPU / MPU FPU / MPU FPU / MPU*
*Down to128KB only FPU FPU / MPU FPU / MPU
Flash (Up to) 512 KB 64 KB 256 KB 64 KB
SRAM (Up to) 64 KB 64KB 16 KB 32 KB 12 KB
FSMC Yes*
*Down to 256KB only
Yes* *Down to 256KB only
- - -
Routine booster
CCM-SRAM (Up to) 16 KB - - - 4 KB
ADC SAR (Up to) 4x 12-bit
5 MSPS
2x 12-bit
5 MSPS
1x 12-bit
5 MSPS
1x 12-bit
1 MSPS
2x 12-bit
5 MSPS
16-bit ∑∆ ADC
with 7 built in gains - 3 -
Comparator (Up to) 7 4 3 2 3
Op amp with 4 built-in gain
values with 1% accuracy (Up
to) 4 2 1 - 1
12-bit DAC (Up to) 3 1 1 3 3
Advanced MC timer (Up to) 3 x (144 MHz) 1x (144 MHz) 1x (144 MHz) - 1x (144 MHz)
Hi-Resolution Timer - - 10ch (217ps)
Other digital
(except SPI, USART, I²C)
1x USB FS device, 1x CAN, Touch
Sense
1x CAN, Touch
Sense
1x USB FS
device, 1x CAN,
Touch Sense
1x CAN, Touch
Sense
STM32F3 – Ecosystem 75
Evaluation Discovery Nucleo Available Available Available
• Evaluate, Discover and Play
• STM32CubeMX Software: Optimize your design layout, configure MCU
usage and estimate power consumption
• STM32CubeF3: Embedded Software,
from Hardware Abstraction Layer (HAL)
easing migration from any STM32 and
middleware offer like FreeRTOS and USB
library
• Software offer
GCC
based
toolchains
• Feel free to choose your IDE
STM32 High Performance Series
STM32F4
Key NEWS
• New entry level STM32F4 devices • STM32F410 with128kB flash / 32kB SRAM
• Full production already
• STM32F446 with 512kB flash / 128kB SRAM
• Full production already
• Price level as STM32F2xx
• New graphical STM32F4 devices with DSI • STM32F469 with 2MB flash / 384kB SRAM
• Full production already
77
Key NEWS 78
High-performance platform 79
DMIPS
STM32F407 STM32F405
STM32F205 STM32F207
Access Foundation Advanced
225
210
150
125
105
Dynamic efficiency
Access to high
performance with light
cost
Connectivity
Large porfolio
Security
Enhanced Graphic
High memory density
STM32F427 STM32F429 STM32F446 STM32F469
Features
In production
STM32F746 400+
STM32F401
STM32
F411
STM32
F410 STM32
F41x
Production
H1’16
STM32F76x
High-performance platform 80
DMIPS
STM32F407 STM32F405
STM32F205 STM32F207
Access Foundation Advanced
225
210
150
125
105
Dynamic efficiency
Access to high
performance with light
cost
Connectivity
Large porfolio
Security
Enhanced Graphic
High memory density
STM32F427 STM32F429 STM32F446 STM32F469
Features
In production
STM32F746 400+
STM32F401
STM32
F411
STM32
F410 STM32
F41x
Production
H1’16
STM32F76x
Co
rtex®
-M4 (D
SP
+ F
PU
) – U
p t
o 1
00 M
Hz
• ART Accelerator™
• SDIO
• USART, SPI, I²C
• I²S + audio PLL
• 16 and 32-bit timers
• 12-bit ADC (0.41μs)
• True Random
Number Generator
• Batch Acquisition
Mode
• Low voltage 1.7 to
3.6V
Access
Lines FCPU
(MHz)
FLASH
(KB)
RAM
(KB)
RUN
Current
(µA/MHz
)
STOP
Current
(µA)
Small
package
AES
256
FSMC
(SRAM +
LCD
support)
QSPI DFSDM CAN
2.0B DAC TRNG
DMA
Batch
Acquisition
Mode
USB
2.0FS
OTG
STM32F401 84
128
To
512
Up to
96
Down
to 128
Down
to 10
Down to
3x3mm
STM32F411 100
256
To
512
128 Down
to 100
Down
to 11
Down to
3.034x
3.22mm
BAM
STM32F410 100
64
To
128
32 Down
to 89
Down
to 6
Down to
2.553x
2.579mm
BAM -
STM32 F4 Access Lines 81
System
32Kbyte SRAM
Up to 128KByte Flash memory
Control
2x watchdogs
(independent and window)
1x 32-bit timer
3x 16-bit timer
Power supply
1.2 V regulator
POR/PDR/PVD/BOR
Xtal oscillator
32 kHz + 4~26 MHz
Internal RC oscillators
32 kHz + 16 MHz
PLL
Clock control
RTC/AWU
Systick timer
Cyclic redundancy check (CRC)
Up to 50 I/Os
1x 16-bit motor control PWM
synchronized AC timer
96-bit unique ID
Analog
1x 12-bit ADC 2.4MSPS 12
channels / 0.41us
Temperature sensor
ART acceleratorTM
STM32F410 block diagram
STM32F410 100MHz / 125DMIPS from flash
Down to 88uA/MHz RUN and 10uA
STOP
Batch Acquisition Mode (BAM),
DAC, TRNG
Packages
• WLSCP36 (2.553 x 2.579mm)
• UFQFN48
• LQFP64
Operating voltage
• 1.7 to 3.6V
Operating temperature
• Industrial: -40 to 85 °C
• Extended: -40 to 105 °C
16-channel DMA with Batch
Acquisition Mode (BAM)
True Random Number Generator
(TRNG)
ARM Cortex-M4 CPU
100MHz
Nested vector interrupt
Controller (NVIC)
JTAG/SWD debug/ ETM
AHB-Lite bus matrix
APB bus
MPU
Floating point unit (FPU)
80-Byte backup registers
1x 12-bit DAC
Connectivity
2x I2C (SMBus/PMBus) + 1x I2C
FM+
3x USART
LIN, Smartcard, IrDA, Modem
Control
3x SPI or 3x I2S (2x HD + 1x FD)
82
512 OTP Bytes
1x LP timer
STM32F401/F410/F411 STM32F4 Access Lines Portfolio
83
384 K / 96 K
256 K / 128 K
UQFPN48
(7x7x0.55 mm)
LQFP64
(10x10x1.4 mm)
* also WLCSP64
(3.658x3.686
x0.555 mm)
LQFP100
(14x14x1.4 mm)
UFBGA100
(7x7x0.53 mm)
STM32F401CC
Flash/RAM size (bytes)
Pin count
STM32F401VCT
WLCSP49
(3.06x3.06
x0.555 mm)
STM32F401CC STM32F401RC
STM32F401CB STM32F401VBT STM32F401CB STM32F401RB
128 K / 32 K
512 K / 128 K
STM32F401CD STM32F401VDT STM32F401CD STM32F401RD
STM32F401CE STM32F401VE STM32F401CE STM32F401RE
WLCSP36
(2.588x2.614
x0.555 mm)
STM32F410TB STM32F410CB STM32F410RB
STM32F410T8 STM32F410C8 STM32F410R8 64 K / 32 K
STM32F411CC STM32F411VCT STM32F411CC STM32F411RC
STM32F411CE STM32F411VE STM32F411CE STM32F411RE
512 K / 96 K
128 K / 64 K
256 K / 64 K
Dynamic RUN Mode* STOP
Mode
Vbat Mode
w/o or w/ RTC
Measurement conditions:
VDD = 1.8V
Typical process
Room temperature
STM32F4 Access Lines Power consumption figures
STM32F401xC
Cu
rre
nt
Legend: *Run mode Conditions: Coremark executed from Flash, peripherals OFF
STM32F411 STM32F401xE
84
STM32F41x*
<1µA
<1µA
<1µA
<1µA
100µA/MHz
128µA/MHz
136µA/MHz
89µA/MHz
112µA/MHz
STM32F410
10µA Wake up time: 113μs
42µA Wake up time: 21μs
10µA Wake up time: 113μs
43.1µA Wake up time: 21μs
10µA Wake up time: 113μs
42µA Wake up time: 21μs
6µA Wake up time: 113μs
14µA Wake up time: 21μs
18µA Wake up time: 113μs
50µA Wake up time: 21μs
Standby Mode
w/o and w/ RTC
1.8µA
2.4µA Wake up time: 314μs
1.8µA
2.4µA Wake up time: 314μs
1.8µA
2.6µA Wake up time: 314μs
1.8µA
2.4µA Wake up time: 314μs
1.8µA
2.6µA Wake up time: 314μs
<1µA
*Q2 2016
STM32F4
RAM DMA
DFSDM
Cortex-M4
ART
BAM
Cortex-M4
RAM fetch
LPSD
Quiet BAM
Cortex-M4
RAM fetch
LPSD
Detected
Cortex-M4
Flash fetch
Algorithm
Processing
Voice trigger
detection
0111010100101001010101111
0011010
DFSDM
FLASH
0111011000010
Current
consumption
BAM explained Voice recognition use case
Filtering /
Decimation /
Gain control
done by HW
with DFSDM
(STM32F41x)
85
High-performance platform 86
DMIPS
STM32F407 STM32F405
STM32F205 STM32F207
Access Foundation Advanced
225
210
150
125
105
Dynamic efficiency
Access to high
performance with light
cost
Connectivity
Large porfolio
Security
Enhanced Graphic
High memory density
STM32F427 STM32F429 STM32F446 STM32F469
Features
In production
STM32F746 400+
STM32F401
STM32
F411
STM32
F410 STM32
F41x
Production
H1’16
STM32F76x
STM32F446 87
• Features
• Cortex-M4 with DSP and FPU;
180MHz/225 DMIPS
• Improved ADC accuracy
• Dual Quad SPI, SDRAM I/F, 2xSAI
,3xI2S half duplex, SPDIF IN, CEC,
USB dedicated supply for 1.8V
support
• Power efficiency: <100uA STOP
• Packages
• WLSCP
• LQFP64, LQFP100, LQFP144
• BGA144 (0.5 & 0.8)
• Memory size:
• 256-Kbyte Flash/ 128-Kbyte SRAM
• 512-Kbyte Flash/ 128-Kbyte SRAM
STM32F446 line
STM32F446RC
64 pins
LQFP
81 pins
CSP
100 pins
LQFP
144 pins
LQFP
BGA pitch 0.8
BGA pitch 0.5
512 KB
256 KB
Flash
Pin count
STM32F446MC STM32F446VC STM32F446ZC
STM32F446RE STM32F446ME STM32F446VE STM32F446ZE
• Packages
• WLSCP
• LQFP64, LQFP100, LQFP144
• BGA144 pitch 0.5, BGA 144 pitch 0.8
• Memory size:
• 256-Kbyte Flash/ 128-Kbyte SRAM
• 512-Kbyte Flash/ 128-Kbyte SRAM
STM32F446 Highlights 89
• High Performance
• Cortex-M4
• DSP and FPU
• ARTTM accelerator allowing zero wait state exection from flash
• Achieving 225 DMIPS and 608 coremark scores
• Compact internal Memory ressources
• 512 KB internal Flash
• 128 KB internal RAM
STM32F446 Highlights 90
• External memory interfaces • Flexible Memory controller (FMC)
• Running at 90MHz and supporting memory remap mode to offer higher
perfomance
• Supporting external SRAM,PSRAM,SDRAM/LPSDR SDRAM, Flash
NOR/NAND memories
• Supporting Intel 8080 and Motorola 6800 LCD parallel interfaces for
cost effective Graphical interfaces using LDC with embedded
controllers
• Dual Quad SPI interface (QSPI)
• Supporting external single, dual or quad SPI NOR Flash memories
• Memory Mapped mode supporting up to 256 Mbytes external SPI NOR
flash
• Up to 90 Mbytes/s in SDR mode and up to 120Mbytes/s in SDR mode
• Dual quad SPI mode allowing higher throughput
STM32F446 Highlights 91
• Upgrated USB features • Added Dedicated USB power rails.
• additionnal support of Link Power Mode (LPM)
• A new intermadiate low power state with short entry and exit times
• Extended Connectivity • HDMI CEC controller
• Up to 7 simultanious I²S channels
• 3 I²S Half duplex
• 2 Serial Audio Interfaces supporting I²S full duplex and Time Division Multiplexing
• SPDIF input interface
• Up to 4 parallel SPDIF inputs
• Supporting analog and optical inputs
• Up to 12.288 MHz symbol rate
• Support from 32 to 192KHz stereo streams
• Support up to 5.1 multi-channel surround sound
• Power efficiency • Targeted <100 uA in stop mode
F446 – New Features Benefits 92
• Upgrated USB features
• Added Dedicated USB power rails
• Avoiding external PHYs needs when using USB in low power supply ranges
• additionnal support of Link Power Mode (LPM)
• Allowing a finer power management and so leading to significant power savings
• Compliency with the latests USB standard updates.
• Extended Connectivity
• HDMI CEC controller
• Enabling the control of different HDMI connected devices through a single remote controller.
• SPDIF input interface
• Allowing integrated solution offering and So enabling better BOM cost in consumer audio
application using SPDIF interfaces
• Power efficiency
• Targeted <100 uA in stop mode
High-performance platform 93
DMIPS
STM32F407 STM32F405
STM32F205 STM32F207
Access Foundation Advanced
225
210
150
125
105
Dynamic efficiency
Access to high
performance with light
cost
Connectivity
Large porfolio
Security
Enhanced Graphic
High memory density
STM32F427 STM32F429 STM32F446 STM32F469
Features
In production
STM32F746 400+
STM32F401
STM32
F411
STM32
F410 STM32
F41x
Production
H1’16
STM32F76x
STM32F469 block diagram
• ARM Cortex-M4 Core @180MHz min, 225DMIPS
• 2MB dual –bank Flash, 384KB SRAM
• SDRAM interface, dual Quad SPI
• Display interface:
• MIPI: Display Serial Interface (DSI)
• TFT LCD controller
• Audio interface:
• 1xSAI, 2xI2S full duplex,
• USB dedicated supply for 1.8V support
• Packages :
• WLCSP169, BGA169, LQFP208, BGA216,
• LQFP 176
94
F469 Features benefits 95
• MIPI® DSI controller
• Advanced Animation and Graphical usere interfaces
• Aligned on mobile industry standards
• Opening the door to next generation displays with higher pixel density
• Only 2 pins for each Lane are requested to interface with the display panels
• Availibility even on small packages => BOM cist saving
• Lower power consumption and less electromagnetic interference
• TFT LCD controller
• Advanced animations and graphical user interfaces
• Drives displays without embedded controllers BOM cost saving
F469 Highlights 96
• Extended Memory ressources
• Up to 2MBytes internal Flash
• 384 KB internal RAM including 64KB CCM
• External memory interfaces
• Flexible Memory controller (FMC)
• 90MHz I/F with memory remap capability for higher perfomance
• SRAM,PSRAM,SDRAM/LPSDR SDRAM, Flash NOR/NAND support
• Intel 8080 and Motorola 6800 LCD parallel interfaces for cost effective Graphical interfaces
using LDC with embedded controllers
• Dual Quad SPI interface (QSPI)
• SPI NOR Flash (1-bit), quad SPI (4-bit) or dual-Quad (8-bit) SPI NOR Flash support
• Memory Mapped mode supporting up to 256 Mbytes external SPI NOR flash
• Up to 90 Mbytes/s in SDR mode and up to 120Mbytes/s in DDR mode
• Upgrated USB features
• Added Dedicated USB power rails.
• additionnal support of Link Power Mode (LPM)
• low power state with short entry and exit times
Display interfaces with STM32F469 98
29/02/2016 Presentation Title
DSI Host
RAM FMC Flash
LCD-TFT
CTRL
DPI Cortex-M4
ART
Chrom-ART
Serial high speed interface
Up to 6 pins
Up to 720p 30Hz resolution
eDPI
PPI D-PHY
DSI Display W or W/O
controller and GRAM
DP
I D
BI
Parallel interface
Up to 22 pins
Up to VGA/WQVGA resolution
Parallel interface
Up to 28 pins
Up to XGA resolution
Parallel interface LCD Display Without controller and GRAM
Parallel interface LCD Display With controller and GRAM
DBI
Supported resolutions without external RAM using TFT controller
99
bpp ↓
resolution→
BUFFER SIZES (Kbytes) ↘
CGA (320x200)
QVGA (320x240)
WQVGA (480x272)
VGA (640x480)
WVGA (800x480)
SVGA (800x600)
XGA (1024x768)
1 (2 colors) 7.8 9.4 15.9 37.5 46.9 58.6 96.0 2 (4 colors) 15.6 18.8 31.9 75.0 93.8 117.2 192.0
4(16 colors) 31.3 37.5 63.8 150.0 187.5 234.4 384.0
8 (256 colors) 62.5 75.0 127.5 300.0 375.0 468.8 768.0 16 (high color) 125.0 150.0 255.0 600.0 750.0 937.5 1536.0
24 (true color) 187.5 225.0 382.5 900.0 1125.0 1406.3 X 32 (deep color) 250.0 300.0 510.0 1200.0 1500.0 X X
STM32F469
STM32F469
TFT
or
DSI
Frame
buffer 1
Frame
buffer 2
Display Chrom-
ART
100
bpp ↓
resolution→
BUFFER SIZES (Kbytes) ↘
CGA (320x200)
QVGA (320x240)
WQVGA (480x272)
VGA (640x480)
WVGA (800x480)
SVGA (800x600)
XGA (1024x768)
1 (2 colors) 7.8 9.4 15.9 37.5 46.9 58.6 96.0 2 (4 colors) 15.6 18.8 31.9 75.0 93.8 117.2 192.0
4(16 colors) 31.3 37.5 63.8 150.0 187.5 234.4 384.0
8 (256 colors) 62.5 75.0 127.5 300.0 375.0 468.8 768.0 16 (high color) 125.0 150.0 255.0 600.0 750.0 937.5 1536.0
24 (true color) 187.5 225.0 382.5 900.0 1125.0 1406.3 X 32 (deep color) 250.0 300.0 510.0 1200.0 1500.0 X X
Supported resolutions without external RAM using FMC parallel interface
STM32F469
STM32F469
FMC
or
DSI
Frame
buffer 1
Display
Frame
buffer 2
Chrom-
ART
101
bpp ↓
resolution→
BUFFER SIZES (Kbytes) ↘
CGA (320x200)
QVGA (320x240)
WQVGA (480x272)
VGA (640x480)
WVGA (800x480)
SVGA (800x600)
XGA (1024x768)
1 (2 colors) 7.8 9.4 15.9 37.5 46.9 58.6 96.0 2 (4 colors) 15.6 18.8 31.9 75.0 93.8 117.2 192.0
4(16 colors) 31.3 37.5 63.8 150.0 187.5 234.4 384.0
8 (256 colors) 62.5 75.0 127.5 300.0 375.0 468.8 768.0 16 (high color) 125.0 150.0 255.0 600.0 750.0 937.5 1536.0
24 (true color) 187.5 225.0 382.5 900.0 1125.0 1406.3 X 32 (deep color) 250.0 300.0 510.0 1200.0 1500.0 X X
Supported resolutions with external RAM using TFT interface
SDRAM
STM32F469
TFT
or
DSI
Frame
buffer 1
Display
Frame
buffer 2
16/32 bits F
M
C
Chrom-
ART
F469
back
102
F469 Discovery KIT 4’’ WVGA DSI Display
Capacitive touch
Audio codec
128 Mbit QSPI Flash
128 Mbit SDRAM
SDCARD
Arduino extension
F469 and F479 Evaluation boards
STM32F469 Ecosystem
A choice of advanced graphical stacks taking the full
advantage of Chrom-ART graphics Hardware
acceleration
103 STM32F469 Ecosystem
Семейство STM32 F7
Key NEWS
• Bigger brother in STM32F7 series • STM32F7xx with 2MB flash / 512kB SRAM
• JPEG HW accel., 3xCAN’s, DFSDM, ….
• Sampling to alpha CTM’s, MP in May
• Announcement week 3’16
105
Ядро
ARM CORTEX-M7
106
DSP
Ядро Cortex-M4 • Архитектура ARMv7E-M
• Гарвардская архитектура, конвейер 3 - уровня
• Поддержка деления, инструкций SIMD
• Модуль защиты памяти (MPU)
• Модуль плавающей точки (FPU, одинарный)
• Включен во все STM32 на ядрах ARM Cortex-M4
107
12-тактов задержки ISR
• Архитектура ARMv7E-M
• Гарвардская архитектура, конвейер 6 - уровней
• Супер скалярная архитектура!
• Поддержка деления, инструкций SIMD
• Модуль защиты памяти (MPU)
• Модуль плавающей точки (FPU, двойной)
• Включен во все STM32 на ядрах ARM Cortex-M4 и Cortex-M7
Ядро Cortex-M7 108
На один шаг ближе к DSP На один шаг ближе к процессорам
реального времени
Выполнение операций загрузки/выгрузки
параллельно с арифметическими операциями
Прямой доступ ядра к 2 областям оперативной
памяти
Операции ветвления без задержек Кеш память для внешней памяти ( шина AXI-M)
12-тактов задержки ISR
Cortex-M7 → параллельное выполнение 109
1
Fetch Decode Issue Prefetch
DATA PROCESSING UNIT
(+ FPU)
LOAD/STORE
UNIT
PREFETCH
UNIT
#1 DECODE #2 DECODE
64-бит за 1 такт
Load/Store 1
Load/Store 2
ALU 1 (Main)
ALU 2
MAC (32b x 32b + 64b)
FPU
2 3 4
32-бит
32-бит
Execute
BTAC 64-entry
X 64 bits
BRANCH
(2x 32b)
Память данных
NVIC
DPU
Операции математики и load/store
• Cortex-M4
• Единичные операции load/store занимают 2 такта
• N последовательных операций load/store занимают N+1 тактов
• Cortex-M7
• Операции load/store выполняются параллельно
с арифметическими
• Доступ к памяти без задержек!
110
Работа компилятора!
Выборка Декодиро
вание
Результат
#1 DECODE #2 DECODE
Load/Store 1
Load/Store 2
ALU 1 (Main)
ALU 2
32-бит (2x 32b)
32-бит
Выполнение
Группировка команд
Параллельное
выполнение команд
Архитектура STM32F7
111
DSP
DMA1 DMA2 ETH
DMA
USB
HS
DMA L1-Cache
4/16KB I/D
AXI to Multi-
AHB
LCD-
TFT
DMA
Chrom-
ART
SRAM
240/368 KB
SRAM
16 KB
AHB1
Peripheral
AHB2
Peripheral
FMC
QuadSPI
ITCM RAM
16 KB
DTCM RAM
64/128 KB
AX
IM
AH
BS
ITC
M
DT
CM
APB1
Peripheral
APB2
Peripheral
FLASH
1/2 MB
AH
BP
DM
A_M
EM
1
DM
A_M
EM
2
DM
A_P
1
DM
A_P
2
ART
Шина ITCM
Шина DTCM
Шина AXIM
Шина AHBS
Гибкая архитектура STM32F7x6 112
64-b
it
Bu
sM
atr
ix 32-бит матрица шин
Cortex-M7
Выполнение кода возможно из:
Flash ITCM с ART Accelerator
или
Flash AXI с L1-cache
или
Внешняя память с L1-cache
Архитектура ядра 113
DATA PROCESSING
UNIT
(+ FPU)
NVIC
LOAD/STORE
UNIT
STORE
BUFFER
BUS INTERFACE
UNIT
MPU
AXI-M
AHBS
for DMAs
AHBP (периферия)
Прерывания
TIGHTLY COUPLED MEMORY UNIT SQ
ARM® Cortex®-M7
ITCM DTCM
DEBUG ETM/ITM trace
Отладка
AHBD
PREFETCH
UNIT
AXI to Multi-AHB
Внешняя память Внутренняя память
I-Cache D-Cache
ART
FLASH
64-бит
64-бит
256-бит
Резюме
1. Супер скалярная архитектура
→ 2 инструкции за 1 такт
2. Ветвление за 1 такт
3. Система кэш менеджмента для
работы с медленной памятью
4. Развитая архитектура для
работы с большими объемами
данных
114
1000 CoreMark
Семейство STM32F7
116
Портфолио STM32F7 (1/2) 3/7
STM32 F7 1MB block diagram 117
• NEW core: ARM Cortex-M7
• Up to 216 MHz, 428 DMIPS/1000 CoreMark
• Twice more DSP performance vs Cortex-M4 core
• New generation of Peripherals
• 2xSAI, 3xI2S half duplex, USB dedicated supply for
1.8 V operation, CEC, Quad SPI,SPDIF input, 4xI2C.
• Same packages as F429
• WLCSP143
• LQFP100,144,176,208
• BGA 176, 216
ARM Cortex-M7
216 MHz
118
• Cortex-M7 with double precision FPU
• 216 MHz, 462 DMIPS/
1082 CoreMark
• 2MB Flash / 512KB SRAM
• Twice more DSP performance vs
Cortex-M4 core
• New generation of peripherals
• 2xSAI, 3xI2S half duplex, Dedicated
supply for 1.8 V operation for USB and
SDMMC, CEC, Dual mode Q-SPI,SPDIF
input, 4xI2C, 2 SDIO I/F, 3 CAN, MIPI
DSI, JPEG H/W codec, MDIO slave
• Same packages as F429 • WLCSP180(168 active) pitch 0,4mm
• LQFP100,144,176,208
• BGA176, 216
STM32 F7 2MB block diagram
ARM Cortex-M7
216 MHz
LQFP100
TFGBA100 (F7x6, F745) only
WLCSP143 LQFP176
UFBGA176 LQFP208 TFBGA216
512 K
1 M
Flash size (byte)
STM32F746VG STM32F746ZG STM32F746IG STM32F746BG STM32F746NG
STM32F746VE STM32F746ZE STM32F746IE STM32F746BE STM32F746NE
STM32F756VG STM32F756ZG STM32F756IG STM32F756BG STM32F756NG
Legend: without HW crypto/Hash coprocessor with HW crypto/Hash coprocessor
Pin count
STM32F745VE STM32F745IE
STM32F745VG STM32F745IG
RAM size (byte)
2 M
STM32F769AG STM32F769BG STM32F769NG
STM32F767VG STM32F767IG STM32F767BG STM32F767NG
1 M
LQFP144
STM32F746ZG
STM32F746ZE
STM32F756ZG
STM32F745ZE
STM32F745ZG
STM32F777VI
STM32F767VI
STM32F769AI*
STM32F779AI*
STM32F767ZG
STM32F777ZI
STM32F767ZI
STM32F769IG LQFP only
STM32F779II LQFP only
STM32F767II
STM32F769II LQFP only
STM32F777II
STM32F769BI
STM32F779BI
STM32F767BI
STM32F777BI
STM32F769NI
STM32F777NI
STM32F767NI
STM32F779NI
320K
+ 16K ITCM +
4K Backup
320K
+ 16K ITCM +
4K Backup
512K
+ 16K ITCM +
4K Backup
512K
+ 16K ITCM +
4K Backup
STM32 F7 portfolio with short term roadmap
WLCSP168
Roadmap : samples now, production May-2016
119
STM32F765VI STM32F765ZI STM32F765II STM32F765BI STM32F766NI
STM32F765VG STM32F765ZG STM32F765IG STM32F765BG STM32F766NG
(*) : exist in Vreg_OFF version (resp. STM32F778AIY6TR and STM32F768AIY6TR)
Отладочные платы 120
STM32746G-EVAL
STM32756G-EVAL
STM32F746G-DISCO
• 216 МГц STM32F756NGH6 или STM32F746NGH6
• SAI аудио ЦАП, стерео audio jack, микрофон
• SDRAM 8Mx32 SDRAM, 1Mx16 бит SRAM, 8Mx16
бит NOR FLASH и 512 Mбит QuadSPI NOR FLASH
• Цветной 5.7’ 640 x 480 TFT LCD сенсорный экран
• Ethernet EEE-802.3-2002
• USB OTG HS/FS, разъем micro-AB
• CAN 2.0A/B
• Модуль камеры
• 216 МГц STM32F746NGH6, 1 Mб Flash, 340 Kб RAM
• Цветной 4.3’ 480x272 LCD-TFT сенсорный экран
• 128-Mбит Quad-SPI Flash, 128-Mбит SDRAM
• Ethernet IEEE-802.3-2002
• USB OTG HS/FS, разъем micro-AB
• SAI аудио кодек, стерео выход
• Два МЭМС микрофона
• Модуль камеры
• Поддержка VCP, MS и отладочного порта
Meet the STM32 – Sphero BB-8 droid 121
Meet the STM32 – Apple Watch 122
Application exemples 123
29.02.2016 Presentation Title
Smart watch Main application controller
Industrial/home automation
panel
STM32 Ecosystem
Key NEWS
• Introducing STM32 Nucleo-32 • Module like approach addressing smallest STM32’s
• Compatible with Arduino Nano
• Same price as Nucleo-64
• Preparing STM32 Nucleo-144 • Addressing bigger STM32’s
• Following Ardunio Uno
• Announcement week 4’16
125
Key NEWS
• STM32 Cube Low Layer • Simple and efficient libraries (snippets like)
• Available today for STM32L4, next to come in 2016
• STM32 toolset running under Linux • Linux drivers for ST-Link
• Linux version of STM32CubeMx
• Linux version of SW4STM32 by AC6
• Announcement week 5’16
126
Nucleo-64
STM32 with 64 pins
Introducing STM32 Nucleo-32 127
Nucleo-32
STM32 with 32 pins
F303K8 F031K6
F042K6
STM32 Nucleo-32 features
Integrated ST-Link/V2-1:
drag & drop device flash programming
128
Push button, 2 color Leds
Arduino Nano extension connectors :
easy access to add-ons
One STM32 MCU flavor with 32 pins
Flexible board power supply :
through USB or external source
Much smaller size for more choice
Nucleo-32
STM32 with
32 pins
Introducing STM32 Nucleo-144 129
Nucleo-144
STM32 with
144 pins
Nucleo-64
STM32 with
64 pins
STM32 Nucleo-144 features
Integrated ST-Link/V2-1:
drag & drop device flash programming
130
Ethernet & USB OTG (optional)
Arduino Uno & ST Zio connectors :
easy access to add-ons
One STM32 MCU flavor with 144 pins
Flexible board power supply :
through USB or external source
More choice to make connections
ST morpho extension :
direct access to all mcu I/Os
STM32 Nucleo portfolio 131
STM32 Nucleo exposes the whole family of STM32
microcontrollers
Multi-IDE support
STM32Nucleo open development platform HW SW Expansion
STM32 Cube expansion SW
STM32 Nucleo expansion boards
(Nucleo shields) STM32
Cube
SW library
STM32
Nucleo
development
boards
More Nucleo expansion boards
BLE
Motion & Environmental
sensors
Dynamic NFC
tag
Audio Microphones Proximity & Light
sensor
Motor driver LED driver
WiFi 802.11 b/g/n
Sub-1GHz
Security
User code
Middleware
RTOS, USB, TCP/IP, Graphics...
Hardware abstraction layer
STM32Cube Embedded software
Software Development – STM32Cube
• Get configuration code generated* from a tool with STM32Cube and
focus on your added-value software !
• 4 configuration wizards: pinout, clock, peripherals & middleware, power consumption
• Portable Hardware Abstraction layer, from one series to another
• Middleware with RTOS, USB, TCP/IP, File System, Graphics
134
STM32CubeMX Configuration tool on PC
Initialization C code
generation
depending on user choices
135 STM32Cube - Embedded software Architecture and user entry points
STM32Cube HAL
(Hardware Abstraction Layer)
TCP/
IP
FAT
File
Sys.
Gfx
USB
Host /
Device
STM32Cube Middleware level
RTOS
STM32Cube Embedded Software packages
Touch
STM32Cube LL
(Low-Layer APIs)
User Application Code
STM32
• Three entry points for the user
application:
• Middleware stacks
• HAL API
• LL APIs
• Possible concurrent usage of
HAL and LL
ST Embedded software offer – Comparison
Offer Portability Optimization
(Memory & Mips) Easy Readiness
Hardware
coverage
STM32Snippets +++ +
Standard Peripheral Library ++ ++ + ++ +++
STM32
Cube
HAL API +++ + ++ +++ +++
LL APIs + +++ + ++ ++
Monitor Generate Code Compile & Debug
STM32
CubeMX Partners IDEs STMStudio
… with comprehensive choice of free IDEs
FREE
IDE’s