This article lists all internal peripherals embedded in STM32MP13x lines and shows the assignment possibilities to the runtime contexts for each one of them.
From this article, you can also access to individual peripheral articles with information related to the overview and configuration aspects.
1. Internal peripherals overview[edit | edit source]
The figure below shows all peripherals embedded in STM32MP13 device, grouped per functional domains that are reused in many places of this wiki to structure the articles.
Several runtime contexts exist on STM32MP13 device, corresponding to the Arm Cortex-A7 security modes:
- Arm Cortex-A7 secure (Trustzone), running a Secure Monitor or Secure OS like OP-TEE
- Arm Cortex-A7 non secure , running Linux
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.
Both the diagram below and the following summary table (in the Internal peripherals assignment chapter below) are clickable in order to jump to each peripheral overview article and get more detailed information (like the software frameworks used to control them). These list STMicroelectronics recommendations. The STM32MP13 reference manual [1] may expose more possibilities then what is shown here.
2. Internal peripherals assignment[edit | edit source]
Click on the right to expand the legend...
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.
- ⬚ means that the peripheral can be assigned to the given runtime context, but this configuration is not supported in STM32 MPU Embedded Software distribution.
- ✓ 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 STM32MP13 reference manuals.
Domain | Peripheral | Runtime allocation | Comment | ||
---|---|---|---|---|---|
Instance | Cortex-A7 secure (OP-TEE) |
Cortex-A7 non-secure (Linux) | |||
Analog | ADC | ADC1 | ⬚ | ☐ | Assignment (single choice) |
ADC2 | ☐ | ☐ | Assignment (single choice) ADC2 can be used for system supplies monitoring | ||
Analog | DFSDM | DFSDM | ☐ | Assignment (single choice) | |
Analog | VREFBUF | VREFBUF | ☐ | ☐ | Assignment (single choice) VREFBUF should be secured whenever one ADC is secured. VREFBUF must not be secured when all ADC are non-secured. |
Audio | SAI | SAI1 | ☐ | Assignment (single choice) | |
SAI2 | ☐ | Assignment (single choice) | |||
Audio | SPDIFRX | SPDIFRX | ☐ | Assignment (single choice) | |
Core | STGEN | STGEN | ✓ | ✓ | |
Core/DMA | DMA | DMA1 | ☐ | Assignment (single choice) | |
DMA2 | ☐ | Assignment (single choice) | |||
DMA3 | ⬚ | Assignment (single choice) | |||
Core/DMA | DMAMUX | DMAMUX1 | ☐ | Assignment (single choice) | |
DMAMUX2 | ⬚ | Assignment (single choice) | |||
Core/DMA | MDMA | MDMA | ⬚ | ☐ | Shareable (multiple choices supported) |
Core/Interrupts | EXTI | EXTI | ✓ | ✓ | |
Core/Interrupts | GIC | GIC | ✓ | ✓ | |
Core/IOs | GPIO | GPIOA-I | ✓ | ✓ | Shared (with pin granularity) |
Core/RAM | BKPSRAM | BKPSRAM | ☐ | ⬚ | Assignment (single choice) |
Core/RAM | DDR via DDRCTRL | DDR | ✓ | ✓ | |
Core/RAM | SRAM | SRAM1 | ☐ | ☐ | Assignment (between A7 S and A7 NS) |
SRAM2 | ☐ | ☐ | Assignment (between A7 S and A7 NS) | ||
SRAM3 | ☐ | ☐ | Assignment (between A7 S and A7 NS) | ||
Core/RAM | SYSRAM | SYSRAM | ☐ | ☐ | Shareable (multiple choices supported) |
Core/Timers | LPTIM | LPTIM1 | ☐ | ||
LPTIM2 | ⬚ | ☐ | Assignment (single choice) | ||
LPTIM3 | ☐ | ☐ | Assignment (single choice) LPTIM3 can be used for HSE monitoring | ||
LPTIM4 | ☐ | ||||
LPTIM5 | ☐ | Assignment (single choice) | |||
Core/Timers | TIM | TIM1 (APB2 group) | ☐ | ||
TIM2 (APB1 group) | ☐ | ||||
TIM3 (APB1 group) | ☐ | ||||
TIM4 (APB1 group) | ☐ | ||||
TIM5 (APB1 group) | ☐ | ||||
TIM6 (APB1 group) | ☐ | ||||
TIM7 (APB1 group) | ☐ | ||||
TIM8 (APB2 group) | ☐ | ||||
TIM12 (APB6 group) | ☐ | ☐ | Assignment (single choice) TIM12 or TIM15 can be used for HSI/CSI calibration[2] | ||
TIM13 (APB6 group) | ⬚ | ☐ | Assignment (single choice) | ||
TIM14 (APB6 group) | ⬚ | ☐ | Assignment (single choice) | ||
TIM15 (APB6 group) | ☐ | ☐ | Assignment (single choice) TIM12 or TIM15 can be used for HSI/CSI calibration[2] | ||
TIM16 (APB6 group) | ⬚ | ☐ | Assignment (single choice) | ||
TIM17 (APB6 group) | ⬚ | ☐ | Assignment (single choice) | ||
Core/Watchdog | IWDG | IWDG1 | ☐ | ⬚ | IWDG1 is secure programmable via ETZPC but this is not used / supported so not shown in STM32CubeMX |
IWDG2 | ☐ | ☐ | Shared (none or both):
| ||
High speed interface | OTG (USB OTG) | OTG (USB OTG) | ⬚ | ☐ | Assignment (single choice) |
High speed interface | USBH (USB Host) | USBH (USB Host) | ☐ | ||
High speed interface | USBPHYC (USB HS PHY controller) | USBPHYC (USB HS PHY controller) | ⬚ | ☐ | Assignment (single choice) |
Low speed interface | I2C | I2C1 | ☐ | ||
I2C2 | ☐ | ||||
I2C3 | ☐ | ☐ | Assignment (single choice) | ||
I2C4 | ☐ | ☐ | Assignment (single choice) | ||
I2C5 | ☐ | ☐ | Assignment (single choice) | ||
Low speed interface or audio |
SPI | SPI2S1 | ☐ | ||
SPI2S2 | ☐ | ||||
SPI2S3 | ☐ | ||||
SPI2S4 | ⬚ | ☐ | Assignment (single choice) | ||
SPI5 | ⬚ | ☐ | Assignment (single choice) | ||
Low speed interface | USART | USART1 | ☐ | ☐ | Assignment (single choice) |
USART2 | ☐ | ☐ | Assignment (single choice) | ||
USART3 | ☐ | ||||
UART4 | ☐ | ||||
UART5 | ☐ | ||||
USART6 | ☐ | ||||
UART7 | ☐ | ||||
UART8 | ☐ | ||||
Mass storage | FMC | FMC | ⬚ | ☐ | Assignment (single choice) |
Mass storage | QUADSPI | QUADSPI | ⬚ | ☐ | Assignment (single choice) |
Mass storage | SDMMC | SDMMC1 | ⬚ | ☐ | Assignment (single choice) |
SDMMC2 | ⬚ | ☐ | Assignment (single choice) | ||
Networking | ETH | ETH1 | ⬚ | ☐ | Assignment (single choice) |
ETH2 | ⬚ | ☐ | Assignment (single choice) | ||
Networking | FDCAN | FDCAN1 | ☐ | ||
FDCAN2 | ☐ | ||||
Power & Thermal | DTS | DTS | ☐ | ||
Power & Thermal | PWR | PWR | ✓ | ||
Security | BSEC | BSEC | ✓ | ✓ | |
Security | CRC | CRC | ☐ | ||
Security | CRYP | CRYP | ☐ | ☐ | Assignment (single choice) |
Security | DDRMCE | DDRMCE | ✓ | ✓ | |
Security | PKA | PKA | ☐ | ⬚ | Assignment (single choice) |
Security | SAES | SAES | ☐ | ⬚ | Assignment (single choice) |
Security | TZC | TZC | ✓ | ||
Trace & Debug | DBGMCU | DBGMCU | No assignment | ||
Trace & Debug | DDRPERFM | DDRPERFM | ✓ | ||
Trace & Debug | HDP | HDP | ☐ | ||
Visual | DCMIPP | DCMIPP | ☐ | ||
Visual | LTDC | LTDC | ☐ | ☐ | Shareable (multiple choices supported) |
3. References[edit | edit source]