96. Software error robustness collector (SERC)

96.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.

96.2 SERF main features

The SERF includes:

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

96.3 SERF functional description

96.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 1172 shows a SERF example interconnect featuring:

Figure 1172. SERF overview

Figure 1172. SERF overview diagram showing the interconnect between various SERD instances and the SERC.

The diagram illustrates the SERF (Software Error Robustness Collector) overview. At the top, a large box represents the SERC (5). Inside the SERC box, there are three sub-components: IER, ISR / ICR, and Masking / routing. Below these is a box for bus_ilac events. An APB interface is shown on the left side of the SERC box, with an arrow pointing into it. An output arrow labeled 'serc_irq' points out from the top left of the SERC box. Below the SERC box, there are four SERD instances connected to it via 'bus_ilac' lines. From left to right, these are: 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 'bus_ilac' lines are labeled with 'n', ':', and ':' indicating multiple instances. The diagram is labeled MSv54327V1 in the bottom right corner.

Figure 1172. SERF overview diagram showing the interconnect between various SERD instances 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 sert_irq is fired.

The interrupt handler can do the following:

96.3.2 SERF key internal signals

Table 1001. 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).

96.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.

96.3.4 Functionality and programming model

AXI SERD

As shown in Figure 1173, 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 1173. AXI SERD block diagram

AXI SERD block diagram showing internal components like AXI configurable slave interface, Bypass or generate read/write response logic, and Arbiter, with external signals like clk_icn, rst_icn, and bus_ilac.

The diagram illustrates the AXI SERD block. It features an 'AXI SERD' main block. On the left, inputs include clk_icn and rst_icn. On the right, inputs include rst_ip and clk_en_ip (labeled 'From RCC'). The internal structure consists of an 'AXI configurable slave interface (traffic coming in)' on the left, which receives AR, AW, and W signals and outputs B and R signals. This interface connects to a central logic block containing 'Bypass or generate read response' and 'Bypass or generate write response' units, which in turn connects to an 'Arbitrate vs. normal responses' unit. On the right, an 'AXI configurable master interface (traffic going out)' sends AR, AW, and W signals and receives B and R signals. A 'bus_ilac' signal is output from the internal logic to a dashed box labeled 'SERC'. The diagram is labeled 'MSv54320V1' in the bottom right corner.

AXI SERD block diagram showing internal components like AXI configurable slave interface, Bypass or generate read/write response logic, and Arbiter, with external signals like clk_icn, rst_icn, and bus_ilac.

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 1174 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 1174. AHB SERD for IP block diagram Figure 1174. AHB SERD for IP block diagram

The diagram illustrates the internal structure of the AHB SERD for IP. It features a central logic block containing an AHB 32-bit slave interface (traffic coming in), a Bypass or generate write response block, an Arbitrate vs. normal responses block, and an AHB 32-bit master interface (traffic going out). Inputs on the top-left are clk_icn and rst_icn. Inputs on the top-right are rst_ip and clk_en_ip from RCC. AHB req and AHB rsp signals enter the slave interface on the left and exit the master interface on the right. A signal line bus_ilac connects from the internal logic to an external SERC block at the bottom right. MSv54321V1 is marked at the bottom right.

Figure 1174. AHB SERD for IP block diagram

As shown in Figure 1175, 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 1175. AHB SERD for ICN block diagram

Figure 1175. AHB SERD for ICN block diagram showing clk_icn, rst_icn inputs, RCC inputs rst_ip[1..n] and clk_en_ip[1..n], AXI 32-bit slave and master interfaces, internal Bypass/generate response and Arbitrate logic, AHB req/rsp, and bus_ilac output to SERC (MSv54322V1).

AHB SERD

clk_icn
rst_icn

From RCC:
n rst_ip[1..n]
n clk_en_ip[1..n]

AXI 32-bit slave interface (traffic coming in)

Bypass or generate response

Arbitrate vs. normal responses

AXI 32-bit master interface (traffic going out)

AHB req

AHB rsp

bus_ilac

SERC

MSv54322V1

Figure 1175. AHB SERD for ICN block diagram showing clk_icn, rst_icn inputs, RCC inputs rst_ip[1..n] and clk_en_ip[1..n], AXI 32-bit slave and master interfaces, internal Bypass/generate response and Arbitrate logic, AHB req/rsp, and bus_ilac output to SERC (MSv54322V1).

AHB SERDAB

Figure 1176 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 1176. AHB SERDAB for AHB2APB block diagram

AHB SERDAB block diagram showing AXI 32-bit slave and master interfaces, address range checks, and response logic.

The diagram illustrates the AHB SERDAB block for AHB2APB. It features an AXI 32-bit slave interface (traffic coming in) on the left and an AXI 32-bit master interface (traffic going out) on the right. The slave interface receives AHB req and AHB rsp signals. The master interface sends AHB req and receives AHB rsp signals. Inside the block, there is a table for address range checks:

Address range 1Active?
⋮Active?
Address range nActive?

The output of the address range checks feeds into a 'Bypass or generate response' block, which then connects to an 'Arbitrate vs. normal responses' block. This block interacts with both the slave and master interfaces. Control signals include clk_icn, rst_icn, rst_ip[1..n], and clk_en_ip[1..n]. A bus_ilac[1..n] signal is output from the bottom right. The reference ID MSv54323V1 is located in the bottom right corner.

AHB SERDAB block diagram showing AXI 32-bit slave and master interfaces, address range checks, and response logic.

SERC

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

Figure 1177. SERC block diagram

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

The diagram shows the SERC block. It has an APB interface on the left with pclk and Preset_n signals. The SERC block contains four main registers: IER, ISR / ICR, Masking / routing, and bus_ilac events. The IER register connects to the Masking / routing register, which in turn connects to the ISR / ICR register. The bus_ilac events register also connects to the Masking / routing register. Multiple bus_ilac signals (labeled n, ..., bus_ilac, ..., bus_ilac, ..., bus_ilac, ..., m) are input to the bus_ilac events register. A sert_irq signal is output from the top of the SERC block. The reference ID MSv54326V1 is in the bottom right corner.

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

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

Figure 1178. SERF with an RISUP

Block diagram of SERF with an RISUP. The RISUP block is connected to an external APB interface and an internal APB interface. The internal APB interface connects to the SERC block. The SERC block contains IER, ISR / ICR, Masking / routing, and bus_ilac events. The bus_ilac events block is connected to multiple SERD blocks (SERD AD (n IP), SERD (ICN), SERD (IP)) via bus_ilac lines. The SERD blocks are connected to external AHB or AXI interfaces.

The diagram illustrates the connection between the RISUP (RISC Interface Subsystem) and the SERC (Software Error Robustness Collector). The RISUP block is connected to an external APB interface and an internal APB interface. The internal APB interface connects to the SERC block. The SERC block contains IER (Interrupt Enable Register), ISR / ICR (Interrupt Status / Clear Register), Masking / routing, and bus_ilac events. The bus_ilac events block is connected to multiple SERD (Software Error Robustness Detector) blocks via bus_ilac lines. The SERD blocks are connected to external AHB or AXI interfaces.

Block diagram of SERF with an RISUP. The RISUP block is connected to an external APB interface and an internal APB interface. The internal APB interface connects to the SERC block. The SERC block contains IER, ISR / ICR, Masking / routing, and bus_ilac events. The bus_ilac events block is connected to multiple SERD blocks (SERD AD (n IP), SERD (ICN), SERD (IP)) via bus_ilac lines. The SERD blocks are connected to external AHB or AXI interfaces.

MSv54328V1

Table 1002. SERF resources mapping

Peripherals 31 to 0
313029282726252423222120191817161514131211109876
USART1SPDIFRXSPI8SPI7SPI6SPI5SPI4SPI3SPI2SPI1LPTIM5LPTIM4LPTIM3LPTIM2LPTIM1TIM20TIM17TIM16TIM15TIM14TIM13TIM12TIM11TIM10TIM8TIM7
Peripherals 63 to 32
6362616059585756555453525150494847464544434241403938
USBHtoAHB6ETH2ETH1ADC3ADC1HDPFDCANADF1MDF1-SAI4SAI3SAI2SAI1I2C8I2C7I2C6I2C5I2C4I2C3I2C2I2C1LPUART1UART9UART8
Peripherals 95 to 64
9594939291908988878685848382818079787776757473727170
HASHSAESPKARNG-VENCVDECDCMI_PSSIDCMIPPCSI-LVDS--DSILTDCGPUSDMMC3SDMMC2SDMMC1OCTOSPI2OCTOSPI1STGENETHSW_ACM_MSGETHSW_ACMETHSW_DEIP
696867666564
UCPD1PCIECOMBOPHYUSB3DR--
ST logo
ST logo

Table 1002. SERF resources mapping (continued)

Peripherals 127 to 96
127-
126OTFDEC2
125OTFDEC1
124-
123-
122-
121-
120-
119-
118ICACHE DCACHE
117I3C4
116I3C3
115I3C2
114I3C1
113-
112GICV2M
111OCTOSPIM
110-
109CRC
108RAMCFG
107DTS
106VREFBUF
105-
104WWDG2
103WWDG1
102IWDG5
101IWDG4
100IWDG3
99IWDG2
98IWDG1
97CRYP2
96CRYP1
Peripherals 159 to 128
159-
158-
157CA35SS
156-
155-
154-
153-
152TAMP
151RTC
150LPDMA1
149HPDMA3
148HPDMA2
147HPDMA1
146HSEM
145IPCC2
144IPCC1
143-
142-
141LPSRAM3
140LPSRAM2
139LPSRAM1
138RISAF5
137RISAF4 or DDRCTRL_port1 or DDRCTRL
136-
135RISAF2
134RISAF1 or BKPSRAM
133RISAB6 or VDERAM
132RISAB5 or RETRAM
131RISAB4 or SRAM2
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-
178-
177BSEC
176FMC
175DDRPHYC
174DDRCTRL or DDRDBG
173-
172-
171GPIOZ
170GPIOK
169GPIOJ
168GPIOI
167GPIOH
166GPIOG
165GPIOF
164GPIOE
163GPIOD
162GPIOC
161GPIOB
160GPIOA

96.4 SERF low-power modes

The SERF does not support low power modes.

96.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.

96.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.

96.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

96.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

96.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

96.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)

96.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)

96.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)

96.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

96.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

96.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

96.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

96.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

96.6.12 SERC interrupt status register 5 (SERC_ISR5)

Address offset: 0x0054

Reset value: 0x0000 0000

31302928272625242322212019181716
PDRS[191:176]
rrrrrrrrrrrrrrrr
1514131211109876543210
PDRS[175:160]
rrrrrrrrrrrrrrrr

Bits 31:0 PDRS[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

96.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

96.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

96.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

96.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

96.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

96.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

96.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.

96.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.

ST logo
ST logo

96.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

96.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

96.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)

96.6.24 SERC register map

Table 1003. 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_HWCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CFG2[2:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CFG1[7:0]
Reset value0000000000
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.MAJREV[3:0]MINREV[3:0]
Reset value00010000
0x3F8SERC_IPIDRID[31:0]
Reset value00000000000000010000000111111000
0x3FCSERC_SIDRSID[31:0]
Reset value10100011110101011110111000000001

Refer to Section 2.4 for the register boundary addresses.