STM 32 F 215 Re
STM 32 F 215 Re
STM 32 F 215 Re
STM32F217xx
ARM®-based 32-bit MCU, 150DMIPs, up to 1 MB Flash/128+4KB RAM, crypto,
USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 15 comm. interfaces & camera
Datasheet - production data
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, LQFP64 (10 × 10 mm)
150 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1) LQFP100 (14 × 14 mm)
UFBGA176 (10 × 10 mm)
• Memories LQFP144 (20 × 20 mm)
– Up to 1 Mbyte of Flash memory LQFP176 (24 × 24 mm)
– 512 bytes of OTP memory
•
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.1 Full compatibility throughout the family . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.1 ARM® Cortex®-M3 core with embedded Flash and SRAM . . . . . . . . . . . 20
3.2 Adaptive real-time memory accelerator (ART Accelerator™) . . . . . . . . . 20
3.3 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.4 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.5 CRC (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . . 21
3.6 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.7 Multi-AHB bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.8 DMA controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.9 Flexible static memory controller (FSMC) . . . . . . . . . . . . . . . . . . . . . . . . 23
3.10 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . . 23
3.11 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.12 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.13 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.14 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.15 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.16 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.16.1 Regulator ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.16.2 Regulator OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.16.3 Regulator ON/OFF and internal reset ON/OFF availability . . . . . . . . . . 28
3.17 Real-time clock (RTC), backup SRAM and backup registers . . . . . . . . . . 29
3.18 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.19 VBAT operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.20 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.20.1 Advanced-control timers (TIM1, TIM8) . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.20.2 General-purpose timers (TIMx) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.20.3 Basic timers TIM6 and TIM7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
List of tables
List of figures
1 Introduction
This datasheet provides the description of the STM32F215xx and STM32F217xx lines of
microcontrollers. For more details on the whole STMicroelectronics STM32 family, refer to
Section 2.1: Full compatibility throughout the family.
The STM32F215xx and STM32F217xx datasheet should be read in conjunction with the
STM32F20x/STM32F21x reference manual. They will be referred to as STM32F21x devices
throughout the document.
For information on programming, erasing and protection of the internal Flash memory, refer
to the STM32F20x/STM32F21x Flash programming manual (PM0059).
The reference and Flash programming manuals are both available from the
STMicroelectronics website www.st.com.
For information on the Cortex®-M3 core refer to the Cortex®-M3 Technical Reference
Manual, available from the www.arm.com website.
2 Description
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.
• Up to three I2Cs
• Three SPIs, two I2Ss. To achieve audio class accuracy, the I2S peripherals can be
clocked via a dedicated internal audio PLL or via an external PLL to allow
synchronization.
• Four USARTs and two UARTs
• A USB OTG high-speed with full-speed capability (with the ULPI)
• A second USB OTG (full-speed)
• Two CANs
• An SDIO interface
• Ethernet and camera interface available on STM32F217xx devices only.
Note: The STM32F215xx and STM32F217xx devices operate in the –40 to +105 °C temperature
range from a 1.8 V to 3.6 V power supply.
A comprehensive set of power-saving modes allow the design of low-power applications.
STM32F215xx and STM32F217xx devices are offered in various packages ranging from 64
pins to 176 pins. The set of included peripherals changes with the device chosen.These
features make the STM32F215xx and STM32F217xx microcontroller family suitable for a
wide range of applications:
• Motor drive and application control
• Medical equipment
• Industrial applications: PLC, inverters, circuit breakers
• Printers, and scanners
• Alarm systems, video intercom, and HVAC
• Home audio appliances
Figure 4 shows the general block diagram of the device family.
STM32F21xxx
Peripherals STM32F215Rx STM32F215Vx STM32F215Zx STM32F217Vx STM32F217Zx STM32F217Ix
Flash memory in Kbytes 512 1024 512 1024 512 1024 512 1024 512 1024 512 1024
System 128(112+16)
SRAM in Kbytes
Backup 4 4 4 4 4 4
Ethernet(2) No Yes
General-purpose 10
Advanced-control 2
Timers Basic 2
IWDG Yes
WWDG Yes
RTC Yes
I2C 3
USART 4
Communication UART 2
interfaces
USB OTG FS Yes
CAN 2
(2)
Camera interface No Yes
Encryption Yes
SDIO Yes
12-bit ADC 3
Number of channels 16 16 24 16 24 24
Description
Operating voltage 1.8 V to 3.6 V
15/10
Table 2. STM32F215xx and STM32F217xx: features and peripheral counts (continued)
16/10
Description
Peripherals STM32F215Rx STM32F215Vx STM32F215Zx STM32F217Vx STM32F217Zx STM32F217Ix
1. For the LQFP100 package, only FSMC Bank1 or Bank2 are available. Bank1 can only support a multiplexed NOR/PSRAM memory using the NE1 Chip Select. Bank2 can
only support a 16- or 8-bit NAND Flash memory using the NCE2 Chip Select. The interrupt line cannot be used since Port G is not available in this package.
2. Camera interface and Ethernet are available only in STM32F217x devices.
3. The SPI2 and SPI3 interfaces give the flexibility to work in an exclusive way in either the SPI mode or the I2S audio mode.
DocID17050 Rev 13
STM32F21xxx
STM32F21xxx Description
966 966
ȍUHVLVWRURUVROGHULQJEULGJH
SUHVHQWIRUWKH670)[
FRQILJXUDWLRQQRWSUHVHQWLQWKH
670)[[FRQILJXUDWLRQ
/4)3
966 966
069
ȍUHVLVWRURUVROGHULQJEULGJH
SUHVHQWIRUWKH670)[
FRQILJXUDWLRQQRWSUHVHQWLQWKH
966 670)[[FRQILJXUDWLRQ
7ZRȍUHVLVWRUVFRQQHFWHGWR
966IRU670)[ /4)3
9''966RU1&IRU670)[[ 966 966
5)8
9''
966 966
9'' 966IRU670)[
966 9''IRU670)[[
069
ȍUHVLVWRURUVROGHULQJEULGJH
SUHVHQWIRUWKH670)[
FRQILJXUDWLRQQRWSUHVHQWLQWKH
670)[[FRQILJXUDWLRQ
966
/4)3
966 966
5)8
9''
966
966
7ZRȍUHVLVWRUVFRQQHFWHGWR
9''
966IRU670)[ 966
9''966RU1&IRU670)[[
069