This is information on a product in full production.
June 2016 DocID025608 Rev 4 1/131
STM32F378xx
ARM
®
Cortex
®
-M4 32b MCU+FPU, up to 256KB Flash+32KB SRAM,
timers, 4 ADCs(16-bit Sig. Delta / 12-bit SAR), 3 DACs, 2 comp., 1.8 V
Datasheet - production data
Features
Core: ARM
®
32-bit Cortex
®
-M4 CPU (72 MHz
max), single-cycle multiplication and HW
division, DSP instruction with FPU (floating-
point unit) and MPU (memory protection unit)
1.25 DMIPS/MHz (Dhrystone 2.1)
Memories
256 Kbytes of Flash memory
32 Kbytes of SRAM with HW parity check
CRC calculation unit
Reset and power management
Supply: V
DD
= 1.8 V ± 8%,
V
DDA
= 1.65 - 3.6 V
External POR pin
Low power modes: Sleep and Stop
Clock management
4 to 32 MHz crystal oscillator
32 kHz oscillator for RTC with calibration
Internal 8 MHz RC with x16 PLL option
Internal 40 kHz oscillator
Up to 84 fast I/Os
All mappable on external interrupt vectors
Up to 45 I/Os with 5 V tolerant capability
12-channel DMA controller
One 12-bit, 1.0 µs ADC (up to 16 channels)
Conversion range: 0 to 3.6 V
Separate analog supply from 2.4 up to 3.6
Up to three 16-bit Sigma Delta ADC
Separate analog supply from 2.2 to 3.6 V,
up to 21 single/ 11 diff channels
Up to three 12-bit DAC channels
Separate analog supply from 2.2 to 3.6 V
Two fast rail-to-rail analog comparators with
programmable input and output with analog
supply from 1.65 to 3.6 V
Up to 24 capacitive sensing channels
17 timers
Two 32-bit timers and three 16-bit timers
with up to 4 IC/OC/PWM or pulse counters
Two 16-bit timers with up to 2 IC/OC/PWM
or pulse counters
Four 16-bit timers with up to 1 IC/OC/PWM
or pulse counter
Independent and system watchdog timers
SysTick timer: 24-bit down counter
Three 16-bit basic timers to drive the DAC
Calendar RTC with Alarm and periodic wakeup
from Stop
Communication interfaces
CAN interface (2.0B Active)
–Two I
2
Cs supporting Fast Mode Plus
(1 Mbit/s) with 20 mA current sink,
SMBus/PMBus, wakeup from STOP
Three USARTs supporting synchronous
mode, modem control, ISO/IEC 7816, LIN,
IrDA, auto baud rate, wakeup feature
Three SPIs (18 Mbit/s) with 4 to 16
programmable bit frames, muxed I2S
HDMI-CEC bus interface
Serial wire devices, JTAG, Cortex
®
-M4 ETM
96-bit unique ID
Table 1. Device summary
Reference Part numbers
STM32F378xx
STM32F378CC, STM32F378RC,
STM32F378VC
LQFP64 (10 × 10 mm)
LQFP100 (14 × 14 mm)
LQFP48 (7 × 7 mm)
)%*$
UFBGA100
(7 x 7 mm)
WLCSP66
(0.400 mm)
www.st.com
Contents STM32F378xx
2/131 DocID025608 Rev 4
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 ARM® Cortex®-M4 core with embedded Flash and SRAM . . . . . . . . . . . 13
3.2 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.3 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.4 Cyclic redundancy check (CRC) calculation unit . . . . . . . . . . . . . . . . . . . 14
3.5 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.6 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.7 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.7.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.7.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.7.3 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.8 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.9 General-purpose input/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.10 Direct memory access (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.11 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.11.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 16
3.11.2 Extended interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . 16
3.12 12-bit analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.12.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.12.2 Internal voltage reference (V
REFINT
) . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.12.3 V
BAT
battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.13 16-bit sigma delta analog-to-digital converters (SDADC) . . . . . . . . . . . . . 18
3.14 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.15 Fast comparators (COMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.16 Touch sensing controller (TSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.17 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.17.1 General-purpose timers (TIM2 to TIM5, TIM12 to TIM17, TIM19) . . . . . 22
3.17.2 Basic timers (TIM6, TIM7, TIM18) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22