STM 32 F 401 CC
STM 32 F 401 CC
Features )%*$
• Dynamic efficiency line with BAM (batch
acquisition mode)
– 1.7 V to 3.6 V power supply UFQFPN48 WLCSP49 UFBGA100 LQFP100 (14X14 mm)
(7×7 mm) (2.965x2.965 mm) (7x7 mm)
– -40 °C to 85/105/125 °C temperature range LQFP64 (10×10 mm)
• Core: Arm® 32-bit Cortex®-M4 CPU with FPU, (incremental) encoder input, two watchdog
Adaptive real-time accelerator (ART timers (independent and window) and a
Accelerator™) allowing 0-wait state execution SysTick timer
from Flash memory, frequency up to 84 MHz, • Debug mode
memory protection unit, 105 DMIPS/ – Serial wire debug (SWD) & JTAG
1.25 DMIPS/MHz (Dhrystone 2.1), and DSP interfaces
instructions
– Cortex®-M4 Embedded Trace Macrocell™
• Memories
• Up to 81 I/O ports with interrupt capability
– Up to 256 Kbytes of Flash memory
– All IO ports 5 V tolerant
– 512 bytes of OTP memory
– Up to 78 fast I/Os up to 42 MHz
– Up to 64 Kbytes of SRAM
• Up to 11 communication interfaces
• Clock, reset and supply management
– Up to 3 × I2C interfaces (1Mbit/s,
– 1.7 V to 3.6 V application supply and I/Os SMBus/PMBus)
– POR, PDR, PVD and BOR – Up to 3 USARTs (2 x 10.5 Mbit/s, 1 x
– 4-to-26 MHz crystal oscillator 5.25 Mbit/s), ISO 7816 interface, LIN, IrDA,
– Internal 16 MHz factory-trimmed RC modem control)
– 32 kHz oscillator for RTC with calibration – Up to 4 SPIs (up to 42 Mbits/s at fCPU = 84
MHz), SPI2 and SPI3 with muxed full-
– Internal 32 kHz RC with calibration
duplex I2S to achieve audio class accuracy
• Power consumption via internal audio PLL or external clock
– Run: 128 µA/MHz (peripheral off) – SDIO interface
– Stop (Flash in Stop mode, fast wakeup • Advanced connectivity
time): 42 µA typ @ 25 °C;
– USB 2.0 full-speed device/host/OTG
65 µA max @25 °C
controller with on-chip PHY
– Stop (Flash in Deep power down mode,
• CRC calculation unit
slow wakeup time): down to 10 µA typ@
25 °C; 28 µA max @25 °C • 96-bit unique ID
– Standby: 2.4 µA @25 °C / 1.7 V without • RTC: subsecond accuracy, hardware calendar
RTC; 12 µA @85 °C @1.7 V • All packages are ECOPACK2
– VBAT supply for RTC: 1 µA @25 °C Table 1. Device summary
• 1×12-bit, 2.4 MSPS A/D converter: up to 16
Reference Part number
channels
• General-purpose DMA: 16-stream DMA STM32F401xB
STM32F401CB, STM32F401RB,
controllers with FIFOs and burst support STM32F401VB
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1 Compatibility with STM32F4 Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1 Arm® Cortex®-M4 with FPU core with embedded Flash and SRAM . . . . 15
3.2 Adaptive real-time memory accelerator (ART Accelerator™) . . . . . . . . . 15
3.3 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.5 CRC (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . . 16
3.6 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.7 Multi-AHB bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.8 DMA controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.9 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . . 17
3.10 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.11 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.12 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.13 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.14 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.14.1 Internal reset ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.14.2 Internal reset OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.15 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.15.1 Regulator ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.15.2 Regulator OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.15.3 Regulator ON/OFF and internal power supply supervisor availability . . 24
3.16 Real-time clock (RTC) and backup registers . . . . . . . . . . . . . . . . . . . . . . 24
3.17 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.18 VBAT operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.19 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.19.1 Advanced-control timers (TIM1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.19.2 General-purpose timers (TIMx) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.3.2 VCAP_1/VCAP_2 external capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.3.3 Operating conditions at power-up / power-down (regulator ON) . . . . . . 61
6.3.4 Operating conditions at power-up / power-down (regulator OFF) . . . . . 62
6.3.5 Embedded reset and power control block characteristics . . . . . . . . . . . 62
List of tables
List of figures
1 Introduction
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Description
12-bit ADC 1
Number of channels 10 16 10 16
Maximum CPU frequency 84 MHz
Operating voltage 1.7 to 3.6 V
Ambient temperatures: –40 to +85 °C/–40 to +105 °C/–40 to +125 °C
Operating temperatures
Junction temperature: –40 to + 130 °C
3' 3'
3' 3'
3' 3'
3' 3% QRW DYDLODEOHDQ\PRUH 3'
3% 5HSODFHG E\ 9 &$3B 3%
3% 3%
3% 3%
3% 3%
9''
3(
3(
3(
3(
3(
3%
9&$3B
3(
3%
9''
9&$3B
3(
3(
3(
3(
3(
3%
966
3(
06Y9
^dDϯϮ&ϰϬϱͬ^dDϯϮ&ϰϭϱůŝŶĞ
WϭϮ
Wϭϭ
^dDϯϮ&ϰdžϭ
WϭϬ
Wϭϱ
Wϭϰ
WϭϮ
Wϭϭ
WϭϬ
Wϭϱ
Wϭϰ
ϱϯ ϱϮ ϱϭ ϱϬ ϰϵ
ϱϯ ϱϮ ϱϭ ϱϬ ϰϵ
ϰϴ s s ϰϴ s s
ϰϳ sWϮ
ϰϳ s^^
ϰϲ Wϭϯ
ϰϲ Wϭϯ
ϰϱ WϭϮ
ϰϱ WϭϮ
ϰϰ Wϭϭ
ϰϰ Wϭϭ
ϰϯ WϭϬ
ϰϯ WϭϬ
ϰϮ Wϵ
ϰϭ Wϴ
s^^ ϰϮ Wϵ
s^^
ϰϭ Wϴ
ϰϬ Wϵ
ϰϬ Wϵ
ϯϵ Wϴ
ϯϵ Wϴ
ϯϴ Wϳ
ϯϴ Wϳ
ϯϳ Wϲ
ϯϳ Wϲ
ϯϲ Wϭϱ WϭϭŶŽƚĂǀĂŝůĂďůĞĂŶLJŵŽƌĞ ϯϲ Wϭϱ
ϯϱ Wϭϰ ZĞƉůĂĐĞĚďLJs Wϭ ϯϱ Wϭϰ
ϯϰ Wϭϯ
ϯϰ Wϭϯ
ϯϯ WϭϮ
Ϯϴ Ϯϵ ϯϬ ϯϭ ϯϮ ϯϯ WϭϮ
Ϯϴ Ϯϵ ϯϬ ϯϭ ϯϮ
s
WϮ
Wϭϭ
WϭϬ
sWϭ
s
WϮ
WϭϬ
sWϭ
s^^
sŝŶĐƌĞĂƐĞĚƚŽϰ͘ϳђĨ
W
^ZϭёŽƌďĞůŽǁϭ
s^^ s
s ^ ^ s
D^ϯϭϰϲϴsϮ
1-7567-7',
-7&.6:&/. -7$* 6:
038
-7'26:'-7'2 (70 19,&
75$&(&/.
75$&('>@ '%86
$50&RUWH[0
0+] ,%86
$+%EXVPDWUL[60
)38
$&&(/
&$&+(
)ODVK
6%86
XSWR
.%
65$0.%
$0
&)&/
0(9
'0$ 6WUHDPV $+%0+]
53" $-
),)2
/4'