9. Resource isolation framework security controller (RIFSC)
9.1 Introduction
Resource isolation framework (RIF) is a comprehensive set of hardware blocks designed to enforce and manage isolation of STM32 hardware resources, like memory and peripherals.
The RIFSC (RIF security controller) is composed of three sets of registers, each managing a specific set of hardware resources:
- • RISC registers associated with RISUP logic (resource isolation slave unit for peripherals), assign all non RIF-aware peripherals to zero, one or any security domains (secure, privilege, compartment).
- • RIMC registers: associated with RIMU logic (resource isolation master unit for address space protection), assign all non RIF-aware bus master to one security domain by setting secure, privileged, and compartment information on the system bus. Alternatively, the RISUP logic controlling the slave port access to a peripheral can assign target bus attributes to this peripheral master port (supported attribute: CID).
- • RISC registers associated with RISAL logic (resource isolation slave unit for address space - Lite version), assign address space subregions to one security domain (secure, privilege, compartment).
9.2 RIFSC main features
- • As a RIF core component, assign specific device resources to security domains: isolating resources defined as peripherals and some variable sized address space regions
- • Centralized set of registers controlling the RIF logic associated to legacy slave peripheral targets: RISUP
- • Centralized set of registers controlling the RIF logic associated to master ports of legacy peripherals: RIMU
- • Centralized set of registers controlling the RIF logic associated to variable sized address space regions: RISAL
- • Support for legacy master port RIF attribute inheritance from configuration port programming (supported attribute: CID)
- • Secure guard: legacy master port forced to non-secure when its associated configuration port is programmed non-secure
- • Built-in hardware semaphores to change dynamically ownership of peripheral resources
- • Each compartment CPU can see only the interrupt events of the legacy peripheral resources allocated to it
- • Support to RIF special debug domain, with greater accesses for debugger used in secure or non-secure global debug sessions
9.3 RIFSC implementation
RIMU
Master port RIF protections in this device (using RIMU) are defined in Table 37. Possible inheritance from RISUP of RIF configuration is also defined.
Table 37. RIMU resource assignment
| Index(1) | Master name | CID at reset | RISUP(2) inheritance |
|---|---|---|---|
| - | CPU1 (Cortex-A35) | 0x1 | No |
| - | CPU2 (Cortex-M33) | 0x2 | |
| - | CPU3 (Cortex-M0+) | 0x3 | |
| 0 | Trace (ETR) | 0x0 | |
| 1 | SDMMC1 | RISUP76 | CID, secure guard(3) |
| 2 | SDMMC2 | RISUP77 | |
| 3 | SDMMC3 | RISUP78 | |
| 4 | USB3DR | RISUP66 | |
| 5 | USBH (USB2) | RISUP63 | |
| 6 | ETH1 | RISUP60 | |
| 7 | ETH2 | RISUP61 | |
| 8 | PCIE | RISUP68 | |
| 9 | GPU | RISUP79 | |
| 10 | DCMIPP (camera) | RISUP87 | |
| 11 | LTDC L1 or L2 | 0x0 | No |
| 12 | LTDC L3 | ||
| 13 | LTDC ROT | ||
| 14 | VDEC | RISUP89 | CID, secure guard(3) |
| 15 | VENC | RISUP90 |
- 1. When no index is written, the CID values are hardcoded, and the master manages security.
- 2. When applicable, the corresponding CIDSEL bit is available in RIFSC_RIMC_ATTRx.
- 3. The master is forced by hardware to non-secure when its associated RISUP is programmed non-secure.
Note: All DMA instances (HPDMA, LPDMA) are not mentioned, as they automatically manage the CID to use on their master ports (0 to 2, or 0 to 3 only), inheriting the value from the CPU that controls a given channel.
RISUP
Table 38 defines the index of the non-RIF-aware peripherals managed by the RIFSC (RISUP blocks) and the IAC. Few RIF-aware peripherals are also listed.
When a peripheral is used by multiple security domains (like multiple CPU codes), the RCC implements specific clock and reset access control registers, using a dedicated rcc index, also shown in this table.
Table 38. Indexes for non-RIF-aware peripherals (RISUP)
| Peripherals 31 to 0 | |||
|---|---|---|---|
| rcc | - | USART1 | 31 |
| SPDIFRX | 30 | ||
| rcc | - | SPI8 | 29 |
| SPI7 | 28 | ||
| rcc | - | SPI6 | 27 |
| SPI5 | 26 | ||
| rcc | - | SPI4 | 25 |
| SPI3 | 24 | ||
| rcc | - | SPI2 | 23 |
| SPI1 | 22 | ||
| rcc | - | LPTIM5 | 21 |
| LPTIM4 | 20 | ||
| rcc | - | LPTIM3 | 19 |
| LPTIM2 | 18 | ||
| rcc | - | LPTIM1 | 17 |
| TIM20 | 16 | ||
| rcc | - | TIM17 | 15 |
| TIM16 | 14 | ||
| rcc | - | TIM15 | 13 |
| TIM14 | 12 | ||
| rcc | - | TIM13 | 11 |
| TIM12 | 10 | ||
| rcc | - | TIM11 | 9 |
| TIM10 | 8 | ||
| rcc | - | TIM8 | 7 |
| TIM7 | 6 | ||
| rcc | - | TIM6 | 5 |
| TIM5 | 4 | ||
| rcc | - | TIM4 | 3 |
| TIM3 | 2 | ||
| rcc | - | TIM2 | 1 |
| TIM1 | 0 | ||
| Peripherals 63 to 32 | |||
| rcc | - | USBH | 63 |
| - | 62 | ||
| rcc | - | ETH2 | 61 |
| ETH1 | 60 | ||
| rcc | - | ADC3 | 59 |
| ADC12 | 58 | ||
| rcc | - | HDP | 57 |
| FDCAN | 56 | ||
| rcc | - | ADF1 | 55 |
| MDF1 | 54 | ||
| rcc | - | - | 53 |
| SAI4 | 52 | ||
| rcc | - | SAI3 | 51 |
| SAI2 | 50 | ||
| rcc | - | SAI1 | 49 |
| I2C8 | 48 | ||
| rcc | - | I2C7 | 47 |
| I2C6 | 46 | ||
| rcc | - | I2C5 | 45 |
| I2C4 | 44 | ||
| rcc | - | I2C3 | 43 |
| I2C2 | 42 | ||
| rcc | - | I2C1 | 41 |
| LPUART1 | 40 | ||
| rcc | - | UART9 | 39 |
| UART8 | 38 | ||
| rcc | - | UART7 | 37 |
| USART6 | 36 | ||
| rcc | - | UART5 | 35 |
| UART4 | 34 | ||
| rcc | - | USART3 | 33 |
| USART2 | 32 | ||
| Peripherals 95 to 64 | |||
| rcc | - | HASH | 95 |
| SAES | 94 | ||
| rcc | - | PKA | 93 |
| RNG | 92 | ||
| rcc | - | - | 91 |
| VENC | 90 | ||
| rcc | - | VDEC | 89 |
| DCMI PSSI | 88 | ||
| rcc | - | DCMI PP | 87 |
| CSI | 86 | ||
| rcc | - | - | 85 |
| LVDS | 84 | ||
| rcc | - | - | 83 |
| - | 82 | ||
| rcc | - | DSI common(1) | 81 |
| LTDC common(1) | 80 | ||
| rcc | - | GPU | 79 |
| SDMMC3 | 78 | ||
| rcc | - | SDMMC2 | 77 |
| SDMMC1 | 76 | ||
| rcc | - | OCTOSPI2 | 75 |
| OCTOSPI1 | 74 | ||
| rcc | - | STGEN(2) | 73 |
| ETHSW_ACM_MSG | 72 | ||
| rcc | - | ETHSW_ACM | 71 |
| ETHSW_DEIP | 70 | ||
| rcc | - | UCPD1 | 69 |
| PCIE | 68 | ||
| rcc | - | COMBOPHY | 67 |
| USB3DR | 66 | ||
| rcc | - | - | 65 |
| - | 64 | ||
| Peripherals 127 to 96 | |||
| rcc | - | IAC(2)(3) | 127 |
| OTFDEC2 | 126 | ||
| rcc | - | OTFDEC1 | 125 |
| - | 124 | ||
| rcc | - | DSI_RD(3) | 123 |
| DSI_TRIG(3) | 122 | ||
| rcc | - | LTDC_ROT(3) | 121 |
| LTDC_L3(3) | 120 | ||
| rcc | - | LTDC_L1L2(3) | 119 |
| ICACHE DCACHE(3) | 118 | ||
| rcc | - | I3C4 | 117 |
| I3C3 | 116 | ||
| rcc | - | I3C2 | 115 |
| I3C1 | 114 | ||
| rcc | - | - | 113 |
| GICV2M | 112 | ||
| rcc | - | OCTOSPIM | 111 |
| SERC | 110 | ||
| rcc | - | CRC | 109 |
| RAMCFG | 108 | ||
| rcc | - | DTS | 107 |
| VREFBUF | 106 | ||
| rcc | - | - | 105 |
| WWDG2 | 104 | ||
| rcc | - | WWDG1 | 103 |
| IWDG5 | 102 | ||
| rcc | - | IWDG4 | 101 |
| IWDG3 | 100 | ||
| rcc | - | IWDG2 | 99 |
| IWDG1 | 98 | ||
| rcc | - | CRYP2 | 97 |
| CRYP1 | 96 | ||
- 1. Common configuration registers (refer to the corresponding peripheral section for details).
- 2. RIF-aware peripheral, without access control registers in the RIFSC.
- 3. No associated registers in the RCC.
IAC and RCC indexes for RIF-aware peripherals and RIF protected memories
Table 39 defines the index of the RIF firewall components and RIF-aware peripherals managed by IAC and RCC peripherals.
Note: All these peripherals are RIF-aware, not requiring RISUP, and usually belonging to multiple compartments.
Table 39. Indexes for RIF-aware peripherals (with RCC control index)
| Peripherals 159 to 128 | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 159 | 158 | 157 | 156 | 155 | 154 | 153 | 152 | 151 | 150 | 149 | 148 | 147 | 146 | 145 | 144 | 143 | 142 | 141 | 140 | 139 | 138 | 137 | 136 | 135 | 134 | 133 | 132 | 131 | 130 | 129 | 128 | |
| - | SYSCFG | RIFSC | CA35SS | RCC | PWR | EXTI2 | EXTI1 | TAMP | RTC | LPDMA1 | HPDMA3 | HPDMA2 | HPDMA1 | HSEM | IPCC2 | IPCC1 | - | - | RISAL3 (LPSRAM3) | RISAL2 (LPSRAM2) | RISAL1 (LPSRAM1) | RISAF5 (PCIE) | RISAF4 (DDR-SDRAM) | - | RISAF2 (OCTOSPI1/2) | RISAF1 (BKPSRAM) | RISAB6 (VDERAM) | RISAB5 (RETRAM) | RISAB4 (SRAM2) | RISAB3 (SRAM1) | - | RISAB1/2 (SYSRAM) |
| rcc | - | - | 106 | - | - | - | - | 102 | 102 | 86 | 85 | 84 | 83 | 89 | 88 | 87 | - | - | 82 | 81 | 80 | - | 104 | - | 110/111 | 77 | 75 | 76 | 79 | 78 | - | 74 |
| Peripherals 191 to 160 | ||||||||||||||||||||||||||||||||
| 191 | 190 | 189 | 188 | 187 | 186 | 185 | 184 | 183 | 182 | 181 | 180 | 179 | 178 | 177 | 176 | 175 | 174 | 173 | 172 | 171 | 170 | 169 | 168 | 167 | 166 | 165 | 164 | 163 | 162 | 161 | 160 | |
| - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | BSEC | FMC | DDRPHYC | DDRCTRL | - | - | GPIOZ | GPIOK | GPIOJ | GPIOI | GPIOH | GPIOG | GPIOF | GPIOE | GPIOD | GPIOC | GPIOB | GPIOA |
| rcc | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 103 | 112 | 104 | 104 | - | - | 101 | 100 | 99 | 98 | 97 | 96 | 95 | 94 | 93 | 92 | 91 | 90 |
RIFSC, RCC, and IAC common programming
To program the RISUP and the RCC, and to read back illegal access information in the IAC, refer to Section 6.2: Resource isolation framework (RIF).

RISAL
Memories protected in this device by RISAL logic are defined in Table 40.
Table 40. RISAL resource assignment (SmartRun domain)
| Protected memory | Base region name | Watermark programming | Default protection(1) | ||
|---|---|---|---|---|---|
| Subregion A and B configuration registers | Granularity (bytes)(2) | Region size (Kbytes) | |||
| LPSRAM1 | 1 | RISC_REG1_ACFGR RISC_REG1_BCFGR | N/A | 8 | Non-secure Privileged or unprivileged Cortex-M33 and Cortex-M0+ only (CID = 0x2 or 0x3) |
| LPSRAM2 | 2 | RISC_REG2_ACFGR RISC_REG2_BCFGR | 8 | ||
| LPSRAM3 (data RAM) | 3 | RISC_REG3_ACFGR RISC_REG3_AADDR RISC_REG3_BCFGR RISC_REG3_BADDR | 8 | 16 | |
- 1. Default protection policy out of reset.
- 2. Subregion watermark programming is not applicable (N/A) when subregion length is fixed.
9.4 RIFSC functional description
9.4.1 RIFSC block diagrams
The RIFSC is composed of three sets of registers, each managing a specific set of hardware resources: RIMU, RISUP, and RISAL
RIFSC and RIMU block diagram
The following figures show the RIMU block diagrams, associated with its master on the interconnect, and the RIFSC peripheral. RISUP inheritance is defined in Section 9.3.
Figure 19. RIMU block diagram (without inheritance)

Figure 20. RIMU block diagram (with inheritance from RISUP programming)

The diagram illustrates the RIMU block diagram. The RIFSC block on the left contains RISC_SECCFGR, RISC_CIDCFGRy (1), and RIMC_ATTRx (1). It provides signals sec, cid, cidsel, mcid, msec, and mpriv to the RIMUx block. The RISUP block is connected to the AHB bus and Periph y via Slave and Master ports. RIMUx contains internal logic, including a multiplexer (2) and several multiplexers with '1' inputs. It outputs per_nsec, per_priv, and per_cid to the AHB or AXI interconnect. Periph y is connected to the AHB or AXI interconnect via a Master port. The AHB bus is connected to the RISUP and RIMUx. The AHB or AXI interconnect is connected to the RIMUx and Periph y. A per_clk signal is also shown.
(1) Trusted domain only
(2) Default CID value selected when IPy is not controlled by a single compartment.
MSv67855V1
RIFSC and RISUP block diagram
Figure 21 shows the block diagram of the RISUP, associated with its slaves on the interconnect, the IAC, and the RIFSC peripherals.
The RISUP logic protecting a peripheral uses information from the RIFSC to determine which security, privilege, and compartment are allowed to go through. There is also inheritance between the access right to the peripheral and the access to the corresponding clocking and reset bits in the RCC peripheral.
Figure 21. RISUP block diagram

The RISUP block diagram illustrates the Resource Isolation Security Unit Peripheral. It features an AHB bus connected to a RIFSC block containing registers: RISC_SECCFG, RISC_CIDCFGx(*), RISC_PRIVCFG, and RISC_SEMCRx. The RIFSC is connected to an RCC block. The RISUP block contains two RIF gates, each connected to a Slave peripheral (Slave periph 0 and Slave periph 1). The RIF gates are connected to a System bus, which is further connected to AHB and APB buses. The System bus is connected to Master 1 and Master 2. The RIF gates are connected to the RCC block via signals: sec, priv, cid, and config. The RIF gates are connected to the Slave peripherals via signals: ck_per0, ck_per1, and per0_irq[0 to 3], per1_irq[0 to 3]. The Slave peripherals are connected to the IAC block via signals: per0_ilac and per1_ilac. The Slave peripherals are connected to the CPU0, CPU1, CPU2, and CPU3 blocks. The RISUP block is connected to the IAC block via signals: per0_irq[0 to 3] and per1_irq[0 to 3]. The RISUP block is connected to the CPU0, CPU1, CPU2, and CPU3 blocks via signals: per0_irq[0 to 3] and per1_irq[0 to 3]. The RISUP block is connected to the IAC block via signals: per0_ilac and per1_ilac. The RISUP block is connected to the CPU0, CPU1, CPU2, and CPU3 blocks via signals: per0_irq[0 to 3] and per1_irq[0 to 3]. The RISUP block is connected to the IAC block via signals: per0_ilac and per1_ilac. The RISUP block is connected to the CPU0, CPU1, CPU2, and CPU3 blocks via signals: per0_irq[0 to 3] and per1_irq[0 to 3].
RIFSC and RISAL block diagram
Figure 22 shows the block diagram of the RISAL, associated with its memory controller on the interconnect, the IAC, and the RIFSC peripherals.
Figure 22. RISAL block diagram

The RISAL block diagram illustrates the Resource Isolation Security Unit Address Logic. It features an AHB bus connected to a RIFSC block containing registers: RISC_REG1_ACFGR, RISC_REG1_BCFGR, RISC_REG1_AADDR(*), and RISC_REG2_BADDR(*). The RIFSC is connected to an IAC block. The RISAL1 block contains a RIF gate connected to a System bus, which is further connected to AHB and APB buses. The System bus is connected to Master 1 and Master 2. The RIF gate is connected to the RIFSC block via signals: sec, priv, cid, start/end, and risal_ilac. The RIF gate is connected to the Memory ctrl block via signals: sck and -tdcid. The Memory ctrl block is connected to the Memory block. The RISAL2 block is also shown. The RISAL1 block is connected to the RIFSC block via signals: sec, priv, cid, start/end, and risal_ilac. The RISAL1 block is connected to the Memory ctrl block via signals: sck and -tdcid. The Memory ctrl block is connected to the Memory block. The RISAL2 block is also shown.
9.4.2 RIFSC internal signals
Table 41, Table 42, and Table 43, describe some internal signals available at, respectively, RIMU, RISUP, and RISAL logic levels.
Table 41. RIMU internal input/output signal
| Name | Type | Description |
|---|---|---|
| per_clk | Digital input | Peripheral master port bus clock |
Table 42. RISUP internal input/output signals
| Name | Type | Description |
|---|---|---|
| ck_perX | Digital input | Peripheral x kernel clock from RCC |
| ilac | Digital output | Illegal access signal to IAC |
Table 43. RISAL internal input/output signals
| Name | Type | Description |
|---|---|---|
| sck | Digital input | System bus clock, also used by the protected memory controller |
| ilac | Digital output | Illegal access signal to IAC |
9.4.3 RIFSC reset and clocks
RIMU, RISUP, and RISAL logics share the same clock and the same reset as the resource they are protecting.
The RIFSC has a single reset. After a SoC general reset (power-on reset), all non RIF-aware peripherals become non-secure and unprivileged, reachable by any CID. For embedded SRAM protected by RISAL, default values are defined in RISAL.
9.4.4 RIFSC control of masters (RIMU)
RIMC registers in RIFSC, associated with the RIMU logic, assign bus master x to a security domain by setting secure, privileged, and compartment information on the system bus using RIMC_ATTRx registers. Alternatively, when clearing the corresponding SEL bit in RIMC_ATTRx, the bus attribute of the master port x is taken from the RISUP that controls the access to slave port of this peripheral x (supported attribute: CID).
RIMC registers must be initialized by a trusted domain application after the device reset. Optionally this application can set the GLOCK bit in RIMC_CR, preventing further writes to all RIMC registers. This bit can be cleared only by a power-on reset.
If a trusted domain application programs a compartment ID equals 4, 5, or 6 using the MCID[2:0] bitfield, these masters are usually sand boxed to dedicated chunk of memories, and have a reduced set of peripherals and GPIOs.
Note: In the STM32MP23/25xA/D device, CID 7 is reserved for multicore debugging (see Section 6.2.7: RIF special security domain: debug domain).
9.4.5 RIFSC control of debug access port (DAP)
For the protection of the DAP master port, a specific hardware has been implemented in the device. The table below summarizes how the DAP peripheral performs its accesses on the interconnect, based on the debug profile selected by the secure application in the device.
Table 44. DAP compartment ID allocation
| Debug profile | CPU debug | MCUs debug | DAP CID value | Comment |
|---|---|---|---|---|
| Microcontroller debug | No | Yes | same as Cortex-M33 (0x2) | In this profile, both MCUs can be debugged. Only peripherals accessible to Cortex-M33 can be accessed by the DAP, if security and privilege allow it. |
| Application processor debug | Yes | No | same as Cortex-A35 (0x1) | Only peripherals accessible to Cortex-A35 can be accessed by the DAP, if security and privilege allow it. |
| Global debug (MCUs and CPU) | Yes | Yes | Any CID (default: 0x7) | DAP CID is defined by DAPCID bitfield in RIMC_CR. DAPCID is writable by secure, non-secure, privileged or unprivileged DAP. |
Three important notes are linked to this table:
- • In microcontroller and application processor debug modes, the DAP has exactly the same right in the RIF as the Cortex core under debug (Cortex-M or Cortex-A).
- • In non-secure global debug mode, when DAPCID = 0x7, the DAP in privileged mode can access (in read and write) all non-secure resources without changing the RIF configuration.
- • In secure global debug mode, when DAPCID = 0x7, the DAP in privileged mode can access (in read and write) any resources in the device (peripheral and memory), including registers reserved to the trusted domain.
The way to set up these debug profiles in the device is explained in Section 7.3.10: BSEC debug and trace control.
Figure 23 illustrates how BSEC, DAP, RIMU, and RIMC are integrated. If a global debug profile is selected in BSEC (CPU + MCU debug activated), the DAPCID bitfield in RIMC_CR is writable by secure, non-secure, privileged, or unprivileged DAP. The GDPEN bit is also set in RIMC_SR. If any other debug profile is selected, RIMC_CR can be written only by a trusted domain application.
Note: When no debug profile is selected, the DAP CID is zero.
When DAPCID is left with its default value (0x7), the DAP is assigned to the RIF debug domain, when a global debug profile is selected.
DAP privileged level is not defined by RIMU. Hence, if debug tools define the DAP as unprivileged, its access can be rejected by the target even if DAPCID = 0x7.
Figure 23. DAP and its RIMU

9.4.6 RIFSC control of peripherals (RISUP)
RISC registers in RIFSC, associated with the RISUP logic, assign non-RIF aware peripherals to none, one or any security domain (secure, privilege, compartment). The figure below illustrates the principle of this allocation.
Figure 24. Allocation of RISUP resources

| Periph#0 | Periph#1 | Periph#2 | Periph#3 | Periph#4 | Periph#5 | Periph#6 | Periph#7 |
|---|---|---|---|---|---|---|---|
| s | ns | s or ns | s | s or ns | ns | ||
| p | np | p or np | p | p or np | np | ||
| CID1 | CID2 | C1 or C2 or none | CID2 | C2 or C3 or none | CID3 | All CIDs | |
| All CIDs (ro) | All CIDs (ro) | ||||||
Legend Dynamic CID selection (semaphore) s/ns: Secure-only access (or not) ro: Read only
Static/static-locked CID selection p/np: Privileged-only access (or not)
For each peripheral, the RIF allows the following policies:
- • any compartment access (default configuration)
- • single-compartment access, statically defined by the trusted domain application
- • single-compartment access, dynamically taken by non-trusted domain applications, granted by the trusted domain
- • no compartment access, statically configured by the trusted domain application
Note: For the first three cases, the filtering based on secure and privileged always applies.
At any point in time, the trusted domain application can lock the RIF configuration of a peripheral until the next reset, by setting the RLOCK bit in RISC_RCFGLOCKR.
As defined in Section 6.2: Resource isolation framework (RIF), the debug domain (privileged) must be granted following accesses when activated:
- • A secure debug domain can read and write anywhere in the device, including registers reserved for the trusted domain.
- • A non-secure debug domain can only access (in read and write) peripherals that are tagged by the application as non-secure.
RISUP application information
To assign statically the peripheral x to the compartment y, a trusted domain application must set SCID to CIDy and CFEN to 1 in RISC_PERx_CIDCFGR. An application in compartment y can then set or clear the SECx bit in RISC_SECCFG, and the PRIVx bit in RISC_PRIVCFGR, if the security and privilege of the access are sufficient.
To grant statically the peripheral x to any compartment, a trusted domain application must clear CFEN bit to 0 in RISC_PERx_CIDCFGR. An application in any compartment can then set or clear SECx in RISC_SECCFG, and PRIVx in RISC_PRIVCFGR, if the security and privilege of the access are sufficient.
Note: Only a secure privileged application can write to RISC_SECCFG, while only a privileged application can write to RISC_PRIVCFGR.
The SECx bit in RISC_SECCFG controls the secure access to PRIVx in RISC_PRIVCFGR.
The dynamic assignment of peripheral x to compartment y1 or y2 is done as follows:
- • A trusted domain application sets the white-listed SEMWLCy1 and SEMWLCy2 bits in RISC_PERx_CIDCFGR. The SEM_EN and CFEN bits must also be set.
- • An application running in Cy1 or Cy2 compartment can now take the SEM_MUTEX bit in RISC_PERx_SEMCR, by setting it to 1. When SEM_MUTEX = 0, the first white-listed application that takes this bit owns it (only this application can clear the MUTEX bit).
- • When the RISUP semaphore takes the peripheral x and associated clocking, the reset bits in the RCC peripheral become accessible to the application that has taken the semaphore. This application can then set or clear SECx in RISC_SECCFG, and PRIVx in RISC_PRIVCFGR, if the security and privilege of the access are sufficient. If the applications running in other compartments try to access this peripheral, the reads return zero and the writes are ignored.
Note: At any time, a trusted domain application can reset the peripheral x semaphore by clearing then setting SEM_EN in RISC_PERx_CIDCFGR.
When the trusted domain needs to prevent any compartment to access a peripheral x, the recommended procedure is the following:
- 1. Mask illegal access interrupts from peripheral x in IAC_IER register.
- 2. Set RISC_CIDCFGRx to statically assign it to TDCID.
- 3. Set RCC_xCFGR with default values.
- 4. Reset all SEMWLCy bits, and set SEM_EN and CFEN bits in RISC_PERx_CIDCFGR.
From that point, no applications can take the semaphore, hence the access to the peripheral is prevented.
Note: Steps 2 to 3 are not needed if the RCC bits corresponding to this peripheral are at the default values.
The above methods are summarized in the figure below.
Figure 25. RISUP initialization principle

graph TD; Start(( )) --> D1{ }; D1 -- "[CFEN=0]" --> B1([Any secure privileged CID can update security]); D1 -- "[CFEN=1]" --> D2{ }; D2 -- "[SEM_EN=0]" --> B2([Grant peripheral usage to one CID]); D2 -- "[SEM_EN=1]" --> B3([Grant peripheral usage to some CIDs]); B3 --> B4([One CID takes ownership of the peripheral]); B4 --> B5([Granted privileged secure CID updates peripheral security]); B2 --> B5; B1 --> D3{ }; D3 -- "[non-secure]" --> B6([Any privileged CID can update privilege]); D3 -- "[secure]" --> B7([Any secure privileged CID can update privilege]); B5 --> D4{ }; D4 -- "[non-secure]" --> B8([Granted privileged CID can update peripheral privilege]); D4 -- "[secure]" --> B9([Granted secure privileged CID can update peripheral privilege]); B6 --> End(( )); B7 --> End; B8 --> End; B9 --> End; End --> Label[Enable the resource];CFEN: Compartment filtering enable
SEM_EN: Semaphore enable
Blue: resource configuration delegation to one CPU (if resource not locked)
MSv67860V1
9.4.7 RIFSC control of address spaces (RISAL)
RISC registers in RIFSC, associated with the RISAL logic, assign address space subregions to one security domain (secure, privilege, compartment). The figure below illustrates the principle of this allocation.
Note: RISAL base region allocation is defined in RISAL.
Figure 26. RISAL region programming

The diagram illustrates RISAL region programming, divided into two main sections: Subregions programmable length and Subregions fixed length.
Subregions programmable length:
- Access 1: Base region filtering applies. An arrow points to Subregion 1A within Base region 1.
- Access 2: Subregion filtering applies (*). An arrow points to Subregion 1B within Base region 1.
- Access 3: Overlapped area filtering applies (*). An arrow points to Subregion 2B within Base region 2.
- Subregion 2A is also shown within Base region 2.
Subregions fixed length:
- Access 3: Overlapped area filtering applies (*). An arrow points to Subregion 1B within Base region 1.
- Subregion 1A is also shown within Base region 1.
- Access 2: Subregion filtering applies (*). An arrow points to Subregion 2A within Base region 2.
At the bottom left, a note states: (*) Base region filtering does not apply.
At the bottom right, the identifier MSv67861V1 is present.
As shown in the above figure, there are multiple types of access toward a base region, filtered by RISAL:
- • Access to an area not belonging to any enabled subregion: filtering for such access is fixed to secure, privileged, and TDCID only.
- • Access to an area located in an enabled subregion: filtering for such access is defined in the subregion, with only one compartment that can be granted access.
- • For the accesses to an area overlapping two enabled subregions, both subregion filtering rules are used by RISAL as follows:
- – If both subregions are secure (resp. non-secure), the overlap is secure (resp. non-secure)
- – If one subregion is non-secure (resp. unprivileged), overlap is non-secure (resp. unprivileged).
- – For reads and writes, if one of the two subregions grants access to this compartment, the access can go through. Hence, up to two compartments can be granted access to an overlapped subregion.
Note: When a subregion is disabled, the associated filtering is also disabled.
RISAL application information
Programming RISAL is consistent with programming subregion registers in RISAF, using the SEC, PRIV, SRCID, RLOCK, and SREN bits in RISC_REGx_zCFGR. Read and write protection is not supported by RISAL subregions.
Note: To change RISC_REG3_zADDR register, the subregion z must be disabled by clearing SREN in RISC_REG3_zCFGR. In this case, the base region access rules apply immediately.
Unlike the RISAF trusted domain cannot delegate the RIF configuration of RISAL, only a trusted domain application can set up RISAL subregions through RISC_REGx_zCFGR and RISC_REG3_zADDR (z = A or B).
For more details, refer to Section 11: Resource isolation slave unit for address space protection (full version) (RISAF).
The RISAL initialization method by a trusted domain application is summarized in the figure below.
Figure 27. RISAL initialization principle

graph TD
Start(( )) --> Step1(set subregion start and end addresses (if not fixed))
Step1 --> Step2(Grant subregion access to one CID)
Step2 --> Step3(Set privilege and security level to granted CID)
Step3 --> End((enable the resource))
The flowchart illustrates the RISAL initialization principle. It begins with a start node (a solid black circle) labeled "For a given subregion resource". The process follows three sequential steps, each in a rounded rectangle: "set subregion start and end addresses (if not fixed)", "Grant subregion access to one CID", and "Set privilege and security level to granted CID". The process concludes with an end node (a solid black circle with a white border) labeled "enable the resource". The reference code "MSv67862V1" is located in the bottom right corner of the diagram area.
9.4.8 Managing illegal accesses
RIF components RISUP and RISAL do not use the standard interrupt lines toward NVIC or GIC concentrators. The IAC captures all RIF interrupt events, called illegal access events.
Refer to Section 12: Illegal access controller (IAC) for more information on the way illegal accesses are managed.
9.5 RIFSC registers
These registers are accessible through the register interface of the RIFSC peripheral.
Registers Section 9.5.1 to Section 9.5.6 are slave control registers for peripherals.
Registers Section 9.5.7 and Section 9.5.9 are slave control registers for memories.
Registers Section 9.5.10 and Section 9.5.12 are master configuration registers.
If security and privileged policy allows it, the debug domain traffic goes through, regardless of any CID filtering policy.
9.5.1 RIFSC RISC slave configuration register x (RIFSC_RISC_CR)
Address offset: 0x000
Reset value: 0x0000 0000
Secure privileged, trusted domain CID write access only. Any read access is allowed on this register. Writes are ignored if GLOCK is set.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GLOCK |
| rs |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 GLOCK: Global lock
This bit locks the configuration of RIFSC RISC registers until next reset. This bit is cleared by default and, once set, it cannot be reset until global RIFSC reset.
0: RIFSC RISC registers are writable.
1: All writes to RIFSC RISC registers are ignored, except RIFSC_RISC_PERy_SEMCR.
9.5.2 RIFSC RISC slave security configuration register x (RIFSC_RISC_SECCFGRx)
Address offset: 0x010 + 0x4 * x, (x = 0 to 5)
Reset value: 0x0000 0000
Non-secure or unprivileged writes to this register are ignored, while any read is allowed. Writes are ignored if GLOCK is set in RIFSC_RISC_CR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SEC{i + 32 * x} | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SEC{i + 32 * x} | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 SEC{i + 32 * x}: Security configuration for peripheral {i + 32 * x} (i = 0 to 31)
0: Secure and non-secure data access are granted to the peripheral {i + 32 * x}.
1: Secure data access only are granted to the peripheral {i + 32 * x}.
Note: Regardless of SEC value, any execute access to peripheral {i + 32 * x} triggers a bus error.
If the compartment filtering for peripheral {i + 32 * x} is enabled (resp. disabled) using CFEN in RIFSC_RISC_PERy_CIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if privilege and security of the access is sufficient.
Authorized compartment is defined as SCID if SEM_EN = 0 in
RIFSC_RISC_PERy_CIDCFGR. If SEM_EN = 1, it is equal to SEMCID, if SEM_MUTEX = 1 in RIFSC_RISC_PERy_SEMCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
9.5.3 RIFSC RISFC slave privileged register x
(RIFSC_RISC_PRIVCFGRx)
Address offset: 0x030 + 0x4 * x, (x = 0 to 5)
Reset value: 0x0000 0000
Unprivileged writes to this register are ignored, while any read is allowed. Writes are ignored if GLOCK is set in RIFSC_RISC_CR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PRIV{i + 32 * x} | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PRIV{i + 32 * x} | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 PRIV{i + 32 * x}: Privileged-only access permission for peripheral {i + 32 * x} (i = 0 to 31)
0: Privileged and unprivileged data access are granted to the peripheral {i + 32 * x}.
1: Privileged data access only are granted to the peripheral {i + 32 * x}.
Note: If corresponding SEC{i + 32 * x} bit is set in RIFSC_RISC_SECCFGRx, this bit can only be written by a secure privileged application.
If the compartment filtering for peripheral {i + 32 * x} is enabled (resp. disabled) using CFEN in RIFSC_RISC_PERy_CIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if privilege and security of the access is sufficient.
Authorized compartment is defined as SCID if SEM_EN = 0 in RIFSC_RISC_PERy_CIDCFGR. If SEM_EN = 1, it is equal to SEMCID, if SEM_MUTEX = 1 in RIFSC_RISC_PERy_SEMCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
9.5.4 RIFSC RISC slave resource configuration lock register x
(RIFSC_RISC_RCFGLOCKRx)
Address offset: 0x050 + 0x4 * x, (x = 0 to 5)
Reset value: 0x0000 0000
Secure privileged, trusted domain CID write access only. Any read access is allowed on this register. Writes are ignored if GLOCK is set in RIFSC_RISC_CR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RLOCK{i + 32 * x} | |||||||||||||||
| rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RLOCK{i + 32 * x} | |||||||||||||||
| rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs |
Bits 31:0 RLOCK{i + 32 * x}: rResource lock for peripheral {i + 32 * x} (i = 0 to 31)
This bit is set to lock the peripheral resource {i + 32 * x}. It is cleared by default and, once set, this bit cannot be cleared until the RIFSC RISC peripheral is reset.
0: SEC{i + 32 * x} in RIFSC_RISC_SECCFGRx and PRIV{i + 32 * x} in RIFSC_RISC_PRIVCFGRx are writable. RIFSC_RISC_PERy_CIDCFGR is writable.
1: Writes to SEC{i + 32 * x} and PRIV{i + 32 * x} are ignored. Writes to RIFSC_RISC_PERy_CIDCFGR register are ignored.
9.5.5 RIFSC RISC slave peripheral y CID configuration register (RIFSC_RISC_PERy_CIDCFGR)
Address offset: 0x100 + 0x8 * y, (y = 0 to 127)
Reset value: 0x0000 0000
Secure privileged, trusted domain CID write access only. Any read access is allowed on this register. Writes are ignored if GLOCK is set in RIFSC_RISC_CR, or if RLOCKy is set in RIFSC_RISC_RCFGLOCKRx.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMw LC7 | SEMw LC6 | SEMw LC5 | SEMw LC4 | SEMw LC3 | SEMw LC2 | SEMw LC1 | SEMw LC0 |
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCID[2:0] | Res. | Res. | SEM_E N | CFEN | ||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 SEMwLCi: Semaphore white list for compartment i (i = 7 to 0)
0: Application running in compartment i cannot get access to peripheral y through the semaphore SEM_MUTEX.
1: Application running in compartment i can get access to peripheral y through the semaphore SEM_MUTEX.
Note: This bit is not taken into account by RISC when the semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
Bits 15:7 Reserved, must be kept at reset value.
Bits 6:4 SCID[2:0]: Static CID
The trusted domain application uses this bitfield to statically define which compartment has access to the peripheral y when SEM_EN = 0.
Note: This CID is not taken into account by RISC when the semaphore is enabled (SEM_EN = 1) or compartment filtering is off (CFEN = 0).
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 SEM_EN: Semaphore enable
0: Access to peripheral y is granted only if CID of the access equals to SCID.
1: Access to peripheral y is granted only if SEM_MUTEX = 1 and CID of the access equals to SEMCID in RIFSC_RISC_PERy_SEMCR.
Note: This bit is not taken into account by RISC if the compartment filtering is off (CFEN = 0). When this bit is cleared from 1 by the trusted domain application, SEM_MUTEX is cleared to zero by RISC.
Bit 0 CFEN: CID filtering enable
0: Compartment-based filtering defined in RIFSC_RISC_PERy_CIDCFGR and optionally RIFSC_RISC_PERy_SEMCR is disabled for peripheral y.
1: Compartment-based filtering defined in RIFSC_RISC_PERy_CIDCFGR and optionally RIFSC_RISC_PERy_SEMCR is enabled for peripheral y.
For any CFEN value, access controls to peripheral y defined in RIFSC_RISC_PRIVCFGRx and RIFSC_RISC_SECCFGRx always apply.
Note: When this bit is cleared from 1 by the trusted domain application, SEM_MUTEX is cleared to zero by RISC.
9.5.6 RIFSC RISC slave peripheral y semaphore control register (RIFSC_RISC_PERy_SEMCR)
Address offset: 0x104 + 0x8 * y, (y = 0 to 127)
Reset value: 0x0000 0000
If the compartment filtering is disabled (CFEN = 0) or the semaphore is disabled (SEM_EN = 0) in RIFSC_RISC_PERy_CIDCFGR, any write to this register is ignored.
Privileged-only write if PRIVy is set in RIFSC_RISC_PRIVCFGRx. Secure-only write if SECy bit is set in RIFSC_RISC_SECCFGRx.
If compartment filtering is enabled and semaphore is enabled (CFEN = SEM_EN = 1), only an authorized compartment can write to this register. For this register, the authorized compartment is equal to SEMCID if SEM_MUTEX = 1, else it is defined by the CID white list (SEMWLCy) in register RIFSC_RISC_PERy_CIDCFGR. There is no authorized compartment if the semaphore is disabled (SEM_EN = 0).
Any read access is allowed to this register. The debug domain is managed like any other masters, when activated.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMCID[2:0] | Res. | Res. | Res. | SEM_MUTEX | ||
| r | r | r | rw | ||||||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:4 SEMCID[2:0]: Semaphore current CID
When SEM_EN and CFEN are set in RIFSC_RISC_PERy_CIDCFGR, this read-only bitfield is updated with the CID value of the latest successful acquisition of RIFSC_RISC_PERy_SEMCR semaphore (SEM_MUTEX = 1).
In all the other cases, this bitfield stays unchanged.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 SEM_MUTEX: Semaphore mutex
A white-listed application can set this bit to get exclusive access to peripheral y when SEM_EN is set in RIFSC_RISC_PERy_CIDCFGR (writes are ignored otherwise).
Read 0: Semaphore is free to take.
Read 1: Semaphore is taken.
Write 0: Release semaphore.
Write 1: Acquire semaphore.
Note: When SEM_MUTEX = 0, only applications belonging to white-listed compartments (defined with SEMWLCi bits in RIFSC_RISC_PERy_CIDCFGR) can acquire this semaphore.
When SEM_MUTEX = 1, only applications belonging to compartment SEMCID can release this semaphore.
This bit is cleared when CFEN or SEM_EN are cleared from 1 by the trusted domain application in RIFSC_RISC_PERy_CIDCFGR.
9.5.7 RIFSC RISAL memory region x subregion A configuration register (RIFSC_RISC_REGx_ACFGR)
Address offset: 0x900+0x010*(x-1) (x = 1 to 3)
Reset value: 0x0000 0021
Secure privileged, trusted domain CID write access only. Any read access is allowed on this register. Writes are ignored if GLOCK is set in RIFSC_RISC_CR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | PRIV | SEC | Res. | SRCID[2:0] | Res. | Res. | RLOCK | SREN | ||
| rw | rw | rw | rw | rw | rs | rw | |||||||||
Bits 31:10 Reserved, must be kept at reset value.
Bit 9 PRIV: Privileged subregion
This bit is taken into account only if SREN = 1.
0: Privileged and unprivileged accesses are granted in subregion A of region x.
1: Only privileged accesses are granted in subregion A of region x.
Note: Access control defined by SEC and SRCID[2:0] also apply.
Bit 8 SEC: Secure subregion
This bit is taken into account only if SREN = 1.
0: Only non-secure requests can access subregion A of region x.
1: Only secure requests can access subregion A of region x.
Note: Access control defined by PRIV and SRCID[2:0] also apply.
Bit 7 Reserved, must be kept at reset value.
Bits 6:4 SRCID[2:0]: Subregion CID
When SREN = 1, this bitfield defines which compartment has access to the subregion A of region x.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 RLOCK: Resource lock
This bit is set to lock this subregion resource. This bit is set once, cleared only by RIFSC reset.
0: RIFSC_RISC_REGx_ACFGR and RIFSC_RISC_REGx_AADDR are writable.
1: Writes to RIFSC_RISC_REGx_ACFGR and RIFSC_RISC_REGx_AADDR are ignored.
Bit 0 SREN: Subregion enable
0: Subregion A is disabled. Only secure, privileged, and trusted domain CID can access between this subregion start and end addresses.
1: Subregion A of region x is enabled. Access control defined in this subregion applies to any access between this subregion start and end addresses.
9.5.8 RIFSC RISAL memory region x subregion B configuration register (RIFSC_RISC_REGx_BCFGR)
Address offset: 0x908+0x010*(x-1) (x = 1 to 3)
Reset value: 0x0000 0031
Secure privileged, trusted domain CID write access only. Any read access is allowed on this register. Writes are ignored if GLOCK is set in RIFSC_RISC_CR.
| RM0457 9.5.8 | column_2 | Bit 1 Bit 0 | RLOCK : Resource lock reset. SREN : Subregion enable | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 27 26 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. Res. Res. Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 11 10 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. Res. Res. PRIV | SEC | Res. | SRCID[2:0] | Res. | Res. | RLOCK SREN | |||
| rw | rw | rw | rw | rw | rs | rw | ||||||
| Bit 9 | PRIV : Privileged subregion | |||||||||||
| Bit 8 | SEC : Secure subregion | |||||||||||
| Bits 6:4 | SRCID[2:0] : Subregion CID region x. | |||||||||||
| RM0457 Rev 5 | 365/ | 5881 |
Bits 31:10 Reserved, must be kept at reset value.
Bit 9 PRIV: Privileged subregion
This bit is taken into account only if SREN = 1.
0: Privileged and unprivileged accesses are granted in subregion B of region x.
1: Only privileged accesses are granted in subregion B of region x.
Note: Access control defined by SEC and SRCID[2:0] also apply.
Bit 8 SEC: Secure subregion
This bit is taken into account only if SREN = 1.
0: Only non-secure requests can access subregion B of region x.
1: Only secure requests can access subregion B of region x.
Note: Access control defined by PRIV and SRCID[2:0] also apply.
Bit 7 Reserved, must be kept at reset value.
Bits 6:4 SRCID[2:0]: Subregion CID
When SREN = 1, this bitfield defines which compartment has access to the subregion B of region x.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 RLOCK: Resource lock
This bit is set to lock this subregion resource. This bit is set once, cleared only by RIFSC reset.
0: RIFSC_RISC_REGx_BCFGR and RIFSC_RISC_REGx_BADDR are writable.
1: Writes to RIFSC_RISC_REGx_BCFGR and RIFSC_RISC_REGx_BADDR are ignored.
Bit 0 SREN: Subregion enable
0: Subregion B is disabled. Only secure, privileged, and trusted domain CID can access between this subregion start and end addresses.
1: Subregion B of region x is enabled. Access control defined in this subregion applies to any access between this subregion start and end addresses.
9.5.9 RIFSC RISAL memory region 3 address register (RIFSC_RISC_REG3_zADDR) (z = A to B)
Address offset: Block A: 0x924
Address offset: Block B: 0x92C
Reset value: 0x0800 0000
Secure privileged, trusted domain CID write access only. Any read access is allowed on this register. Writes are ignored if GLOCK is set in RIFSC_RISC_CR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | SUBLENGTH[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | SUBSTART[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:16 SUBLENGTH[11:0]: Subregion length
This bitfield defines the length of the subregion z, to be multiplied by the RISAL granularity defined in Section 9.3.
As a subregion must be defined within its base region, the access control defined in RIFSC_RISC_REG3_zCFGR applies from offset address SUBSTART[10:0] to the offset address corresponding to the end of the base region 3, when SUBLENGTH[11:0] value is too high.
Bits 15:11 Reserved, must be kept at reset value.
Bits 10:0 SUBSTART[10:0]: Subregion start
This bitfield defines the start address of the subregion z in the RISAL base region 3.
The subregion physical start address equals to the sum of the base address of the base region, plus the SUBSTART[10:0] value multiplied by the RISAL granularity, defined in Section 9.3

9.5.10 RIFSC RIMC master configuration register (RIFSC_RIMC_CR)
Address offset: 0xC00
Reset value: 0x0000 8710
Any read access is allowed on this register. Writes are ignored if GLOCK is set in this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DDEN | Res. | Res. | Res. | Res. | DAPCID[2:0] | Res. | TDCID[2:0] | Res. | Res. | WUCD ONE | GLOCK | ||||
| r | rw | rw | rw | rwo | rwo | rwo | rs | rs | |||||||
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 DDEN: Debug domain enable
This read-only bit gives the status on the debug domain feature availability on this device.
0: Debug domain not available
1: Debug domain available
Bits 14:11 Reserved, must be kept at reset value.
Bits 10:8 DAPCID[2:0]: Debug access port compartment ID
This bitfield defines the CID of the DAP when GDPEN is set in RIFSC_RIMC_SR.
When DAPCID[2:0] = 0x7, debugging tools have the highest level of debug access, if secure global debug profile is enabled in the BSEC peripheral.
When GDPEN = 0, DAPCID[2:0] can be written by trusted application (TDCID secure privileged). When GDPEN = 1, the DAP can also change this bitfield regardless of the access type (secure, non-secure, privileged, or unprivileged).
Bit 7 Reserved, must be kept at reset value.
Bits 6:4 TDCID[2:0]: Trusted domain compartment ID
Master with this compartment ID runs the application with the highest level of trust.
TDCID[2:0] value is distributed in all the device. This bitfield is write once (subsequent writes are ignored).
Note: Secure privileged write access only. Write only by debug domain and trusted domain CIDs, as defined in this register.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 WUCDONE: Wake-up CPU done
Setting this bit deactivates the wake-up CPU mechanism described in Section 6.2: Resource isolation framework (RIF). Reading this bit always returns zero.
0: When WUCEN = 1 in RIFSC_RIMC_SR, the trusted domain CID information is fixed to 0x2 (wake-up CPU), else it is defined in this register.
1: Setting this bit clears WUCEN after few cycles. Once WUCEN = 0, the trusted domain CID information is defined in this register.
Note: Secure privileged write access only. Write only by debug domain and trusted domain CIDs, as defined in this register (including this bit).
Bit 0 GLOCK: Global lock
This bit is used to lock the configuration of RIFSC RIMC registers until next reset. This bit is cleared by default and, once set, it cannot be reset until global RIFSC reset.
0: RIFSC RIMC registers are writable.
1: All writes to RIFSC RIMC registers are ignored.
Note: Secure privileged write access only. Write only by debug domain and trusted domain CIDs, as defined in this register.
9.5.11 RIFSC RIMC master status register (RIFSC_RIMC_SR)
Address offset: 0xC04
Reset value: 0x0000 0000
Any read access is allowed on this register.
| 9.5.11 | column_2 | Bit 0 | GLOCK | column_5 | : Global lock | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | RM0457 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WUCE N r | GDPE N r |
| Bit 1 | WUCEN | : Wake-up CPU enable | |||||||||||||
| mechanism described in | Section 6.2: Resource isolation framework (RIF) | . | |||||||||||||
| Bit 0 | GDPEN | : Global debug profile enable |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 WUCEN: Wake-up CPU enable
This read-only bit is set when the application properly initializes the wake-up CPU mechanism described in Section 6.2: Resource isolation framework (RIF).
0: Wake-up CPU is disabled. The trusted domain CID value is driven by RIFSC_RIMC_CR.
1: Wake-up CPU is enabled. The trusted domain CID value is fixed to 0x2 until the application sets WUCDONE in RIFSC_RIMC_CR (in this case, WUCDONE is cleared after few cycles).
Bit 0 GDPEN: Global debug profile enable
This read-only bit is set when the global-debug profile is activated in the device (CPU and MCU debugging allowed).
0: Global-debug profile (CPU + MCU) is not activated.
1: Global-debug profile (CPU + MCU) is activated.
9.5.12 RIFSC RIMC master attribute register x (RIFSC_RIMC_ATTRx)
Address offset: 0xC10 + x * 0x4 (x = 0 to 15)
Reset value: 0x0000 0000
Secure privileged, trusted domain CID write access only. Any read access is allowed on this register. Writes are ignored if GLOCK is set in RIFSC_RIMC_CR register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | MPRIV | MSEC | Res. | MCID[2:0] | Res. | CIDSEL | Res. | Res. | ||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:10 Reserved, must be kept at reset value.
Bit 9 MPRIV: Master privileged
Value of the privileged flag on the interconnect for this master, programmed by the trusted domain.
0: This master is unprivileged.
1: This master is privileged.
Bit 8 MSEC: Master secure
Value of the secure flag on the interconnect for this master, programmed by the trusted domain.
0: This master is non-secure.
1: This master is secure.
Bit 7 Reserved, must be kept at reset value.
Bits 6:4 MCID[2:0]: Master CID
Value of the CID flag on the interconnect for this master, programmed by the trusted domain.
Valid only if indicated in RIF masters table in Section 9.3. This bitfield is not taken into account when CIDSEL = 0 in this register.
This bitfield cannot be written with a value of 0x7 (write to MCID[2:0] is ignored).
Bit 3 Reserved, must be kept at reset value.
Bit 2 CIDSEL: CID selection
0: Compartment ID of master x is driven by hardware value or by inheritance to associated RISUP. See master table in Section 9.3 for details.
1: Compartment ID of master x is defined by MCID[2:0] in this register.
Bits 1:0 Reserved, must be kept at reset value.
9.5.13 RIFSC peripheral protection status register x (RIFSC_PPSRx)
Address offset: 0xFB0 + 0x4 * x, (x = 0 to 3)
Reset value: 0xFFFF FFFF, 0xBFDF FFFF, 0xF7D3 FDFC, 0x6FFD FDFE
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PPEN{i + 32 * x} | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PPEN{i + 32 * x} | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 PPEN{i + 32 * x}: Peripheral protection enable {i + 32 * x} (i = 0 to 31)
0: RISUP protection to peripheral {i + 32 * x} is not present. The corresponding RIFSC_RISC_PERy_CIDCFGR and RIFSC_RISC_PERy_SEMCR (where y = i + 32 * x) are reserved.
1: RISUP protection to peripheral {i + 32 * x} is present.
9.5.14 RIFSC hardware configuration register 3 (RIFSC_HWCFGR3)
Address offset: 0xFE8
Reset value: 0x0000 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CFG[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CFG[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 CFG[31:0]: Hardware configuration
This bitfield returns the generic value RISAL_FIXED_LENGTH.
9.5.15 RIFSC hardware configuration register 2 (RIFSC_HWCFGR2)
Address offset: 0xFEC
Reset value: 0x0310 0080
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CFG3[7:0] | CFG2[7:0] | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CFG1[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:24 CFG3[7:0]: Hardware configuration 3
This bitfield returns the generic value NUM_RISAL (0x3).
Bits 23:16 CFG2[7:0]: Hardware configuration 2
This bitfield returns the generic value NUM_MP (0x10).
Bits 15:0 CFG1[15:0]: Hardware configuration 1
This bitfield returns the generic value NUM_SP (0x80).
9.5.16 RIFSC hardware configuration register 1 (RIFSC_HWCFGR1)
Address offset: 0xFF0
Reset value: 0x0071 3111
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CFG6[3:0] | CFG5[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CFG4[3:0] | CFG3[3:0] | CFG2[3:0] | CFG1[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:20 CFG6[3:0]: Hardware configuration 6
This bitfield returns the generic value DEFAULT_DAPCID.
Bits 19:16 CFG5[3:0]: Hardware configuration 5
This bitfield returns the generic value DEFAULT_TDCID.
Bits 15:12 CFG4[3:0]: Hardware configuration 4
This bitfield returns the generic value CID_WIDTH.
Bits 11:8 CFG3[3:0]: Hardware configuration 3
This bitfield returns the generic value PRIV_ENABLED.
Bits 7:4 CFG2[3:0]: Hardware configuration 2
This bitfield returns the generic value SEC_ENABLED.
Bits 3:0 CFG1[3:0]: Hardware configuration 1
This bitfield returns the generic value RIF_ENABLED.
9.5.17 RIFSC version register (RIFSC_VERR)
Address offset: 0xFF4
Reset value: 0x0000 0010
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV[3:0] | MINREV[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 MAJREV[3:0]: RIFSC major revision
Bits 3:0 MINREV[3:0] : RIFSC minor revision9.5.18 RIFSC identification register (RIFSC_IPIDR)
Address offset: 0xFF8
Reset value: 0x0010 0162
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
9.5.19 RIFSC size identification register (RIFSC_SIDR)
Address offset: 0xFFC
Reset value: 0xA3C5 DD04
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits[31:8] = 0xA3C5DD (fixed code)
Bits[7:0] = 0x04 (4-Kbyte address decoding)
9.5.20 RIFSC register map
Table 45. RIFSC register map and reset values| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | RIFSC_RISC_CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x010 + 0x004 * x (x = 0 to 5) Last address: 0x024 | RIFSC_RISC_SECCFGRx | SEC{i + 32 * x} | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x028- 0x02C | Reserved | Reserved | |||||||||||||||||||||||||||||||
Table 45. RIFSC register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x030 + 0x004 * x (x = 0 to 5) Last address: 0x044 | RIFSC_RISC_ PRIVCFGRx | PRIV{i + 32 * x} | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x048-0x04C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x050 + 0x004 * x (x = 0 to 5) Last address: 0x064 | RIFSC_RISC_ RCFGLOCKRx | RLOCK{i + 32 * x} | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x068-0x06C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x100 + 0x008 * y (y = 0 to 127) Last address: 0x4F8 | RIFSC_RISC_ PERy_ CIDCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMWLC7 | SEMWLC6 | SEMWLC5 | SEMWLC4 | SEMWLC3 | SEMWLC2 | SEMWLC1 | SEMWLC0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCID[2:0] | Res. | Res. | SEM_EN | CFEN | ||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x104 + 0x008 * y (y = 0 to 127) Last address: 0x4FC | RIFSC_RISC_ PERy_SEMCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMID [2:0] | Res. | Res. | Res. | SEM_MUTEX | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x500-0x904 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x908 + 0x010 * (x-1), (x = 1 to 3) Last address: 0x928 | RIFSC_RISC_ REGx_BCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRIV | SEC | Res. | SRCID [2:0] | Res. | Res. | RLOCK | SREN | ||
| Reset value | 0 | 0 | 0 | 1 | 1 | 0 | 1 | ||||||||||||||||||||||||||
| 0x90C-0x914, 0x91C-0x920 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x924 | RIFSC_RISC_ REG3_AADDR | Res. | Res. | Res. | Res. | SUBLENGHT[11:0] | Res. | Res. | Res. | Res. | Res. | SUBSTART[10:0] | |||||||||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x92C | RIFSC_RISC_ REG3_BADDR | Res. | Res. | Res. | Res. | SUBLENGHT[11:0] | Res. | Res. | Res. | Res. | Res. | SUBSTART[10:0] | |||||||||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x930-0xBFC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0xC00 | RIFSC_RIMC _CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDEN | Res. | Res. | Res. | Res. | DAPCID [2:0] | Res. | TDCID [2:0] | Res. | Res. | WUCDONE | GLOCK | |||||
| Reset value | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||
| 0xC04 | RIFSC_RIMC _SR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WUCEN | GPDEN |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0xC08-0xC0C | Reserved | Reserved | |||||||||||||||||||||||||||||||
Table 45. RIFSC register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xC10 + 0x004 * x (x = 1 to 15) Last address: 0xC4C | RIFSC_RIMC_ATTRx | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MPRIV | MSEC | Res. | MCID[2:0] | Res. | CIDSEL | Res. | Res. | ||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0xC50 to 0xFAC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0xFB0 + 0x004 * x (x = 0 to 3) Last address: 0xFBC | RIFSC_PPSRx | PPEN{i + 32 * x} | |||||||||||||||||||||||||||||||
| Reset value(1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | |
| 0xFC0-0xFE4 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0xFE8 | RIFSC_HWCFGR3 | CFG[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | |
| 0xFEC | RIFSC_HWCFGR2 | CFG3[7:0] | CFG2[7:0] | CFG1[15:0] | |||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0xFF0 | RIFSC_HWCFGR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CFG6[3:0] | CFG5[3:0] | CFG4[3:0] | CFG3[3:0] | CFG2[3:0] | CFG1[3:0] | ||||||||||||||||||
| Reset value | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | |||||||||
| 0xFF4 | RIFSC_VERR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV[3:0] | MINREV[3:0] | ||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | RIFSC_IPIDR | ID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | |
| 0xFFC | RIFSC_SIDR | SID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |
1. See RIFSC peripheral protection status register x (RIFSC_PPSRx) for the various reset values.
Refer to Section 2.4 for the register boundary addresses.