• 32-bit dual-core Arm® Cortex®-A7
– L1 32-Kbyte I / 32-Kbyte D for each core
– 256-Kbyte unified level 2 cache
–Arm
• 32-bit Arm
– Up to 209 MHz (Up to 703 CoreMark
Memories
• External DDR memory up to 1 Gbyte
– up to LPDDR2/LPDDR3-1066 16/32-bit
– up to DDR3/DDR3L-1066 16/32-bit
• 708 Kbytes of internal SRAM: 256 Kbytes of
AXI SYSRAM + 384 Kbytes of AHB SRAM +
64 Kbytes of AHB SRAM in Backup domain
and 4 Kbytes of SRAM in Backup domain
• Dual mode Quad-SPI memory interface
• Flexible external memory controller with up to
16-bit data bus: parallel interface to connect
external ICs and SLC NAND memories with up
to 8-bit ECC
Security/safety
• Secure boot, TrustZone® peripherals, active
tamper
• Cortex
Reset and power management
• 1.71 V to 3.6 V I/Os supply (5 V-tolerant I/Os)
• POR, PDR, PVD and BOR
• On-chip LDOs (RETRAM, BKPSRAM, DSI
1.2 V, USB 1.8 V, 1.1 V)
• Backup regulator (~0.9 V)
• Internal temperature sensors
• Low-power modes: Sleep, Stop and Standby
®
NEON™ and Arm® TrustZone®
®
Cortex®-M4 with FPU/MPU
®
-M4 resources isolation
®
)
STM32MP157C/F
Datasheet - production data
• DDR memory retention in Standby mode
• Controls for PMIC companion chip
Low-power consumption
• Total current consumption down to 2 µA
(Standby mode, no RTC, no LSE, no
BKPSRAM, no RETRAM)
This datasheet provides the ordering information and mechanical device characteristics of
the STM32MP157C/F microprocessors.
This document should be read in conjunction with the STM32MP157 reference manual
(RM0436), available from the STMicroelectronics website www.st.com.
For information on the Arm
and Cortex
®
-M4 Technical Reference Manuals.
®(a)
Cortex®-A7 and Cortex®-M4 cores, refer to the Cortex®-A7
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
DS12505 Rev 513/260
59
DescriptionSTM32MP157C/F
2 Description
The STM32MP157C/F devices are based on the high-performance dual-core Arm®
®
Cortex
includes a 32-Kbyte L1 instruction cache for each CPU, a 32-Kbyte L1 data cache for each
CPU and a 256-Kbyte level2 cache. The Cortex-A7 processor is a very energy-efficient
application processor designed to provide rich performance in high-end wearables, and
other low-power embedded and consumer applications. It provides up to 20% more single
thread performance than the Cortex-A5 and provides similar performance than the CortexA9.
-A7 32-bit RISC core operating at up to 800 MHz. The Cortex-A7 processor
The Cortex-A7 incorporates all features of the high-performance Cortex-A15 and CortexA17 processors, including virtualization support in hardware, NEON
™
, and 128-bit AMBA®4
AXI bus interface.
The STM32MP157C/F devices also embed a Cortex
to 209 MHz frequency. Cortex-M4 core features a floating point unit (FPU) single precision
which supports Arm
®
Cortex
-M4 supports a full set of DSP instructions and a memory protection unit (MPU)
®
single-precision data-processing instructions and data types. The
®
-M4 32-bit RISC core operating at up
which enhances application security.
The STM32MP157C/F devices also embed a 3D graphic processing unit
(Vivante
®
- OpenGL® ES 2.0) running at up to 533 MHz, with performances up to 26
Mtriangle/s, 133 Mpixel/s.
The STM32MP157C/F devices provide an external SDRAM interface supporting external
memories up to 8-Gbit density (1 Gbyte), 16 or 32-bit LPDDR2/LPDDR3 or DDR3/DDR3L
up to 533 MHz.
The STM32MP157C/F devices incorporate high-speed embedded memories with
708 Kbytes of Internal SRAM (including 256 Kbytes of AXI SYSRAM, 3 banks of 128 Kbytes
each of AHB SRAM, 64 Kbytes of AHB SRAM in backup domain and 4 Kbytes of SRAM in
backup domain), as well as an extensive range of enhanced I/Os and peripherals connected
to APB buses, AHB buses, a 32-bit multi-AHB bus matrix and a 64-bit multi layer AXI
interconnect supporting internal and external memories access.
14/260DS12505 Rev 5
STM32MP157C/FDescription
All the devices offer two ADCs, two DACs, a low-power RTC, 12 general-purpose 16-bit
timers, two PWM timers for motor control, five low-power timers, a true random number
generator (RNG), and a cryptographic acceleration cell. The devices support six digital
filters for external sigma delta modulators (DFSDM). They also feature standard and
advanced communication interfaces.
•Standard peripherals
–Six I
2
Cs
–Four USARTs and four UARTs
–Six SPIs, three I
2
I
S peripherals can be clocked via a dedicated internal audio PLL or via an
2
Ss full-duplex master/slave. To achieve audio class accuracy, the
external clock to allow synchronization.
–Four SAI serial audio interfaces
–One SPDIF Rx interface
–Management data input/output slave (MDIOS)
–Three SDMMC interfaces
–An USB high-speed Host with two ports two high-speed PHYs and a USB OTG
high-speed with full-speed PHY or high-speed PHY shared with second port of
USB Host.
–Two FDCAN interface, including one supporting TTCAN mode
–A Gigabit Ethernet interface
–HDMI-CEC
•Advanced peripherals including
–A flexible memory control (FMC) interface
–A Quad-SPI Flash memory interface
–A camera interface for CMOS sensors
–An LCD-TFT display controller
–A DSI Host interface.
Refer to Tab le 1: STM32MP157C/F features and peripheral counts for the list of peripherals
available on each part number.
A comprehensive set of power-saving mode allows the design of low-power applications.
The STM32MP157C/F devices are proposed in 4 packages ranging from 257 to 448 balls
with pitch 0.5 mm to 0.8 mm. The set of included peripherals changes with the device
chosen.
These features make the STM32MP157C/F suitable for a wide range of consumer,
industrial, white goods and medical applications.
Figure 1 shows the general block diagram of the device family.
DS12505 Rev 515/260
59
DescriptionSTM32MP157C/F
Table 1. STM32MP157C/F features and peripheral counts
Including the following securable1 × USART, 1 × SPI, 2 × I2C
1 × USART, 1 × SPI, 2 × I2C
on securable GPIOs
-
SDMMC (SD, SDIO, e•MMC)3 (8 + 8 + 4 bits), e•MMC or SD can be a boot sourceBoot
QuadSPIYes (dual-quad), can be a boot sourceBoot
DS12505 Rev 517/260
59
DescriptionSTM32MP157C/F
Table 1. STM32MP157C/F features and peripheral counts (continued)
Features
STM32MP157CADxx
STM32MP157FADxx
STM32MP157CABxx
STM32MP157FABxx
STM32MP157CACxx
STM32MP157FACxx
STM32MP157CAAxx
STM32MP157FAAxx
TFBGA257LFBGA354TFBGA361LFBGA448
Parallel address/data 8/16-bit-4 × CS, up to 4 × 64 Mbyte
FMC
Parallel AD-Mux 8/16-bit4 × CS, up to 4 × 64 Mbytes
boot
NAND 8/16-bitYes, 1 × CS, SLC, BCH4/8, can be a boot sourceBoot
Gigabit Ethernet-
10/100M EthernetMII, RMII with PTP and EEE
LCD-TFTParallel interface
Display serial interface (DSI)
Up to 24-bit data, up to 90 MHz pixel clock
(up to 1366 × 768 60 fps or up to 1920 × 1080 30 fps)
2 × data lanes 1 GHz each
(up to 1366 × 768 60 fps or up to 1920 × 1080 30 fps)
MII, RMII, GMII, RGMII with
PTP and EEE
DMA3 instances (1 securable), 48 physical channels in total-
Cryptography
Hash
dual instances (secure and non-secure)
dual instances (secure and non-secure)
DES, TDES, AES-256
SHA-256, MD5, HMAC
True random number generatorTrue-RNG, dual instances (secure and non-secure)-
Fuses (one-time programmable)3072 effective bits (secure, >1500 bits available for user)-
Camera interface Bus width14-bit-
Miscellaneous
No
-
-
-
-
-
GPIOs with interrupt (total count)98148176
Securable GPIOs-8
-
Wakeup pins46
Tamper pins (active tamper)2 (1)3 (1)
DFSDM8 input channels with 6 filters-
Up to 16-bit synchronized ADC2 (up to 3.6/4/4.5/5/6 Msps on 16/14/12/10/8-bit each)
Low noise 16 bit (differential)-2 (1)
-
16 bit (differential)17 (7)20 (9)
ADC channels in total
(2)
1722
12-bit DAC2-
Internal ADC/DAC VREF1.5 V, 1.8 V, 2.048 V, 2.5 V or VREF+ input
-
VREF+ input pinYes
1. With inner matrix balls having 0.65 mm pitch to allow optimized PCB routing for supplies.
18/260DS12505 Rev 5
STM32MP157C/FDescription
2. In addition, there is also 6 internal channels for temperature, internal voltage reference, V
acquisitions.
DDCORE
, V
/4, DAC1 or DAC2
BAT
DS12505 Rev 519/260
59
DescriptionSTM32MP157C/F
MSv47445V4
@VDDA
@VDD_ANA
@VDDA
@VSW
@VDD
@VSW
@VDDA
@VSW
OTP Fuses
T
T
T
T
T
@VSW
SYSRAM 256KB
ROM 128KB
TIM3
ADC1
ADC2
64 bits
32 bits
32 bits
AXI
AHB
APB
64bits
AXI master
T
TrustZone
®
security protection
@VDD
Voltage Regulators
@VDD_ANA
Supply Supervision
32 bits
AHB master
BKPSRAM 4KB
STM
RETSRAM 64KB
DTS
(Digital temperature sensor)
@VDD_PLL
PLL1/2/3/4
@VDD
HSE (XTAL)
RCC
RNG2
DCMI
(Camera I/F)
MDIOS
CRC2
HSEM
PWR
SDMMC3
OTG
(HS/FS)
HASH2
T
USBPHYC
(USB 2 x PHY control)
FIFO
16b
16b
Interface
GPIOA
GPIOB
GPIOC
GPIOD
GPIOE
GPIOF
GPIOG
GPIOH
GPIOI
GPIOJ
GPIOK
16b
16b
16b
16b
16b
16b
16b
16b
16b
16b
8b
SRAM1 128KB
SRAM2 128KB
SRAM3/SRAM4 64K/64K
HSI
CSILSI
DMA1
8 Streams
DMA2
8 Streams
FIFOFIFO
2
17
4
20
14
9
16
16
16
16
16
16
16
16
16
16
8
5
TIM4
16b
5
TIM6
16b
TIM7
16b
TIM12
16b
2
TIM13
16b
1
TIM14
16b
1
TIM2
32b
5
TIM5
32b
5
LPTIM1
16b
4
2
USART2
Smartcard
IrDA
5
USART3
Smartcard
IrDA
5
PLLUSB
FIFOFIFO
5
T
4b
10
PHY
FIFO
I2C4 / SMBUS
SPI6
USART1
IWDG1
BSEC
ETZPC
3
4
5
Smartcard
IrDA
FIFO FIFO
RTC / AWU
LSE (32kHz XTAL)
TAMP / Backup Regs
T
2
2
3
RNG1
HASH1
CRC1
T
T
LTDC
(LCD)
SDMMC1
31
29
14
SDMMC2
14
8b
8b
FIFOFIFOFIFO
MDMA
32 Channels
T
QUADSPI (dual)
DDRCTRL
LPDDR2/3
DDR3/3L
FMC
async
37
13
77
GPIOZ
8b
8
16b
AHB2APB
Trace port
APB1 (104.5 MHz)
APB3 (104.5 MHz)
T
24b
8b
AHB2APB
2x2
Matrix
AHB2APB
IC Supplies
16b
AXIM: ARM 64-bit AXI interconnect (266 MHz)
async
DLYBSD1
(SDMMC1 DLY control)
DLYBSD2
(SDMMC2 DLY control)
DLYBSD3
(SDMMC3 DLY control)
async
DLYBQS
(QUADSPI DLY control)
17
16b
FIFOFIFO
14b
DMAMUX1
DDRPHYC
AXIMC
T
TT
T
8KB
FIFO
Sys. Timing
GENeration
APB5 (133MHz)
debug TimeStamp
GENerator TSGEN
DLYDLYDLY
DLY
(R)(G)MII
32b PHY
APB4
MLAHB: ARM 32-bit multi-AHB bus matrix (209 MHz)
T
@VSW
IWDG2
T
I2C6 / SMBUS
3
USBH
(2 x HS Host)
2
2
2 x PHY
FIFO
STGENC
STGENR
EXTI
176
16ext
T
T
T
T
SYSCFG
VREFBUF
TIM1 / PWM
TIM8 / PWM
10
10
16b
16b
TIM15
4
16b
TIM16
16b
TIM17
16b
3
3
1
LPTIM2
16b
4
LPTIM3
16b
1
LPTIM4
16b
1
LPTIM5
16b
1
SAI4
13
FIFO
3
HDP
8
8b
SAI1
13
FIFO
SAI2
8
FIFO
SAI3
8
FIFO
UART4
4
UART5
4
UART7
4
UART8
4
DAC1
DAC2
12b
12b
Interface
1
1
I2C1 / SMBUS
3
Filter
I2C2 / SMBUS
3
Filter
I2C3 / SMBUS
3
Filter
I2C5 / SMBUS
3
Filter
CEC (HDMI-CEC)
SPDIFRX
1
4
SPI2 / I2S2
SPI3 / I2S3
5
5
FIFOFIFOFIFOFIFOFIFOFIFOFIFO
SPI4
4
SPI5
4
USART6
5
Smartcard
IrDA
FIFOFIFOFIFO
SPI1 / I2S1
5
FIFO
WWDG1
4ch
DFSDM1
17
8ch
AHB2APB
BOOT
pins
T
T
T
128 bits
CNT (Timer)
T
ETM
T
Cortex-A7 CPU
650/800
(1)
MHz + MMU +
FPU + NEON
T
32K I$
32K D$
T
ETH1 GMAC
10/100/1000
FIFO
DAP
(JTAG / SWD)
T
T
DDRPERFM
async
CRYP2
DAP bus
CRYP1
IPCC
T
TZC
T
T
FIFO
GPU
async
Shader
(533 MHz)
FDCAN1 (TT)
FDCAN2
Buffer 10KBCCU
2
2
APB2 (104.5 MHz)
APB2 (104.5 MHz)
APB2 (104.5 MHz)
PLLDSI
DSI
PHY
6
I-Bus
D-Bus
S-Bus
SYSTICK
NVIC
Cortex-M4 CPU 209 MHz
+ MPU + FPU
GIC
ETM
CNT (Timer)
T
T
Cortex-A7 CPU
650/800
(1)
MHz + MMU +
FPU + NEON
T
32K I$
32K D$
256KB L2$ + SCU
T
T
1. STM32MP157C: 650 MHz, STM32MP157F: 800 MHz
Figure 1. STM32MP157C/F block diagram
20/260DS12505 Rev 5
STM32MP157C/FFunctional overview
3 Functional overview
3.1 Dual-core Arm® Cortex®-A7 subsystem
3.1.1 Features
•ARMv7-A architecture
•32-Kbyte L1 instruction cache for each CPU
•32-Kbyte L1 data cache for each CPU
•256-Kbyte level2 cache
•Arm
•Arm
•Arm
•DSP and SIMD extensions
•VFPv4 floating-point
•Hardware virtualization support
•Embedded trace module (ETM)
•Integrated generic interrupt controller (GIC) with 256 shared peripheral interrupts
•Integrated generic timer (CNT)
®
+ Thumb®-2 instruction set
®
TrustZone® security technology
®
NEON™ Advanced SIMD
3.1.2 Overview
The Cortex-A7 processor is a very energy-efficient applications processor designed to
provide rich performance in high-end wearables, and other low-power embedded and
consumer applications. It provides up to 20 % more single thread performance than the
Cortex-A5 and provides similar performance than the Cortex-A9.
The Cortex-A7 incorporates all features of the high-performance Cortex-A15 and CortexA17 processors, including virtualization support in hardware, NEON
AXI bus interface.
The Cortex-A7 processor builds on the energy-efficient 8-stage pipeline of the Cortex-A5
processor. It also benefits from an integrated L2 cache designed for low-power, with lower
transaction latencies and improved OS support for cache maintenance. On top of this, there
is improved branch prediction and improved memory system performance, with 64-bit loadstore path, 128-bit AMBA 4 AXI buses and increased TLB size (256 entry, up from 128 entry
for Cortex-A9 and Cortex-A5), increasing performance for large workloads such as web
browsing.
Thumb-2 technology
Delivers the peak performance of traditional Arm® code while also providing up to a 30 %
reduction in memory requirement for instructions storage.
TrustZone technology
Ensures reliable implementation of security applications ranging from digital rights
management to electronic payment. Broad support from technology and industry partners.
™
, and 128-bit AMBA®4
DS12505 Rev 521/260
59
Functional overviewSTM32MP157C/F
NEON
NEON technology can accelerate multimedia and signal processing algorithms such as
video encode/decode, 2D/3D graphics, gaming, audio and speech processing, image
processing, telephony, and sound synthesis. The Cortex-A7 provides an engine that offers
both the performance and functionality of the Cortex-A7 floating-point unit (FPU) and an
implementation of the NEON advanced SIMD instruction set for further acceleration of
media and signal processing functions. The NEON extends the Cortex-A7 processor FPU to
provide a quad-MAC and additional 64-bit and 128-bit register set supporting a rich set of
SIMD operations over 8-, 16- and 32-bit integer and 32-bit floating-point data quantities.
Hardware virtualization
Highly efficient hardware support for data management and arbitration, whereby multiple
software environments and their applications are able to simultaneously access the system
capabilities. This enables the realization of devices that are robust, with virtual environments
that are well isolated from each other.
Optimized L1 caches
Performance and power optimized L1 caches combine minimal access latency techniques
to maximize performance and minimize power consumption. There is also the option of
cache coherence for enhanced inter-processor communication, or support of a rich SMP
capable OS for simplified multicore software development.
Integrated L2 cache controller
Provides low-latency and high-bandwidth access to cached memory in high-frequency, or to
reduce the power consumption associated with off-chip memory access.
Cortex-A7 floating-point unit (FPU)
The FPU provides high-performance single and double precision floating-point instructions
compatible with the Arm VFPv4 architecture that is software compatible with previous
generations of Arm floating-point coprocessor.
Snoop control unit (SCU)
The SCU is responsible for managing the interconnect, arbitration, communication, cache to
cache and system memory transfers, cache coherence and other capabilities for the
processor.
This system coherence also reduces software complexity involved in maintaining software
coherence within each OS driver.
Generic interrupt controller (GIC)
Implementing the standardized and architected interrupt controller, the GIC provides a rich
and flexible approach to inter-processor communication and the routing and prioritization of
system interrupts.
Supporting up to 288 independent interrupts, under software control, each interrupt can be
distributed across A7 cores, hardware prioritized, and routed between the operating system
and TrustZone software management layer.
22/260DS12505 Rev 5
STM32MP157C/FFunctional overview
This routing flexibility and the support for virtualization of interrupts into the operating
system, provides one of the key features required to enhance the capabilities of a solution
utilizing a hypervisor.
3.2 Arm® Cortex®-M4 with FPU
The Arm® Cortex®-M4 with FPU core is a 32-bit RISC processor that features exceptional
code-efficiency, delivering the high-performance expected from an Arm core in the memory
size usually associated with 8- and 16-bit devices.
The processor supports a set of DSP instructions which allow efficient signal processing and
complex algorithm execution.
Its single precision FPU (floating point unit) speeds up software development by using
metalanguage development tools, while avoiding saturation.
Note:Cortex-M4 with FPU core is binary compatible with the Cortex-M3 core.
Memory protection unit (MPU)
The memory protection unit (MPU) manages the Cortex®-M4 access rights and the
attributes of the system resources. It has to be programmed and enabled before use. Its
main purposes are to prevent an untrusted user program to accidentally corrupt data used
by the OS and/or by a privileged task, but also to protect data processes or read-protect
memory regions.
The MPU defines access rules for privileged accesses and user program accesses. It
allows the definition of up to 16 protected regions that can in turn be divided into up to 8
independent subregions, where region address, size, and attributes can be configured. The
protection area ranges from 32 bytes to 4
When an unauthorized access is performed, a memory management exception is
generated.
Gbytes of addressable memory.
3.3 Graphic processing unit (GPU)
The STM32MP157C/F includes a 3D graphics engine (Vivante).
The GPU is a dedicated graphics processing unit accelerating numerous 3D graphics
applications such as graphical user interface (GUI), menu display or animations.
It works together with an optimized software stack design for industry-standard APIs with
support for Android™ and Linux
®
embedded development platforms.
DS12505 Rev 523/260
59
Functional overviewSTM32MP157C/F
Hardware features:
•OpenGL ES 2.0 / 1.1 compliance, including extensions; OpenVG 1.1
•IEEE 32-bit floating-point pipeline
•Ultra-threaded, unified vertex and fragment (pixel) shaders
•Low memory bandwidth at both high and low data rates
•Low CPU loading
•Up to 12 programmable elements per vertex
•Dependent texture operation with high-performance
•Alpha blending
•Depth and stencil compare
•Support for 8 fragment shader simultaneous textures
•Support for 4 vertex shader simultaneous textures
•Point sampling, bi-linear sampling, tri-linear filtering, and cubic textures
•8 k x 8 k texture size and 8 k x 8 k rendering target
•4 Vertex DMA streams
API support:
•OpenGL ES 1.1 and 2.0
•OpenVG 1.1
•EGL 1.4
•OpenGL 2.1
Performance up to:
•26 Mtriangle/s
•133 Mpixel/s
24/260DS12505 Rev 5
STM32MP157C/FFunctional overview
3.4 Memories
3.4.1 External SDRAM
The STM32MP157C/F devices embed a controller for external SDRAM which support the
following devices
•LPDDR2 or LPDDR3, 16- or 32-bit data, up to 1 Gbyte, up to 533 MHz clock.
•DDR3 or DDR3L, 16- or 32-bit data, up to 1 Gbyte, up to 533 MHz clock.
3.4.2 Embedded SRAM
All devices feature:
•SYSRAM in MPU domain: 256 Kbytes
•SRAM1 in MCU domain: 128 Kbytes
•SRAM2 in MCU domain: 128 Kbytes
•SRAM3 in MCU domain: 64 Kbytes
•SRAM4 in MCU domain: 64 Kbytes
•RETRAM (retention RAM): 64 Kbytes
The content of this area can be retained in Standby or V
•BKPSRAM (backup SRAM): 4 Kbytes
The content of this area is protected against possible unwanted write accesses, and
can be retained in Standby or V
BAT
mode.
BKPSRAM can be defined (in ETZPC) as accessible by secure software only.
BAT
mode.
DS12505 Rev 525/260
59
Functional overviewSTM32MP157C/F
3.5 DDR3/DDR3L/LPDDR2/LPDDR3 controller (DDRCTRL)
DDRCTRL combined with DDRPHYC provides a complete memory interface solution for
DDR memory subsystem.
•Two 64-bit AMBA 4 AXI4 ports interface (XPI)
•AXI clock asynchronous to the controller
•Supported standards:
–JEDEC DDR3 SDRAM specification, JESD79-3E for DDR3/3L with 32-bit
interface
–JEDEC LPDDR2 SDRAM specification, JESD209-2E for LPDDR2 with 32-bit
interface
–JEDEC LPDDR3 SDRAM specification, JESD209-3B for LPDDR3 with 32-bit
interface
•Advanced scheduler and SDRAM command generator
•Programmable full data width (32-bit) or half data width (16-bit)
•Advanced QoS support with 3 traffic class on read and 2 traffic classes on write
•Options to avoid starvation of lower priority traffic
•Guaranteed coherency for write-after-read (WAR) and read-after-write (RAW) on AXI
ports
•Programmable support for burst length options (4, 8,16)
•Write combine to allow multiple writes to the same address to be combined into a
single write
•Single rank configuration
•Supports automatic SDRAM power-down entry and exit caused by lack of transaction
arrival for programmable time
•Supports automatic clock stop (LPDDR2/3) entry and exit caused by lack of transaction
arrival
•Supports automatic low power mode operation caused by lack of transaction arrival for
programmable time via hardware low power interface
•Programmable paging policy
•Supports automatic or under software control self-refresh entry and exit
•Support for deep power-down entry and exit under software control (LPDDR2)
•Support for explicit SDRAM mode register updates under software control
•Flexible address mapper logic to allow application specific mapping of row, column,
bank bits
•User-selectable refresh control options
•DDRPERFM associated block to help for performance monitoring and tuning
DDRCTRL and DDRPHYC can be defined (in ETZPC) as accessible by secure software
only.
26/260DS12505 Rev 5
STM32MP157C/FFunctional overview
3.6 TrustZone address space controller for DDR (TZC)
TZC is used to filter read/write accesses to DDR controller according to TrustZone rights
and according to non-secure master (NSAID) on up to 9 programmable regions.
•Configuration is supported by trusted software only
•2 filter units working concurrently
•9 regions:
–region 0 is always enabled and covers the whole address range.
–regions 1 to 8 have programmable base/end address and can be assigned to any
one or both filters.
•Secure and non-secure access permissions programmed per region
•Non-secure accesses are filtered according to NSAID
•Regions controlled by same filter must not overlap
•Fail modes with error and/or interrupt
•Acceptance capability = 256
•Gate keeper logic to enable and disable of each filter
•Speculative accesses
DS12505 Rev 527/260
59
Functional overviewSTM32MP157C/F
3.7 Boot modes
At startup, the boot source used by the internal BootROM is selected by the BOOT pin and
OTP bytes.
BOOT2 BOOT1 BOOT0Initial boot modeComments
Table 2. Boot modes
Wait incoming connection on:
(3)
(1)
– USART2/3/6 and UART4/5/7/8 on default pins
– USB high-speed device
(3)
Serial NOR Flash on QUADSPI
e•MMC on SDMMC2 (default)
(2)
(4)
(4)(5)
SLC NAND Flash on FMC
000UART and USB
001Serial NOR Flash
010e•MMC
(3)
011NAND Flash
100Reserved (NoBoot)Used to get debug access without boot from Flash memory
101SD card
(3)
SD card on SDMMC1 (default)
(4)(5)
Wait incoming connection on:
110UART and USB
(1)(3)
– USART2/3/6 and UART4/5/7/8 on default pins
– USB high-speed device on OTG_HS_DP/DM pins
111Serial NAND Flash
1. can be disabled by OTP settings.
2. USB requires 24 MHz HSE clock/crystal if OTP is not programmed for different frequency.
3. Boot source can be changed by OTP settings (e.g. initial boot on SD card, then e•MMC with OTP settings).
4. Default pins can be altered by OTP.
5. Alternatively, another SDMMC1 or SDMMC2 interface than this default can be selected by OTP.
(3)
Serial NAND Flash on QUADSPI
(4)
(2)
28/260DS12505 Rev 5
STM32MP157C/FFunctional overview
3.8 Power supply management
3.8.1 Power supply scheme
Caution:V
•The V
is the main supply for I/Os and internal part kept powered during Standby
DD
mode. Useful voltage range is 1.71 V to 3.6 V (e.g. 1.8 V, 2.5 V, 3.0 V or 3.3 V typ.)
–V
•The V
DDCORE
DD_DSI
, V
DD_PLL
and V
DD_ANA
must be star-connected to VDD.
is the main digital voltage and is usually shutdown during Standby mode.
Voltage range during Run mode is 1.18 V to 1.25/1.38 V (1.2/1.34 V typ.), see
Table 13: General operating conditions.
•The VBAT pin can be connected to the external battery (1.2 V < V
external battery is used, it is mandatory to connect this pin to V
DD
BAT
.
< 3.6 V). If no
•The VDDA pin is the analog (ADC/DAC/VREF), supply voltage range is 1.71 V to 3.6 V.
DAC can only be used when V
requires V
equal to or higher than V
DDA
is above or equal 1.8 V. Using Internal V
DDA
REF+
+ 0.3 V.
REF+
•The VDDA1V8_REG pin is the output of internal regulator and connected internally to
USB PHY and USB PLL. Internal V
DDA1V8_REG
regulator is enabled by default and can
be controlled by software. It is always shut down during Standby mode.
There is specific BYPASS_REG1V8 pin that must be connected either to V
or VDD to
SS
activate or deactivate the voltage regulator. It is mandatory to bypass the 1.8 V
regulator when V
VDDA1V8_REG pin must be connected to V
is below 2.25 V (BYPASS_REG1V8 = V
DD
(if below 1.98 V) or to a dedicated
DD
. In that case,
DD)
1.65 V - 1.98 V supply (1.8 V typ.).
•V
DDA1V8_DSI
Should be connected to V
is the analog DSI supply. Voltage range is 1.65 V to 1.98 V. (1.8 V typ.)
DDA1V8_REG
.
•VDDA1V1_REG pin is the output of internal regulator connected internally to USB PHY.
Internal V
DDA1V1_REG
regulator is enabled by default and can be controlled by
software. It is always shut down during Standby mode.
•VDDA1V2_DSI_REG pin is the output of internal regulator and connected internally to
DSI PLL.
•V
DDA1V2_DSI_PHY
V
DDA1V2_DSI_REG
•V
DD3V3_USBHS
PHY supply. Voltage range is 3.07 V to 3.6 V. V
OTG_VBUS and ID pins. So, V
speed OTG device is used. If not used, must be connected to V
DD3V3_USBHS
must not be present unless V
is the analog DSI PHY supply and should be connected to
.
and V
DD3V3_USBFS
are respectively the USB high-speed and full-speed
is used to supply
DD.
DD3V3_USBFS
DDA1V8_REG
DD3V3_USBFS
must be supplied as well when USB high-
is present, otherwise permanent
STM32MP157C/F damage could occur. Must be ensured by PMIC ranking order or with
external component in case of discrete component power supply implementation.
•V
DDQ_DDR
is the DDR IO supply.
–Voltage range is 1.425 V to 1.575 V for interfacing DDR3 memories (1.5 V typ.).
–Voltage range is 1.283 V to 1.45 V for interfacing DDR3L memories (1.35 V typ.).
–Voltage range is 1.14 V to 1.3 V for interfacing LPDDR2 or LPDDR3 memories
(1.2 V typ.).
DS12505 Rev 529/260
59
Functional overviewSTM32MP157C/F
MSv47490V1
0.3
1
V
BOR0
3.6
Operating modePower-onPower-downtime
V
V
DDX
(1)
V
DD
Invalid supply areaV
DDX
< V
DD
+ 300 mV
V
DDX
independent from V
DD
During power-up and power-down phases, the following power sequence requirements
must be respected:
• When VDD is below 1 V, other power supplies (V
V
DDA1V8_DSI
V
+ 300 mV.
DD
• When V
During the power-down phase, V
, V
DDA1V1_REG
is above 1 V, all power supplies are independent.
DD
, V
DD3V3_USBHS/FS
can temporarily become lower than other supplies only
DD
, V
DDCORE
DDQ_DDR
, V
, V
DDA
DDA1V8_REG
) must remain below
,
if the energy provided to the STM32MP157C/F device remains below 1 mJ; this allows
external decoupling capacitors to be discharged with different time constants during the
power- down transient phase.
Figure 2. Power-up/down sequence
1. V
refers to any power supply among V
DDX
V
DD3V3_USBHS/FS
, V
DDQ_DDR
, V
.
DDCORE
DDA
, V
DDA1V8_REG
, V
DDA1V8_DSI
, V
DDA1V1_REG
,
30/260DS12505 Rev 5
Loading...
+ 230 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.