79. Software error robustness collector (SERC)

79.1 Introduction

The SERF (software-error robustness framework) detects accesses to target peripherals that are either shutdown (computing clock off), or under reset. Upon detection of the access, the software-error robustness detector (SERD) answers the bus request instead of the shutdown target. It reports a bus illegal access (bus_ilac) to the software-error robustness collector (SERC). In this context, a bus illegal access is an access to peripherals either under reset, or with clock not enabled.

The SERC fires an interrupt, and is equipped with registers to identify the target generating the fault, and enabling/masking corresponding interrupt.

The primary use of the SERF is to prevent CPU hangs on accessing AXI shutdown targets.

The SERF works in collaboration with the RCC, which provides clocks and resets.

79.2 SERF main features

The SERF includes:

The detectors have a zero-cycle pass through latency if the target is enabled.

79.3 SERF functional description

79.3.1 SERF block diagram

The SERF is made up of four building blocks, namely AXI SERD, AHB SERD, AHB SERDAB (SERD address based), and SERC.

AXI SERD, AHB SERD, and AHB SERDAB can be instantiated as many times as required, while usually there is a single SERC instance.

Figure 1010 shows a SERF example interconnect featuring:

Figure 1010. SERF overview

Block diagram of the SERF overview showing the interconnection between various error detection components and the SERC.

The diagram illustrates the SERF (Software Error Robustness Collector) overview. At the top, the SERC (5) block contains an IER register, an ISR / ICR register, a Masking / routing block, and a bus_ilac events block. An APB interface provides access to the SERC, and a serc_irq output is generated. Below the SERC, multiple bus_ilac signals are shown, each connected to a specific error detection component: SERDA B (4) (n IP) with AHB interfaces, SERD (ICN) (3) with AHB interfaces, SERD (IP) (2) with AHB interfaces, and SERD (1) with AXI interfaces. The diagram is labeled MSv54327V1 in the bottom right corner.

Block diagram of the SERF overview showing the interconnection between various error detection components and the SERC.

When a SERD gets a bus access to a target shutdown or under reset, it generates an error response on the data bus and a bus_ilac to the SERC. Each bus_ilac is recorded in SERC_ISRx registers, and a serc_irq is fired.

The interrupt handler can do the following:

79.3.2 SERF key internal signals

Table 893. Key internal signals

ModuleInterfacesFunctionality
AXI SERDOne AXI slave and one AXI masterReceives the clk_en_ip and rstn_ip of the peripheral. It is connected to from the RCC. Reports a bus_ilac to the SERC.
AHB SERDOne AHB slave and one AHB masterReceives the clk_en_ip and rstn_ip of the peripheral. It is connected to from the RCC. If the SERD is connected to an AHB matrix, it receives the clk_en_ip and the rsnt_ip of all the IPs connected to the AHB matrix. Reports a bus_ilac to the SERC.
AHB SERDABReceives the clk_en_ip and rstn_ip of all the peripherals connected to the AHB2APB downstream from the RCC. Reports a bus_ilac to the SERC per address region it protects.
SERCOne slave APBReceives all bus_ilac signals from the embedded SERD /SERDAB. Generates a SERC_irq when one or several bus_ilac are detected.

The SERC resource allocation is aligned to the one defined for the RIF (product dependent).

79.3.3 SERF resets and clocks

AXI SERD, AHB SERD, and AHB SERDAB receive the same clock and reset signals of the interconnect they are inserted in. SERC has a single clock and a single reset. All clocks and resets are provided by the RCC.

79.3.4 Functionality and programming model

AXI SERD

As shown in Figure 1011, AXI SERD is made up of one AXI slave interface, one AXI master interface, and an internal logic to detect access to non-available target peripheral, generating appropriate response, and reporting a bus_ilac to the SERC.

Figure 1011. AXI SERD block diagram

AXI SERD block diagram showing the internal structure of the AXI SERD block. It includes an AXI configurable slave interface (traffic coming in), a Bypass or generate read/write response block, an Arbitrate vs. normal responses block, and an AXI configurable master interface (traffic going out). Control signals include clk_icn, rst_icn, rst_ip, and clk_en_ip. Data signals include AR, AW, W, B, and R. The output bus_ilac is connected to the SERC block.

The diagram illustrates the AXI SERD block structure. It features an 'AXI SERD' block containing an 'AXI configurable slave interface (traffic coming in)' on the left and an 'AXI configurable master interface (traffic going out)' on the right. Between these interfaces are two internal logic blocks: 'Bypass or generate read response / Bypass or generate write response' and 'Arbitrate vs. normal responses'. Control inputs 'clk_icn' and 'rst_icn' enter the top left, while 'rst_ip' and 'clk_en_ip' (from RCC) enter the top right. Data inputs/outputs are labeled AR, AW, W, B, and R. A 'bus_ilac' signal is output from the bottom right to the 'SERC' block. The diagram is labeled 'MSv54320V1' in the bottom right corner.

AXI SERD block diagram showing the internal structure of the AXI SERD block. It includes an AXI configurable slave interface (traffic coming in), a Bypass or generate read/write response block, an Arbitrate vs. normal responses block, and an AXI configurable master interface (traffic going out). Control signals include clk_icn, rst_icn, rst_ip, and clk_en_ip. Data signals include AR, AW, W, B, and R. The output bus_ilac is connected to the SERC block.

Note: The AXI SERD does not allow recover when a peripheral is wrongly shut down (when there are still outstanding responses expected from the peripheral). It only prevents that a peripheral under shutdown or reset is accessed.

AHB SERD

Figure 1012 shows a block diagram of the AHB SERD (for IP). The AHB SERD is made up of one AHB slave interface, one AHB master interface, and an internal logic for detecting access to non available target IP, generating an appropriate response, and reporting a bus_ilac to the SERC.

Figure 1012. AHB SERD for IP block diagram

Block diagram of the AHB SERD for IP block. The diagram shows the internal structure of the AHB SERD, which includes a 32-bit slave interface (traffic coming in), a 32-bit master interface (traffic going out), and internal logic for bypassing or generating write responses and arbitrating vs. normal responses. The AHB SERD receives clk_icn, rst_icn, AHB req, and AHB rsp signals. It outputs AHB req and AHB rsp signals. The internal logic is controlled by rst_ip and clk_en_ip signals from the RCC. The AHB SERD also outputs a bus_ilac signal to the SERC.

The diagram illustrates the AHB SERD for IP block. It is a rectangular block with several inputs and outputs. On the left, there are inputs for clk_icn, rst_icn, and AHB req. On the right, there are outputs for AHB req and AHB rsp. Inside the block, there is a 32-bit slave interface (traffic coming in) on the left and a 32-bit master interface (traffic going out) on the right. Between them is a dashed box containing two blocks: Bypass or generate write response and Arbitrate vs. normal responses. The 32-bit slave interface connects to the Bypass or generate write response block, which in turn connects to the Arbitrate vs. normal responses block. The Arbitrate vs. normal responses block connects to the 32-bit master interface. The 32-bit slave interface also has an output for AHB rsp. The 32-bit master interface has an input for AHB rsp. The Bypass or generate write response block has an output for bus_ilac which connects to the SERC block. The SERC block is represented by a dashed rectangle. The bus_ilac signal is also connected to the SERC block. The 32-bit slave interface and 32-bit master interface are connected to the clk_icn and rst_icn inputs. The 32-bit master interface is also connected to the rst_ip and clk_en_ip inputs from the RCC.

Block diagram of the AHB SERD for IP block. The diagram shows the internal structure of the AHB SERD, which includes a 32-bit slave interface (traffic coming in), a 32-bit master interface (traffic going out), and internal logic for bypassing or generating write responses and arbitrating vs. normal responses. The AHB SERD receives clk_icn, rst_icn, AHB req, and AHB rsp signals. It outputs AHB req and AHB rsp signals. The internal logic is controlled by rst_ip and clk_en_ip signals from the RCC. The AHB SERD also outputs a bus_ilac signal to the SERC.

As shown in Figure 1013, the AHB SERD is made up of one AHB slave interface, one AHB master interface, and an internal logic for detecting access to non-available target peripherals, generating an appropriate response, and reporting a bus_ilac to the SERC.

The AHB SERD (for ICN) differs from the AHB SERD (for peripheral) because it is located in front of an AHB grape. If all targets connected to this grape are switched off, the grape is switched off as well. The AHB SERD for ICN must handle any access directed to it. For this purpose, it receives all ip_clk_en and ip_rst signals of the targets connected to the AHB grape it protects.

Figure 1013. AHB SERD for ICN block diagram

Block diagram of AHB SERD for ICN. The diagram shows an AHB SERD block with inputs clk_icn, rst_icn, AHB req, and AHB rsp. It contains an AXI 32-bit slave interface (traffic coming in), a Bypass or generate response block, an Arbitrate vs. normal responses block, and an AXI 32-bit master interface (traffic going out). Control signals rst_ip[1..n] and clk_en_ip[1..n] come from the RCC. The output bus_ilac is connected to the SERC block.

The diagram illustrates the internal structure of the AHB SERD for ICN. It features an AXI 32-bit slave interface for incoming traffic and an AXI 32-bit master interface for outgoing traffic. Between these interfaces is a logic block that can either bypass the traffic or generate a response, and an arbitration block to distinguish between normal and error responses. Control signals for reset and clock enable are received from the RCC. The final output is the bus_ilac signal, which is sent to the SERC (Software error robustness collector).

Block diagram of AHB SERD for ICN. The diagram shows an AHB SERD block with inputs clk_icn, rst_icn, AHB req, and AHB rsp. It contains an AXI 32-bit slave interface (traffic coming in), a Bypass or generate response block, an Arbitrate vs. normal responses block, and an AXI 32-bit master interface (traffic going out). Control signals rst_ip[1..n] and clk_en_ip[1..n] come from the RCC. The output bus_ilac is connected to the SERC block.

AHB SERDAB

Figure 1014 shows the block diagram of the AHB SERDAB for shielding an APB2AHB bridge. The AHB SERDAB is made up of one AHB slave interface, one AHB master interface, and an internal logic for detecting access to non-available target peripherals, generating appropriate response, and reporting a bus_ilac to the SERC. The AHB SERDAB differs from the AHB SERD (for peripheral) because it is located in front of an AHB2APB bridge. Each APB target connected to the AHB2APB bridge can drive its pready and pslverr signals or not. If the target does not drive pready and pslverr, these signals are tied, respectively, to 1 and 0. It is then not possible to discriminate if the response at the AHB master interface comes really from the APB target, or is a dummy response, from a target that may be in power down. To overcome this limitation, the AHB SERDAB can do the following:

Figure 1014. AHB SERDAB for AHB2APB block diagram

AHB SERDAB for AHB2APB block diagram

The diagram illustrates the AHB SERDAB block. It features an AXI 32-bit slave interface (traffic coming in) on the left receiving AHB req and returning AHB rsp, and an AXI 32-bit master interface (traffic going out) on the right generating AHB req and receiving AHB rsp. Control signals clk_icn and rst_icn enter from the top left, while rst_ip[1..n] and clk_en_ip[1..n] enter from the top right with bus width n. The internal logic includes an address range check table (Address range 1 to Address range n, each with Active? status), a Bypass or generate response block, and an Arbitrate vs. normal responses block. A bus_ilac[1..n] signal with bus width n exits from the bottom right. The reference ID MSv54323V1 is located in the bottom right corner.

Address range 1Active?
⋮Active?
Address range nActive?
AHB SERDAB for AHB2APB block diagram

SERC

The SERC gathers in a central place all the bus_ilac signals and registers to enable, mask, and clear the resulting serc_irq. The SERC maps each bus_ilac to one of its registers, accessible through an APB interface.

Figure 1015. SERC block diagram

SERC block diagram showing IER, ISR / ICR, Masking / routing, and bus_ilac events blocks connected via an APB interface.

The diagram shows the internal structure of the SERC module. It is connected via an APB interface on the left, driven by pclk and Preset_n signals. Inside the SERC, registers include IER and ISR / ICR, which interface with a central Masking / routing block. The Masking / routing block connects below to the bus_ilac events block. The bus_ilac events block receives multiple bus_ilac inputs labeled n through m. The serc_irq output signal leaves the top of the SERC block. The diagram is referenced as MSv54326V1 at the bottom right.

SERC block diagram showing IER, ISR / ICR, Masking / routing, and bus_ilac events blocks connected via an APB interface.

The device embeds a RIF infrastructure, hence a RISUP is present in front of the APB interface. Figure 1016 shows the SERF when connected to the RISUP block.

Figure 1016. SERF with an RISUP

Block diagram showing SERF connected with RISUP, APB buses, SERC block (IER, ISR/ICR, Masking / routing, bus_ilac events), and various SERD units (AD, ICN, IP) connected to AHB and AXI interfaces.
Block diagram showing SERF connected with RISUP, APB buses, SERC block (IER, ISR/ICR, Masking / routing, bus_ilac events), and various SERD units (AD, ICN, IP) connected to AHB and AXI interfaces.

Table 894. SERF resources mapping

Peripherals 95 to 64Peripherals 63 to 32Peripherals 31 to 0
SAES95USBH63USART131
PKA94To AHB662SPDIFRX30
RNG293ETH261-29
RNG192ETH160-28
-91ADC259SPI627
-90ADC158SPI526
-89HDP57SPI425
DCMI PSSI88FDCAN56SPI324
DCMIPP87-55SPI223
CSI86MDF154SPI122
-85-53LPTIM521
-84SAI452LPTIM420
-83SAI351LPTIM319
-82SAI250LPTIM218
-81SAI149LPTIM117
LTDC_CMN80-48TIM2016
-79-47TIM1715
SDMMC378-46TIM1614
SDMMC277-45TIM1513
SDMMC176-44TIM1412
OCTOSPI275I2C343TIM1311
OCTOSPI174I2C242TIM1210
STGEN73I2C141TIM119
-72LPUART140TIM108
-71-39TIM87
-70-38TIM76
-69UART737TIM65
-68USART636TIM54
DDRPERFM67UART535TIM43
OTG_HS66UART434TIM32
-65USART333TIM21
-64USART232TIM10

Table 894. SERF resources mapping (continued)

Peripherals 127 to 96
127IAC
126-
125OTFDEC1
124-
123-
122-
121-
120LTDC_L3
119LTDC_L1L2
118ICACHE DCACHE
117-
116I3C3
115I3C2
114I3C1
113-
112-
111-
110SERC
109CRC
108-
107DTS
106VREFBUF
105-
104WWDG1
103IWDG4
102IWDG3
101IWDG2
100IWDG1
99CRYP2
98CRYP1
97HASH2
96HASH1
Peripherals 159 to 128
159SYSCFG
158RISC
157CA35SS
156RCC
155PWR
154EXTI2
153EXTI1
152TAMP
151RTC
150-
149HPDMA3
148HPDMA2
147HPDMA1
146-
145-
144IPCC1
143-
142-
141-
140MCE
139-
138-
137RISAF4 or DDRCTRL_port1 or DDRCTRL
136-
135RISAF2
134RISAF1 or BKPSRAM
133-
132RISAB5 or RETRAM
131-
130RISAB3 or SRAM1
129RISAB2
128RISAB1 or SYSRAM
Peripherals 191 to 160
191To AHB3
190To AHB5
189STM
188APBDEBUG
187-
186To SDMMCconf
185To USBconf
184-
183-
182To AHB2
181-
180-
179-
178DBGMCU
177BSEC
176FMC
175DDRPHYC
174DDRCTRL or DDRDBG
173-
172-
171GPIOD
170-
169-
168GPIOD
167GPIOD
166GPIOD
165GPIOD
164GPIOD
163GPIOD
162GPIOD
161GPIOD
160GPIOD

79.4 SERF low-power modes

The SERF does not support low power modes.

79.5 SERC interrupts

The SERC fires an interrupt when a detector reports a bus_ilac to it. The interrupt is cleared by writing the SER_ICR register matching the SERC_ISR that generated the interrupt. The SERC_ICR auto resets itself when the corresponding SERC_ISR bit is reset.

The interrupt remains high as long as there is one bit set to 1 in the SERC_ISR register. This ensures that none of the reported bus_ilac can be missed by the interrupt handler.

Interrupts can be masked individually for each bus_ilac source through register SERC_IER.

79.6 SERC registers

The AXI/AHB SERD/SERDAB are not provided with registers.

The SERC has a set of registers:

SERC is disabled at boot time, and must be enabled.

On top of these functional registers, the SERC is also provided with configuration registers:

All SERC registers are accessed by words (32-bit). Byte and 16-bit write accesses are ignored and have no effect, read accesses always return 0. In all cases, byte and 16-bit accesses do not generate a bus error.

Read accesses to unmapped addresses or write-only registers always report errors. Write accesses to unmapped accesses or read-only registers are ignored and have no effects.

The collector asserts the bit corresponding to a bus_ilac input and fires an interrupt. Upon reception of the interrupt, the interrupt handler can check this register to retrieve which peripheral generated the interrupt.

When the interrupt handler has finished dealing with the power-down or reset illegal access interrupt, it writes in this register to clear the interrupt and reset the status in the corresponding peripheral SERC_ISRx register. This register is then auto-reset.

79.6.1 SERC interrupt enable register 0 (SERC_IER0)

Address offset: 0x0000

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRIE[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PDRIE[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
ST logo
ST logo

Bits 31:0 PDRIE[31:0]: Power-down or reset interrupt enable for peripheral y (y = 0 to 31)
Sets the bit to unmask access to power-down or reset events from the peripheral y.
0: power-down or reset access event from peripheral y does not generate an interrupt (masked)
1: power-down or reset access event from peripheral y generates an interrupt (unmasked)

79.6.2 SERC interrupt enable register 1 (SERC_IER1)

Address offset: 0x0004

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRIE[63:48]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PDRIE[47:32]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 PDRIE[63:32]: Power-down or reset interrupt enable for peripheral y (y = 32 to 63)
Sets the bit to unmask access to power-down or reset events from the peripheral y.
0: power-down or reset access event from peripheral y does not generate an interrupt (masked)
1: power-down or reset access event from peripheral y generates an interrupt (unmasked)

79.6.3 SERC interrupt enable register 2 (SERC_IER2)

Address offset: 0x0008

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRIE[95:80]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PDRIE[79:64]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 PDRIE[95:64]: Power-down or reset interrupt enable for peripheral y (y = 64 to 95)
Sets the bit to unmask access to power-down or reset events from the peripheral y.
0: power-down or reset access event from peripheral y does not generate an interrupt (masked)
1: power-down or reset access event from peripheral y generates an interrupt (unmasked)

79.6.4 SERC interrupt enable register 3 (SERC_IER3)

Address offset: 0x000C

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRIE[127:112]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PDRIE[111:96]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 PDRIE[127:96]: Power-down or reset interrupt enable for peripheral y (y = 96 to 127)

Sets the bit to unmask access to power-down or reset events from the peripheral y.

0: power-down or reset access event from peripheral y does not generate an interrupt (masked)

1: power-down or reset access event from peripheral y generates an interrupt (unmasked)

79.6.5 SERC interrupt enable register 4 (SERC_IER4)

Address offset: 0x0010

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRIE[159:144]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PDRIE[143:128]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 PDRIE[159:128]: Power-down or reset interrupt enable for peripheral y (y = 128 to 159)

Sets the bit to unmask access to power-down or reset events from the peripheral y.

0: power-down or reset access event from peripheral y does not generate an interrupt (masked)

1: power-down or reset access event from peripheral y generates an interrupt (unmasked)

79.6.6 SERC interrupt enable register 5 (SERC_IER5)

Address offset: 0x0014

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRIE[191:176]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PDRIE[175:160]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 PDRIE[191:160]: Power-down or reset interrupt enable for peripheral y (y = 160 to 191)
Sets the bit to unmask access to power-down or reset events from the peripheral y.
0: power-down or reset access event from peripheral y does not generate an interrupt (masked)
1: power-down or reset access event from peripheral y generates an interrupt (unmasked)

79.6.7 SERC interrupt status register 0 (SERC_ISR0)

Address offset: 0x0040

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRS[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PDRS[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 PDRS[31:0]: Power-down or reset interrupt status for peripheral y (y = 0 to 31)
The collector sets this bit when a bus_ilac is collected for peripheral y.
0: no power-down or reset event recorded for this peripheral
1: a power-down or reset access event has been reported from this peripheral

79.6.8 SERC interrupt status register 1 (SERC_ISR1)

Address offset: 0x0044

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRS[63:48]
rrrrrrrrrrrrrrrr
1514131211109876543210
PDRS[47:32]
rrrrrrrrrrrrrrrr

Bits 31:0 PDRS[63:32]: Power-down or reset interrupt status for peripheral y (y = 32 to 63)
The collector sets this bit when a bus_ilac is collected for peripheral y.
0: no power-down or reset event recorded for this peripheral
1: a power-down or reset access event has been reported from this peripheral

79.6.9 SERC interrupt status register 2 (SERC_ISR2)

Address offset: 0x0048

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRS[95:80]
rrrrrrrrrrrrrrrr
1514131211109876543210
PDRS[79:64]
rrrrrrrrrrrrrrrr

Bits 31:0 PDRS[95:64]: Power-down or reset interrupt status for peripheral y (y = 64 to 95)
The collector sets this bit when a bus_ilac is collected for peripheral y.
0: no power-down or reset event recorded for this peripheral
1: a power-down or reset access event has been reported from this peripheral

79.6.10 SERC interrupt status register 3 (SERC_ISR3)

Address offset: 0x004C

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRS[127:112]
rrrrrrrrrrrrrrrr
1514131211109876543210
PDRS[111:96]
rrrrrrrrrrrrrrrr

Bits 31:0 PDRS[127:96]: Power-down or reset interrupt status for peripheral y (y = 96 to 127)
The collector sets this bit when a bus_ilac is collected for peripheral y.
0: no power-down or reset event recorded for this peripheral
1: a power-down or reset access event has been reported from this peripheral

79.6.11 SERC interrupt status register 4 (SERC_ISR4)

Address offset: 0x0050

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRS[159:144]
rrrrrrrrrrrrrrrr
1514131211109876543210
PDRS[143:128]
rrrrrrrrrrrrrrrr

Bits 31:0 PDRS[159:128]: Power-down or reset interrupt status for peripheral y (y = 128 to 159)
The collector sets this bit when a bus_ilac is collected for peripheral y.
0: no power-down or reset event recorded for this peripheral
1: a power-down or reset access event has been reported from this peripheral

79.6.12 SERC interrupt status register 5 (SERC_ISR5)

Address offset: 0x0054

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRC[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PDRC[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 PDRC[191:160]: Power-down or reset clear flag for peripheral y (y = 160 to 191)
The collector sets this bit when a bus_ilac is collected for peripheral y.
0: no power-down or reset event recorded for this peripheral
1: a power-down or reset access event has been reported from this peripheral

79.6.13 SERC interrupt clear register 0 (SERC_ICR0)

Address offset: 0x0080

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRC[31:16]
wwwwwwwwwwwwwwww
1514131211109876543210
PDRC[15:0]
wwwwwwwwwwwwwwww

Bits 31:0 PDRC[31:0]: Power-down or reset clear flag for peripheral y (y = 0 to 31)
When set, this write-only bit clears the status flag of the illegal access event y set in SERC_ISR0 register.
0: PDRCy flag status is not affected
1: PDRCy flag status is cleared in SERC_ISR0 register

79.6.14 SERC interrupt clear register 1 (SERC_ICR1)

Address offset: 0x0084

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRC[63:48]
wwwwwwwwwwwwwwww
1514131211109876543210
PDRC[47:32]
wwwwwwwwwwwwwwww

Bits 31:0 PDRC[63:32]: Power-down or reset clear flag for peripheral y (y = 32 to 63)

When set, this write-only bit clears the status flag of the illegal access event y set in SERC_ISR1 register.

0: PDRCy flag status is not affected

1: PDRCy flag status is cleared in SERC_ISR1 register

79.6.15 SERC interrupt clear register 2 (SERC_ICR2)

Address offset: 0x0088

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRC[95:80]
wwwwwwwwwwwwwwww
1514131211109876543210
PDRC[79:64]
wwwwwwwwwwwwwwww

Bits 31:0 PDRC[95:64]: Power-down or reset clear flag for peripheral y (y = 64 to 95)

When set, this write-only bit clears the status flag of the illegal access event y set in SERC_ISR2 register.

0: PDRCy flag status is not affected

1: PDRCy flag status is cleared in SERC_ISR2 register

79.6.16 SERC interrupt clear register 3 (SERC_ICR3)

Address offset: 0x008C

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRC[127:112]
wwwwwwwwwwwwwwww
1514131211109876543210
PDRC[111:96]
wwwwwwwwwwwwwwww

Bits 31:0 PDRC[127:96]: Power-down or reset clear flag for peripheral y (y = 96 to 127)
When set, this write-only bit clears the status flag of the illegal access event y set in SERC_ISR3 register.
0: PDRCy flag status is not affected
1: PDRCy flag status is cleared in SERC_ISR3 register

79.6.17 SERC interrupt clear register 4 (SERC_ICR4)

Address offset: 0x0090

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRC[159:144]
wwwwwwwwwwwwwwww
1514131211109876543210
PDRC[143:128]
wwwwwwwwwwwwwwww

Bits 31:0 PDRC[159:128]: Power-down or reset clear flag for peripheral y (y = 128 to 159)
When set, this write-only bit clears the status flag of the illegal access event y set in SERC_ISR4 register.
0: PDRCy flag status is not affected
1: PDRCy flag status is cleared in SERC_ISR4 register

79.6.18 SERC interrupt clear register 5 (SERC_ICR5)

Address offset: 0x0094

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRC[191:176]
wwwwwwwwwwwwwwww
1514131211109876543210
PDRC[175:160]
wwwwwwwwwwwwwwww

Bits 31:0 PDRC[191:160]: Power-down or reset clear flag for peripheral y (y = 160 to 191)
When set, this write-only bit clears the status flag of the illegal access event y set in SERC_ISR5 register.
0: PDRCy flag status is not affected
1: PDRCy flag status is cleared in SERC_ISR5 register

79.6.19 SERC enable (SERC_ENABLE)

Address offset: 0x0100

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SERFEN
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 SERFEN: Enable the SERF framework.

When the SERF is enabled, an access to a target under reset or clocked off is detected; a functional error response is given back on the IP bus, an illegal access is reported to the SERC, and an interrupt is fired according to the SERC registers configuration. When the SERF is disabled, an access to a target under reset or clocked off is not detected.

79.6.20 SERC hardware configuration register (SERC_HWCFGR)

Address offset: 0x03F0

Reset value: 0x000X 00XX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CFG2[2:0]
rrr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.CFG1[7:0]
rrrrrrrr

Bits 31:19 Reserved, must be kept at reset value.

Bits 18:16 CFG2[2:0]: NUM_RESYNC_FLOPS, number of resynchronization flops when receiving a bus_ilac information in the SERC clock domain.

Bits 15:8 Reserved, must be kept at reset value.

Bits 7:0 CFG1[7:0]: NUM_ILAC, number of illegal accesses input pins configured for this instance of the collector.

79.6.21 SERC version register (SERC_VERR)

Address offset: 0x03F4

Reset value: 0x0000 0010

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.MAJREV[3:0]MINREV[3:0]
rrrrrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 MAJREV[3:0]: Major revision

Bits 3:0 MINREV[3:0]: Minor revision

79.6.22 SERC identification register (SERC_IPIDR)

Address offset: 0x03F8

Reset value: 0x0010 01F0

31302928272625242322212019181716
ID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
ID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 ID[31:0]: IP identification code

79.6.23 SERC size identification register (SERC_SIDR)

Address offset: 0x03FC

Reset value: 0xA3C5 DD01

31302928272625242322212019181716
SID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
SID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 SID[31:0]: Size identification code (1 Kbyte)

ST logo
ST logo

79.6.24 SERC register map

Table 895. SERC register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000SERC_IER0PDRIE[31:0]
Reset value00000000000000000000000000000000
0x004SERC_IER1PDRIE[63:32]
Reset value00000000000000000000000000000000
0x008SERC_IER2PDRIE[95:64]
Reset value00000000000000000000000000000000
0x00CSERC_IER3PDRIE[127:96]
Reset value00000000000000000000000000000000
0x010SERC_IER4PDRIE[159:128]
Reset value00000000000000000000000000000000
0x014SERC_IER5PDRIE[191:160]
Reset value00000000000000000000000000000000
0x040SERC_ISR0PDRS[31:0]
Reset value00000000000000000000000000000000
0x044SERC_ISR1PDRS[63:32]
Reset value00000000000000000000000000000000
0x048SERC_ISR2PDRS[95:64]
Reset value00000000000000000000000000000000
0x04CSERC_ISR3PDRS[127:96]
Reset value00000000000000000000000000000000
0x050SERC_ISR4PDRS[159:128]
Reset value00000000000000000000000000000000
0x054SERC_ISR5PDRS[191:160]
Reset value00000000000000000000000000000000
0x080SERC_ICR0PDRS[31:0]
Reset value00000000000000000000000000000000
0x084SERC_ICR1PDRS[63:32]
Reset value00000000000000000000000000000000
0x088SERC_ICR2PDRS[95:64]
Reset value00000000000000000000000000000000
0x08CSERC_ICR3PDRS[127:96]
Reset value00000000000000000000000000000000
0x090SERC_ICR4PDRS[159:128]
Reset value00000000000000000000000000000000
0x094SERC_ICR5PDRS[191:160]
Reset value00000000000000000000000000000000
0x100SERC_ENABLERes.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.SERFEN
Reset value0
0x104-0x3ECReservedReserved
0x3F0SERC_HWCFCGRRes.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
0x3F4SERC_VERRRes.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
0x3F8SERC_IPIDRID[31:0]
Reset value000000000000000010000000111111000
0x3FCSERC_SIDRSID[31:0]
Reset value101000111101010111101110000000001
ST logo
ST logo

Refer to Section 2.4 for the register boundary addresses.