STM32MP15 peripherals overview

Revision as of 15:26, 13 February 2019 by Registered User

Template:ArticleMainWriter Template:ArticleApprovedVersion


SUMMARY
This article lists all internal peripherals embedded in STM32MP15 device and shows the assignment possibilities to the runtime contexts for each one of them.
Via this article, you can also access to individual peripheral articles in which information related to the overview and configuration can be found.

1. Internal peripherals overview[edit source]

The figure below shows all peripherals embedded in STM32MP15 device, grouped per functional domains that are reused in many places of this wiki to structure the articles.

Several runtime contexts exist on STM32MP15 device[1], corresponding to the different Arm cores and associated security modes:

  • ย Arm dual core Cortex-A7 secureย  (Trustzone), running a Secure Monitor or Secure OS like OP-TEE
  • ย Arm dual core Cortex-A7 non secureย , running Linux
  • ย Arm Cortex-M4ย  (non-secure), running STM32Cube


Some peripherals can be strictly assigned to one runtime context: this is the case for most of the peripherals, like USART or I2C.
Other ones can be shared between several runtime contexts: this is the case for system peripherals, like PWR or RCC.
The legend below shows how assigned and shared peripherals are identified in the assignment diagram that follows:

STM32MP1IPsOverview legend.png

Both the diagram below and the following summary table (in Internal peripherals assignment chapter below) are clickable in order to jump to each peripheral overview articles and get more detailed information (like software frameworks used to control them). They list STMicroelectronics recommendations. The STM32MP15 reference manual [2] may expose more possibilities than what is shown here.


STGENSYSCFGRTCEXTIGICNVICIWDGIWDGWWDGDMADMADMAMUXMDMASYSRAMDDR via DDR CTRLBKPSRAMMCU SRAMMCU SRAMRETRAMTIMTIMLPTIMGPIOGPIOIPCCRCCPWRDTSDBGMCUHDPSTMBSECQUADSPIFMCSDMMCFDCANETHSDMMCUSBHOTGUSARTUSARTUSARTI2CI2CI2CSPISPIRNGHASHETZPCCRYPCRCTZCRNGHASHTAMPCRYPCRCGPUDSILTDCDCMICECVREFBUFDACDFSDMADCSPI I2SSPDIFRXSAI
STM32MP1 internal peripherals overview

Template:WarningImageMapOverlay



2. Internal peripherals assignment[edit source]

Internal peripherals

Check boxes illustrate the possible peripheral allocations supported by STM32 MPU Embedded Software:

  • โ˜ means that the peripheral can be assigned (โ˜‘) to the given runtime context.
  • โœ“ is used for system peripherals that cannot be unchecked because they are statically connected in the device.

Refer to How to assign an internal peripheral to a runtime context for more information on how to assign peripherals manually or via STM32CubeMX.
The present chapter describes STMicroelectronics recommendations or choice of implementation. Additional possiblities might be described in STM32MP15 reference manuals.

Domain Peripheral Runtime allocation Comment
Instance Cortex-A7
secure
(OP-TEE)
Cortex-A7
non-secure
(Linux)
Cortex-M4

(STM32Cube)
Analog ADC ADC โ˜ โ˜ Assignment (single choice)
Analog DAC DAC โ˜ โ˜ Assignment (single choice)
Analog DFSDM DFSDM โ˜ โ˜ Assignment (single choice)
Analog VREFBUF VREFBUF โ˜ Assignment (single choice)
Audio SAI SAI1 โ˜ โ˜ Assignment (single choice)
SAI2 โ˜ โ˜ Assignment (single choice)
SAI3 โ˜ โ˜ Assignment (single choice)
SAI4 โ˜ โ˜ Assignment (single choice)
Audio SPDIFRX SPDIFRX โ˜ โ˜ Assignment (single choice)
Coprocessor IPCC IPCC โ˜‘ โ˜‘ Shared (none or both)
Coprocessor HSEM HSEM โœ“ โœ“ โœ“
Core RTC RTC โœ“ โœ“ RTC is mandatory to resynchronize STGEN after exiting low-power modes.
Core STGEN STGEN โœ“ โœ“
Core SYSCFG SYSCFG โœ“ โœ“
Core/DMA DMA DMA1 โ˜ โ˜ Assignment (single choice)
DMA2 โ˜ โ˜ Assignment (single choice)
Core/DMA DMAMUX DMAMUX โ˜ โ˜ Shareable (multiple choices supported)
Core/DMA MDMA MDMA โ˜ โ˜ Shareable (multiple choices supported)
Core/Interrupts EXTI EXTI โ˜ โ˜ Shareable (multiple choices supported)
Core/Interrupts GIC GIC โœ“ โœ“
Core/Interrupts NVIC NVIC โœ“
Core/IOs GPIO GPIOA (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOB (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOC (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOD (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOE (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOF (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOG (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOH (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOI (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOJ (16 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOK (8 pins) โ˜ โ˜ Shareable (with pin granularity)
GPIOZ (8 pins) โ˜ โ˜ โ˜ Shareable (with pin granularity)
Core/RAM BKPSRAM BKPSRAM โ˜ โ˜ Assignment (single choice)
Core/RAM DDR via DDRCTRL DDR โœ“ โœ“
Core/RAM MCU SRAM SRAM1 โ˜ โ˜ โ˜ Assignment (between A7 S and A7 NS / M4)
Shareable (between A7 NS and M4)
SRAM2 โ˜ โ˜ โ˜ Assignment (between A7 S and A7 NS / M4)
Shareable (between A7 NS and M4)
SRAM3 โ˜ โ˜ โ˜ Assignment (between A7 S and A7 NS / M4)
Shareable (between A7 NS and M4)
SRAM4 โ˜ โ˜ โ˜ Assignment (between A7 S and A7 NS / M4)
Shareable (between A7 NS and M4)
Core/RAM RETRAM RETRAM โ˜ โ˜ โ˜ Assignment (single choice)
Core/RAM SYSRAM SYSRAM โ˜ โ˜ Shareable (multiple choices supported)
Core/Timers LPTIM LPTIM1 โ˜ โ˜ Assignment (single choice)
LPTIM2 โ˜ โ˜ Assignment (single choice)
LPTIM3 โ˜ โ˜ Assignment (single choice)
LPTIM4 โ˜ โ˜ Assignment (single choice)
LPTIM5 โ˜ โ˜ Assignment (single choice)
Core/Timers TIM TIM1 (APB2 group) โ˜ โ˜ Assignment (single choice)
TIM2 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM3 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM4 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM5 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM6 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM7 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM8 (APB2 group) โ˜ โ˜ Assignment (single choice)
TIM12 (APB1 group) โ˜ โ˜ โ˜ Assignment (single choice)
TIM13 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM14 (APB1 group) โ˜ โ˜ Assignment (single choice)
TIM15 (APB2 group) โ˜ โ˜ โ˜ Assignment (single choice)
TIM16 (APB2 group) โ˜ โ˜ Assignment (single choice)
TIM17 (APB2 group) โ˜ โ˜ Assignment (single choice)
Core/Watchdog IWDG IWDG1 โ˜
IWDG2 โ˜ โ˜ Shared (none or both):
  • Cortex-A7 non secure for reload
  • Cortex-A7 secure for early interrupt handling
Core/Watchdog WWDG WWDG โ˜
High speed interface OTG (USB OTG) OTG (USB OTG) โ˜
High speed interface USBH (USB Host) USBH (USB Host) โ˜
High speed interface USBPHYC (USB HS PHY controller) USBPHYC (USB HS PHY controller) โ˜
Low speed interface I2C I2C1 โ˜ โ˜ Assignment (single choice)
I2C2 โ˜ โ˜ Assignment (single choice)
I2C3 โ˜ โ˜ Assignment (single choice)
I2C4 โ˜ โ˜ Assignment (single choice).
Used for PMIC control on ST boards.
I2C5 โ˜ โ˜ Assignment (single choice)
I2C6 โ˜ โ˜ Assignment (single choice)
Low speed interface
or
audio
SPI SPI2S1 โ˜ โ˜ Assignment (single choice)
SPI2S2 โ˜ โ˜ Assignment (single choice)
SPI2S3 โ˜ โ˜ Assignment (single choice)
SPI4 โ˜ โ˜ Assignment (single choice)
SPI5 โ˜ โ˜ Assignment (single choice)
SPI6 โ˜ โ˜ Assignment (single choice)
Low speed interface USART USART1 โ˜ โ˜ Assignment (single choice)
USART2 โ˜ โ˜ Assignment (single choice)
USART3 โ˜ โ˜ Assignment (single choice)
UART4 โ˜ โ˜ Assignment (single choice).
Used for Linuxยฎ serial console on ST boards.
UART5 โ˜ โ˜ Assignment (single choice)
USART6 โ˜ โ˜ Assignment (single choice)
UART7 โ˜ โ˜ Assignment (single choice)
UART8 โ˜ โ˜ Assignment (single choice)
Mass storage FMC FMC โ˜
Mass storage QUADSPI QUADSPI โ˜ โ˜ Assignment (single choice)
Mass storage SDMMC SDMMC1 โ˜
SDMMC2 โ˜
SDMMC3 โ˜ โ˜ Assignment (single choice)
Networking ETH ETH โ˜ Assignment (single choice)
Networking FDCAN FDCAN1 โ˜ โ˜ Assignment (single choice)
FDCAN2 โ˜ โ˜ Assignment (single choice)
Power & Thermal DTS DTS โ˜
Power & Thermal PWR PWR โœ“ โœ“ โœ“
Power & Thermal RCC RCC โœ“ โœ“ โœ“
Security BSEC BSEC โœ“ โœ“
Security CRC CRC1 โ˜
CRC2 โ˜
Security CRYP CRYP1 โ˜ โ˜ Assignment (single choice)
CRYP2 โ˜
Security ETZPC ETZPC โœ“ โœ“ โœ“
Security HASH HASH1 โ˜ โ˜ Assignment (single choice)
HASH2 โ˜
Security RNG RNG1 โ˜ โ˜ Assignment (single choice)
RNG2 โ˜
Security TZC TZC โœ“
Security TAMP TAMP โœ“ โœ“
Trace & Debug DBGMCU DBGMCU No assignment
Trace & Debug HDP HDP โ˜
Trace & Debug STM STM No assignment possible
Visual CEC CEC โ˜ โ˜ Assignment (single choice)
Visual DCMI DCMI โ˜ โ˜ Assignment (single choice)
Visual DSI DSI โ˜
Visual GPU GPU โ˜
Visual LTDC LTDC โ˜

3. References[edit source]