High-performance ARM Cortex-M3 MCU with 1 Mbyte Flash, 120 MHz CPU, ART Accelerator, HW crypto

The STM32F21x family is based on the high-performance ARM®Cortex®-M3 32-bit RISC core operating at a frequency of up to 120 MHz. The family incorporates high-speed embedded memories (Flash memory up to 1 Mbyte, up to 128 Kbytes of system SRAM), up to 4 Kbytes of backup SRAM, and an extensive range of enhanced I/Os and peripherals connected to two APB buses, three AHB buses and a 32-bit multi-AHB bus matrix.

The devices also feature an adaptive real-time memory accelerator (ART Accelerator™) that allows to achieve a performance equivalent to 0 wait state program execution from Flash memory at a CPU frequency up to 120 MHz. This performance has been validated using the CoreMark® benchmark.

All devices offer three 12-bit ADCs, two DACs, a low-power RTC, twelve general-purpose 16-bit timers including two PWM timers for motor control, two general-purpose 32-bit timers. a true number random generator (RNG). They also feature standard and advanced communication interfaces. New advanced peripherals include an SDIO, an enhanced flexible static memory control (FSMC) interface (for devices offered in packages of 100 pins and more), a cryptographic acceleration cell, and a camera interface for CMOS sensors. The devices also feature standard peripherals.

Key Features

  • Core: ARM® 32-bit Cortex®-M3 CPU (120 MHz max) with Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait state execution performance from Flash memory, MPU, 150 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1)
  • Memories
    • Up to 1 Mbyte of Flash memory
    • 512 bytes of OTP memory
    • Up to 128 + 4 Kbytes of SRAM
    • Flexible static memory controller that supports Compact Flash, SRAM, PSRAM, NOR and NAND memories
    • LCD parallel interface, 8080/6800 modes
  • Clock, reset and supply management
    • From 1.8 to 3.6 V application supply + I/Os
    • POR, PDR, PVD and BOR
    • 4 to 26 MHz crystal oscillator
    • Internal 16 MHz factory-trimmed RC
    • 32 kHz oscillator for RTC with calibration
    • Internal 32 kHz RC with calibration
  • Low-power modes
    • Sleep, Stop and Standby modes
    • VBAT supply for RTC, 20 × 32 bit backup registers, and optional 4 Kbytes backup SRAM
  • 3 × 12-bit, 0.5 μs ADCs with up to 24 channels and up to 6 MSPS in triple interleaved mode
  • 2 × 12-bit D/A converters
  • General-purpose DMA: 16-stream controller with centralized FIFOs and burst support
  • Up to 17 timers
    • Up to twelve 16-bit and two 32-bit timers, up to 120 MHz, each with up to four IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
  • Debug mode: Serial wire debug (SWD), JTAG, and Cortex®-M3 Embedded Trace Macrocell™
  • Up to 140 I/O ports with interrupt capability:
    • Up to 136 fast I/Os up to 60 MHz
    • Up to 138 5 V-tolerant I/Os
  • Up to 15 communication interfaces
    • Up to three I2 C interfaces (SMBus/PMBus)
    • Up to four USARTs and two UARTs (7.5 Mbit/s, ISO 7816 interface, LIN, IrDA, modem control)
    • Up to three SPIs (30 Mbit/s), two with muxed I2 S to achieve audio class accuracy via audio PLL or external PLL
    • 2 × CAN interfaces (2.0B Active)
    • SDIO interface
  • Advanced connectivity
    • USB 2.0 full-speed device/host/OTG controller with on-chip PHY
    • USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI
    • 10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware, MII/RMII
  • 8- to 14-bit parallel camera interface (48 Mbyte/s max.)
  • Cryptographic acceleration
    • Hardware acceleration for AES 128, 192, 256, Triple DES, HASH (MD5, SHA-1)
    • Analog true random number generator
  • CRC calculation unit
  • 96-bit unique ID

资源

技术文档

产品规格
Description Version Size
DS6697 DS6697: ARM®-based 32-bit MCU, 150DMIPs, up to 1MB Flash/128+4KB RAM, crypto, USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 15 comm. interfaces & camera 13.0 2 MB
应用手册
Description Version Size
AN3126 AN3126: 使用 STM32 微控制器系列中的 DAC生成音频和波形 3.0 999 KB
AN4775 AN4775: Basics and low-cost solution proposals to move from legacy USB2.0 connector to USB Type-C™ connector with STM32 devices 1.0 443 KB
AN3154 AN3154: STM32™ 自举程序中使用的 CAN 协议 6.0 730 KB
AN1709 AN1709: EMC design guide for ST microcontrollers 2.0 843 KB
AN1181 AN1181: Electrostatic discharge sensitivity measurement 1.6 49 KB
AN4566 AN4566: Extending the DAC performance of STM32 microcontrollers 2.0 365 KB
AN4776 AN4776: General-purpose timer cookbook 2.0 1 MB
AN3320 AN3320: Getting started with STM32F20xxx/21xxx MCU hardware development 2.3 376 KB
AN4750 AN4750: Handling of soft errors in STM32 applications 2.1 410 KB
AN4803 AN4803: High-speed SI simulations using IBIS and board-level simulations using HyperLynx SI on STM32 32-bit ARM® Cortex® MCUs 1.1 2 MB
AN2834 AN2834: How to get the best ADC accuracy in STM32 microcontrollers 3.1 1 MB
AN4229 AN4229: How to implement a vocoder solution using STM32 microcontrollers 1.1 466 KB
AN4073 AN4073: 使用STM32F2xx 和STM32F4xx 微控制器时如何提高ADC 测量精度 5.1 603 KB
AN4838 AN4838: Managing memory protection unit (MPU) in STM32 MCUs 1.0 284 KB
AN3070 AN3070: 管理驱动器使能信号以使用STM32™的 USART 进行 RS-485 和 IO-Link 通信 1.3 467 KB
AN3427 AN3427: Migrating a microcontroller application from STM32F1 to STM32F2 series 1.2 375 KB
AN4831 AN4831: Migrating from STM32F2x5 line to STM32L4 Series microcontrollers 2.0 870 KB
AN3364 AN3364: STM32 微控制器应用的移植和兼容性指南 3.1 713 KB
AN2867 AN2867: Oscillator design guide for STM8AF/AL/S and STM32 microcontrollers 11.0 2 MB
AN3998 AN3998: STM32 微控制器上的 PDM 音频软件解码 1.3 271 KB
AN4850 AN4850: STM32 MCUs spread-spectrum clock generation principles, properties and implementation 1.0 551 KB
AN4908 AN4908: STM32 USART automatic baud rate detection 1.0 268 KB
AN4013 AN4013: STM32F1xx、STM32F2xx、STM32F4xx、STM32L1xx、STM32F30/31/37/38x 定时器概览 6.0 595 KB
AN4989 AN4989: STM32 microcontroller debug toolbox 2.0 5 MB
AN2606 AN2606: STM32™ 微控制器系统存储器自举模式 31.0 2 MB
AN4230 AN4230: STM32 microcontrollers random number generation validation using NIST statistical test suite 2.0 517 KB
AN3429 AN3429: STM32 proprietary code protection overview 1.1 60 KB
AN4733 AN4733: STM32Cube firmware examples for STM32F2 Series 3.0 486 KB
AN2945 AN2945: STM8S 和 STM32™ MCU:一致的 8/32 位产品线实现轻松移植 1.3 446 KB
AN3155 AN3155: STM32™ 自举程序中使用的 USART 协议 7.0 1 MB
AN3156 AN3156: USB DFU protocol used in the STM32 bootloader 6.0 373 KB
AN4277 AN4277: 使用STM32F30x/31x PWM 刹车特性进行电机控制和数字电源转换功率因数校正 4.0 609 KB
AN4031 AN4031: 使用 STM32F2 和 STM32F4 DMA 控制器 3.0 1 MB
AN3371 AN3371: 在 STM32 F0、F2、F3、F4 和 L1 系列MCU 中使用硬件实时时钟(RTC) 5.1 755 KB
AN4759 AN4759: Using the hardware real-time clock (RTC) in low-power modes with STM32 microcontrollers 3.0 1 MB
AN4655 AN4655: 在 STM32 应用中虚拟增加串行通信外设数目 1.1 442 KB
Technical Notes & Articles
Description Version Size
TN1163 TN1163: Description of WLCSP for microcontrollers and recommendations for its use 4.0 1 MB
TN0830 TN0830: How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions 1.2 97 KB
TN0516 TN0516: Overview of the STM32F0x/F100xx/F103xx and STM32F2xx/F30x/F4xx MCUs PMSM single/dual FOC SDK V4.0 4.1 284 KB
TN1204 TN1204: Tape and reel shipping media for STM32 microcontrollers in BGA packages 2.1 745 KB
TN1205 TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages 3.0 753 KB
TN1206 TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages 3.0 830 KB
TN1207 TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages 1.0 755 KB
TN1208 TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages 1.0 743 KB
参考手册
Description Version Size
RM0033 RM0033: STM32F205xx, STM32F207xx, STM32F215xx and STM32F217xx advanced ARM-based 32-bit MCUs 7.0 17 MB
编程手册
Description Version Size
PM0056 PM0056: STM32F10xxx/20xxx/21xxx/L1xxxx Cortex-M3 programming manual 5.1 4 MB
PM0059 PM0059: STM32F205/215, STM32F207/217 Flash programming manual 5.1 376 KB
勘误手册
Description Version Size
ES0005 ES0005: STM32F205/207xx and STM32F215/217xx device limitations 7.0 478 KB

HW Model, CAD Libraries & SVD

HW Model, CAD Libraries & SVD
Description Version Size
STM32 F2 series IBIS models 2.1 11 MB
STM32F2 Boundary Scan Description Language (BSDL) files 1.2 37 KB
STM32F2 CAD Symbol and Footprint files 1.0 488 KB
STM32F2 System View Description 1.1 204 KB

演示和培训资料

简报
Description Version Size
STM32 - 32-bit ARM Cortex-M MCUs 3.0 1 MB
STM32 and STM8 Functional Safety Packages 2 1 MB

出版刊物和宣传资料

宣传册
Description Version Size
Get ready for the largest IoT development ecosystem 17.02 741 KB
STM32 GUI solutions - Advanced HMI now achievable on embedded systems 1.0 1 MB
STM32 Nucleo boards 17.07 1 MB
STM32 for makers Releasing your creativity 16.2 2 MB
手册
Description Version Size
STM32™ 32-bit MCU family - Leading supplier of ARM® Cortex®-M microcontrollers 18.0 1 MB
白皮书
Description Version Size
STM32 More Than a Core - Circuit Cellar, Tom Cantrell 1.0 355 KB

质量和可靠性

Product Certifications
Description Version Size
STM32 CAN conformance test authentication sheet 1.0 182 KB

工具和软件

开发工具硬件
Hardware Development Tools
Software Development Tools
软件
MCUs Embedded Software