12.15. System Control Registers

These registers are not associated with any particular peripheral. They control, or provide information about, system-level hardware such as the bus fabric. This is also where chip identification information such as the JEDEC IDCODE is provided in a software-accessible manner.

12.15.1. SYSINFO

12.15.1.1. Overview

The sysinfo block contains system information. The first register contains the Chip ID, which allows the programmer to know which version of the chip software is running on. The second register indicates which package configuration is

used (QFN-60 or QFN-80). The third register will always read as 1.

12.15.1.2. List of registers

The sysinfo registers start at a base address of 0x40000000 (defined as SYSINFO_BASE in SDK).

Table 1306. List of SYSINFO registers

OffsetNameInfo
0x00CHIP_IDJEDEC JEP-106 compliant chip identifier.
0x04PACKAGE_SELPackage selection indicator, 0 = QFN80, 1 = QFN60
0x08PLATFORMPlatform register. Allows software to know what environment it is running in during pre-production development. Post-production, the PLATFORM is always ASIC, non-SIM.
0x14GITREF_RP2350Git hash of the chip source. Used to identify chip version.

SYSINFO: CHIP_ID Register

Offset: 0x00

Description

JEDEC JEP-106 compliant chip identifier.

Table 1307. CHIP_ID Register

BitsDescriptionTypeReset
31:28REVISIONRO-
27:12PARTRO-
11:1MANUFACTURERRO-
0STOP_BITRO0x1

SYSINFO: PACKAGE_SEL Register

Offset: 0x04

Table 1308. PACKAGE_SEL Register

BitsDescriptionTypeReset
31:1Reserved.--
0Package selection indicator, 0 = QFN80, 1 = QFN60RO0x0

SYSINFO: PLATFORM Register

Offset: 0x08

Description

Platform register. Allows software to know what environment it is running in during pre-production development. Post-production, the PLATFORM is always ASIC, non-SIM.

Table 1309. PLATFORM Register

BitsDescriptionTypeReset
31:5Reserved.--
4GATESIMRO-
3BATCHSIMRO-
2HDLSIMRO-
1ASICRO-
BitsDescriptionTypeReset
0FPGARO-

SYSINFO: GITREF_RP2350 Register

Offset: 0x14

Table 1310.
GITREF_RP2350
Register

BitsDescriptionTypeReset
31:0Git hash of the chip source. Used to identify chip version.RO-

12.15.2. SYSCFG

12.15.2.1. Overview

The system config block controls miscellaneous chip settings, including:

12.15.2.2. Changes from RP2040

12.15.2.3. List of registers

The system config registers start at a base address of 0x40008000 (defined as SYSCFG_BASE in SDK).

Table 1311. List of
SYSCFG registers

OffsetNameInfo
0x00PROC_CONFIGConfiguration for processors

Table 1313.
PROC_IN_SYNC_BYPA
SS Register

BitsDescriptionTypeReset
31:0GPIORW0x00000000

SYSCFG: PROC_IN_SYNC_BYPASS_HI Register

Offset: 0x08

Description

For each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors. If you're feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 32...47. USB GPIO 56..57 QSPI GPIO 58..63

Table 1314.
PROC_IN_SYNC_BYPA
SS_HI Register

BitsDescriptionTypeReset
31:28QSPI_SDRW0x0
27QSPI_CSNRW0x0
26QSPI_SCKRW0x0
25USB_DMRW0x0
24USB_DPRW0x0
23:16Reserved.--
15:0GPIORW0x0000

SYSCFG: DBGFORCE Register

Offset: 0x0c

Description

Directly control the chip SWD debug port

Table 1315.
DBGFORCE Register

BitsDescriptionTypeReset
31:4Reserved.--
3ATTACH: Attach chip debug port to syscfg controls, and disconnect it from external SWD pads.RW0x0
2SWCLK: Directly drive SWCLK, if ATTACH is setRW0x1
1SWDI: Directly drive SWDIO input, if ATTACH is setRW0x1
0SWDO: Observe the value of SWDIO output.RO-

SYSCFG: MEMPOWERDOWN Register

Offset: 0x10

Description

Control PD pins to memories.
Set high to put memories to a low power state. In this state the memories will retain contents but not be accessible
Use with caution

Table 1316.
MEMPOWERDOWN
Register

BitsDescriptionTypeReset
31:13Reserved.--
12BOOTRAMRW0x0
BitsDescriptionTypeReset
11ROMRW0x0
10USBRW0x0
9SRAM9RW0x0
8SRAM8RW0x0
7SRAM7RW0x0
6SRAM6RW0x0
5SRAM5RW0x0
4SRAM4RW0x0
3SRAM3RW0x0
2SRAM2RW0x0
1SRAM1RW0x0
0SRAM0RW0x0

SYSCFG: AUXCTRL Register

Offset: 0x14

Description

Auxiliary system control register

Table 1317. AUXCTRL Register

BitsDescriptionTypeReset
31:8Reserved.--
7:0

* Bits 7:3: Reserved

* Bit 2: Set to mask OTP power analogue power supply detection from resetting OTP controller and PSM

* Bit 1: When clear, the LPOSC output is XORed into the TRNG ROSC output as an additional, uncorrelated entropy source. When set, this behaviour is disabled.

* Bit 0: Force POWMAN clock to switch to LPOSC, by asserting its WDRESET input. This must be set before initiating a watchdog reset of the RSM from a stage that includes CLOCKS, if POWMAN is running from clk_ref at the point that the watchdog reset takes place. Otherwise, the short pulse generated on clk_ref by the reset of the CLOCKS block may affect POWMAN register state.

RW0x00

12.15.3. TBMAN

TBMAN refers to the testbench manager, used during chip development simulations to verify the design. During these simulations TBMAN allows software running on RP2350 to control the testbench and simulation environment. On the real chip, it has no effect other than providing a single PLATFORM register that indicates that this is the real chip. This PLATFORM functionality is duplicated in the sysinfo (Section 12.15.1) registers.

12.15.3.1. List of registers

The TBMAN registers start at a base address of 0x40160000(defined as TBMAN_BASE in SDK).

Table 1318. List of TBMAN registers

OffsetNameInfo
0x0PLATFORMIndicates the type of platform in use

TBMAN: PLATFORM Register

Offset: 0x0

Description

Indicates the type of platform in use

Table 1319. PLATFORM Register

BitsDescriptionTypeReset
31:3Reserved.--
2HDLSIM: Indicates the platform is a simulationRO0x0
1FPGA: Indicates the platform is an FPGARO0x0
0ASIC: Indicates the platform is an ASICRO0x1

12.15.4. BUSCTRL

This block provides basic controls and monitoring for the system bus fabric.

12.15.4.1. Bus priority

RP2350 implements a dynamic bus priority scheme described in Section 2.1.1 . The BUS_PRIORITY register implements the priority controls for this scheme.

12.15.4.2. Performance counters

There are four 24-bit counters, each of which can subscribe to a single performance event from the system bus fabric. Counters saturate at a value of all-ones: the counter stops incrementing when it reaches its maximum value, rather than wrapping to zero.

The performance counters are initially disabled: you must write 1 to PERFCTR_EN before the counters begin to increment. Write any value to a counter to clear the counter to zero in before running a profiled section of code, and enable the counters immediately before entering the profiled section. Disable the counters again immediately upon leaving the profiled section. The counters do not support arbitrary writes: they only count up from zero.

Write to a performance event selector register PERFSEL0 through PERFSEL3 to select the performance event which increments the corresponding counter, PERFCTR0 through PERFCTR3.

For each of the seventeen downstream bus ports on the main system AHB5 crossbar shown in Figure 5 , there are four types of event which the performance counters detect. These events do not distinguish reads from writes, but they do distinguish different types of bus stall, which can be helpful when diagnosing performance issues. The types of event are:

Access

Increment when any access completes on this downstream port.

Contested access

Increment when any access completes on this downstream port which previously stalled due to the port being

occupied by another access. For example, if two managers access an initially idle port simultaneously, one will complete before the other. The access that completes first is said to not be contested, and does not increment this counter. The access that completes second (which was initially deferred due to the access from the other manager) is contested, and increments this counter when it completes.

Upstream-stalled cycle

Increment once per cycle while any manager experiences a stall on this port. This may be either due to arbitration with another manager (a contested access) or due to a stall on the downstream bus port, such as access to a slow peripheral. This is measured at the port , before leaving the main AHB5 crossbar.

Downstream-stalled cycle

Increment once per cycle while this port itself experiences a stall on the downstream bus. This indicates the peripheral or memory device itself being slow to respond, such as an XIP cache miss.

The first two event types listed above are the same as RP2040. The latter two are new for RP2350.

12.15.4.3. List of registers

The Bus Fabric registers start at a base address of 0x40068000 (defined as BUSCTRL_BASE in SDK).

Table 1320. List of BUSCTRL registers

OffsetNameInfo
0x00BUS_PRIORITYSet the priority of each master for bus arbitration.
0x04BUS_PRIORITY_ACKBus priority acknowledge
0x08PERFCTR_ENEnable the performance counters. If 0, the performance counters do not increment. This can be used to precisely start/stop event sampling around the profiled section of code.

The performance counters are initially disabled, to save energy.
0x0cPERFCTR0Bus fabric performance counter 0
0x10PERFSEL0Bus fabric performance event select for PERFCTR0
0x14PERFCTR1Bus fabric performance counter 1
0x18PERFSEL1Bus fabric performance event select for PERFCTR1
0x1cPERFCTR2Bus fabric performance counter 2
0x20PERFSEL2Bus fabric performance event select for PERFCTR2
0x24PERFCTR3Bus fabric performance counter 3
0x28PERFSEL3Bus fabric performance event select for PERFCTR3

BUSCTRL: BUS_PRIORITY Register

Offset: 0x00

Description

Set the priority of each master for bus arbitration.

Table 1321. BUS_PRIORITY Register

BitsDescriptionTypeReset
31:13Reserved.--
12DMA_W: 0 - low priority, 1 - high priorityRW0x0
11:9Reserved.--
8DMA_R: 0 - low priority, 1 - high priorityRW0x0
BitsDescriptionTypeReset
7:5Reserved.--
4PROC1 : 0 - low priority, 1 - high priorityRW0x0
3:1Reserved.--
0PROC0 : 0 - low priority, 1 - high priorityRW0x0

BUSCTRL: BUS_PRIORITY_ACK Register

Offset: 0x04

Description

Bus priority acknowledge

Table 1322.
BUS_PRIORITY_ACK
Register

BitsDescriptionTypeReset
31:1Reserved.--
0Goes to 1 once all arbiters have registered the new global priority levels. Arbiters update their local priority when servicing a new nonsequential access. In normal circumstances this will happen almost immediately.RO0x0

BUSCTRL: PERFCTR_EN Register

Offset: 0x08

Table 1323.
PERFCTR_EN Register

BitsDescriptionTypeReset
31:1Reserved.--
0Enable the performance counters. If 0, the performance counters do not increment. This can be used to precisely start/stop event sampling around the profiled section of code.

The performance counters are initially disabled, to save energy.
RW0x0

BUSCTRL: PERFCTR0 Register

Offset: 0x0c

Description

Bus fabric performance counter 0

Table 1324.
PERFCTR0 Register

BitsDescriptionTypeReset
31:24Reserved.--
23:0Busfabric saturating performance counter 0
Count some event signal from the busfabric arbiters, if PERFCTR_EN is set. Write any value to clear. Select an event to count using PERFSEL0
WC0x000000

BUSCTRL: PERFSEL0 Register

Offset: 0x10

Description

Bus fabric performance event select for PERFCTR0

Table 1325. PERFSEL0 Register

BitsDescriptionTypeReset
31:7Reserved.--
6:0Select an event for PERFCTR0. For each downstream port of the main crossbar, four events are available: ACCESS, an access took place; ACCESS_CONTESTED, an access took place that previously stalled due to contention from other masters; STALL_DOWNSTREAM, count cycles where any master stalled due to a stall on the downstream bus; STALL_UPSTREAM, count cycles where any master stalled for any reason, including contention from other masters.RW0x1f
Enumerated values:
0x00 → SIOB_PROC1_STALL_UPSTREAM
0x01 → SIOB_PROC1_STALL_DOWNSTREAM
0x02 → SIOB_PROC1_ACCESS_CONTESTED
0x03 → SIOB_PROC1_ACCESS
0x04 → SIOB_PROC0_STALL_UPSTREAM
0x05 → SIOB_PROC0_STALL_DOWNSTREAM
0x06 → SIOB_PROC0_ACCESS_CONTESTED
0x07 → SIOB_PROC0_ACCESS
0x08 → APB_STALL_UPSTREAM
0x09 → APB_STALL_DOWNSTREAM
0x0a → APB_ACCESS_CONTESTED
0x0b → APB_ACCESS
0x0c → FASTPERI_STALL_UPSTREAM
0x0d → FASTPERI_STALL_DOWNSTREAM
0x0e → FASTPERI_ACCESS_CONTESTED
0x0f → FASTPERI_ACCESS
0x10 → SRAM9_STALL_UPSTREAM
0x11 → SRAM9_STALL_DOWNSTREAM
0x12 → SRAM9_ACCESS_CONTESTED
0x13 → SRAM9_ACCESS
0x14 → SRAM8_STALL_UPSTREAM
0x15 → SRAM8_STALL_DOWNSTREAM
0x16 → SRAM8_ACCESS_CONTESTED
0x17 → SRAM8_ACCESS
0x18 → SRAM7_STALL_UPSTREAM
0x19 → SRAM7_STALL_DOWNSTREAM
0x1a → SRAM7_ACCESS_CONTESTED
0x1b → SRAM7_ACCESS
0x1c → SRAM6_STALL_UPSTREAM
BitsDescriptionTypeReset
0x1d → SRAM6_STALL_DOWNSTREAM
0x1e → SRAM6_ACCESS_CONTESTED
0x1f → SRAM6_ACCESS
0x20 → SRAM5_STALL_UPSTREAM
0x21 → SRAM5_STALL_DOWNSTREAM
0x22 → SRAM5_ACCESS_CONTESTED
0x23 → SRAM5_ACCESS
0x24 → SRAM4_STALL_UPSTREAM
0x25 → SRAM4_STALL_DOWNSTREAM
0x26 → SRAM4_ACCESS_CONTESTED
0x27 → SRAM4_ACCESS
0x28 → SRAM3_STALL_UPSTREAM
0x29 → SRAM3_STALL_DOWNSTREAM
0x2a → SRAM3_ACCESS_CONTESTED
0x2b → SRAM3_ACCESS
0x2c → SRAM2_STALL_UPSTREAM
0x2d → SRAM2_STALL_DOWNSTREAM
0x2e → SRAM2_ACCESS_CONTESTED
0x2f → SRAM2_ACCESS
0x30 → SRAM1_STALL_UPSTREAM
0x31 → SRAM1_STALL_DOWNSTREAM
0x32 → SRAM1_ACCESS_CONTESTED
0x33 → SRAM1_ACCESS
0x34 → SRAM0_STALL_UPSTREAM
0x35 → SRAM0_STALL_DOWNSTREAM
0x36 → SRAM0_ACCESS_CONTESTED
0x37 → SRAM0_ACCESS
0x38 → XIP_MAIN1_STALL_UPSTREAM
0x39 → XIP_MAIN1_STALL_DOWNSTREAM
0x3a → XIP_MAIN1_ACCESS_CONTESTED
0x3b → XIP_MAIN1_ACCESS
0x3c → XIP_MAIN0_STALL_UPSTREAM
0x3d → XIP_MAIN0_STALL_DOWNSTREAM
0x3e → XIP_MAIN0_ACCESS_CONTESTED
0x3f → XIP_MAIN0_ACCESS
0x40 → ROM_STALL_UPSTREAM
BitsDescriptionTypeReset
0x41 → ROM_STALL_DOWNSTREAM
0x42 → ROM_ACCESS_CONTESTED
0x43 → ROM_ACCESS

BUSCTRL: PERFCTR1 Register

Offset: 0x14

Description

Bus fabric performance counter 1

Table 1326.
PERFCTR1 Register

BitsDescriptionTypeReset
31:24Reserved.--
23:0Busfabric saturating performance counter 1
Count some event signal from the busfabric arbiters, if PERFCTR_EN is set.
Write any value to clear. Select an event to count using PERFSEL1
WC0x000000

BUSCTRL: PERFSEL1 Register

Offset: 0x18

Description

Bus fabric performance event select for PERFCTR1

Table 1327. PERFSEL1
Register

BitsDescriptionTypeReset
31:7Reserved.--
6:0Select an event for PERFCTR1. For each downstream port of the main crossbar, four events are available: ACCESS, an access took place; ACCESS_CONTESTED, an access took place that previously stalled due to contention from other masters; STALL_DOWNSTREAM, count cycles where any master stalled due to a stall on the downstream bus; STALL_UPSTREAM, count cycles where any master stalled for any reason, including contention from other masters.RW0x1f
Enumerated values:
0x00 → SIOB_PROC1_STALL_UPSTREAM
0x01 → SIOB_PROC1_STALL_DOWNSTREAM
0x02 → SIOB_PROC1_ACCESS_CONTESTED
0x03 → SIOB_PROC1_ACCESS
0x04 → SIOB_PROC0_STALL_UPSTREAM
0x05 → SIOB_PROC0_STALL_DOWNSTREAM
0x06 → SIOB_PROC0_ACCESS_CONTESTED
0x07 → SIOB_PROC0_ACCESS
0x08 → APB_STALL_UPSTREAM
0x09 → APB_STALL_DOWNSTREAM
0x0a → APB_ACCESS_CONTESTED
BitsDescriptionTypeReset
0x0b → APB_ACCESS
0x0c → FASTPERI_STALL_UPSTREAM
0x0d → FASTPERI_STALL_DOWNSTREAM
0x0e → FASTPERI_ACCESS_CONTESTED
0x0f → FASTPERI_ACCESS
0x10 → SRAM9_STALL_UPSTREAM
0x11 → SRAM9_STALL_DOWNSTREAM
0x12 → SRAM9_ACCESS_CONTESTED
0x13 → SRAM9_ACCESS
0x14 → SRAM8_STALL_UPSTREAM
0x15 → SRAM8_STALL_DOWNSTREAM
0x16 → SRAM8_ACCESS_CONTESTED
0x17 → SRAM8_ACCESS
0x18 → SRAM7_STALL_UPSTREAM
0x19 → SRAM7_STALL_DOWNSTREAM
0x1a → SRAM7_ACCESS_CONTESTED
0x1b → SRAM7_ACCESS
0x1c → SRAM6_STALL_UPSTREAM
0x1d → SRAM6_STALL_DOWNSTREAM
0x1e → SRAM6_ACCESS_CONTESTED
0x1f → SRAM6_ACCESS
0x20 → SRAM5_STALL_UPSTREAM
0x21 → SRAM5_STALL_DOWNSTREAM
0x22 → SRAM5_ACCESS_CONTESTED
0x23 → SRAM5_ACCESS
0x24 → SRAM4_STALL_UPSTREAM
0x25 → SRAM4_STALL_DOWNSTREAM
0x26 → SRAM4_ACCESS_CONTESTED
0x27 → SRAM4_ACCESS
0x28 → SRAM3_STALL_UPSTREAM
0x29 → SRAM3_STALL_DOWNSTREAM
0x2a → SRAM3_ACCESS_CONTESTED
0x2b → SRAM3_ACCESS
0x2c → SRAM2_STALL_UPSTREAM
0x2d → SRAM2_STALL_DOWNSTREAM
0x2e → SRAM2_ACCESS_CONTESTED
BitsDescriptionTypeReset
0x2f → SRAM2_ACCESS
0x30 → SRAM1_STALL_UPSTREAM
0x31 → SRAM1_STALL_DOWNSTREAM
0x32 → SRAM1_ACCESS_CONTESTED
0x33 → SRAM1_ACCESS
0x34 → SRAM0_STALL_UPSTREAM
0x35 → SRAM0_STALL_DOWNSTREAM
0x36 → SRAM0_ACCESS_CONTESTED
0x37 → SRAM0_ACCESS
0x38 → XIP_MAIN1_STALL_UPSTREAM
0x39 → XIP_MAIN1_STALL_DOWNSTREAM
0x3a → XIP_MAIN1_ACCESS_CONTESTED
0x3b → XIP_MAIN1_ACCESS
0x3c → XIP_MAIN0_STALL_UPSTREAM
0x3d → XIP_MAIN0_STALL_DOWNSTREAM
0x3e → XIP_MAIN0_ACCESS_CONTESTED
0x3f → XIP_MAIN0_ACCESS
0x40 → ROM_STALL_UPSTREAM
0x41 → ROM_STALL_DOWNSTREAM
0x42 → ROM_ACCESS_CONTESTED
0x43 → ROM_ACCESS

BUSCTRL: PERFCTR2 Register

Offset: 0x1c

Description

Bus fabric performance counter 2

Table 1328.
PERFCTR2 Register

BitsDescriptionTypeReset
31:24Reserved.--
23:0Busfabric saturating performance counter 2
Count some event signal from the busfabric arbiters, if PERFCTR_EN is set.
Write any value to clear. Select an event to count using PERFSEL2
WC0x000000

BUSCTRL: PERFSEL2 Register

Offset: 0x20

Description

Bus fabric performance event select for PERFCTR2

Table 1329. PERFSEL2 Register

BitsDescriptionTypeReset
31:7Reserved.--
6:0Select an event for PERFCTR2. For each downstream port of the main crossbar, four events are available: ACCESS, an access took place; ACCESS_CONTESTED, an access took place that previously stalled due to contention from other masters; STALL_DOWNSTREAM, count cycles where any master stalled due to a stall on the downstream bus; STALL_UPSTREAM, count cycles where any master stalled for any reason, including contention from other masters.RW0x1f
Enumerated values:
0x00 → SIOB_PROC1_STALL_UPSTREAM
0x01 → SIOB_PROC1_STALL_DOWNSTREAM
0x02 → SIOB_PROC1_ACCESS_CONTESTED
0x03 → SIOB_PROC1_ACCESS
0x04 → SIOB_PROC0_STALL_UPSTREAM
0x05 → SIOB_PROC0_STALL_DOWNSTREAM
0x06 → SIOB_PROC0_ACCESS_CONTESTED
0x07 → SIOB_PROC0_ACCESS
0x08 → APB_STALL_UPSTREAM
0x09 → APB_STALL_DOWNSTREAM
0x0a → APB_ACCESS_CONTESTED
0x0b → APB_ACCESS
0x0c → FASTPERI_STALL_UPSTREAM
0x0d → FASTPERI_STALL_DOWNSTREAM
0x0e → FASTPERI_ACCESS_CONTESTED
0x0f → FASTPERI_ACCESS
0x10 → SRAM9_STALL_UPSTREAM
0x11 → SRAM9_STALL_DOWNSTREAM
0x12 → SRAM9_ACCESS_CONTESTED
0x13 → SRAM9_ACCESS
0x14 → SRAM8_STALL_UPSTREAM
0x15 → SRAM8_STALL_DOWNSTREAM
0x16 → SRAM8_ACCESS_CONTESTED
0x17 → SRAM8_ACCESS
0x18 → SRAM7_STALL_UPSTREAM
0x19 → SRAM7_STALL_DOWNSTREAM
0x1a → SRAM7_ACCESS_CONTESTED
0x1b → SRAM7_ACCESS
0x1c → SRAM6_STALL_UPSTREAM
BitsDescriptionTypeReset
0x1d → SRAM6_STALL_DOWNSTREAM
0x1e → SRAM6_ACCESS_CONTESTED
0x1f → SRAM6_ACCESS
0x20 → SRAM5_STALL_UPSTREAM
0x21 → SRAM5_STALL_DOWNSTREAM
0x22 → SRAM5_ACCESS_CONTESTED
0x23 → SRAM5_ACCESS
0x24 → SRAM4_STALL_UPSTREAM
0x25 → SRAM4_STALL_DOWNSTREAM
0x26 → SRAM4_ACCESS_CONTESTED
0x27 → SRAM4_ACCESS
0x28 → SRAM3_STALL_UPSTREAM
0x29 → SRAM3_STALL_DOWNSTREAM
0x2a → SRAM3_ACCESS_CONTESTED
0x2b → SRAM3_ACCESS
0x2c → SRAM2_STALL_UPSTREAM
0x2d → SRAM2_STALL_DOWNSTREAM
0x2e → SRAM2_ACCESS_CONTESTED
0x2f → SRAM2_ACCESS
0x30 → SRAM1_STALL_UPSTREAM
0x31 → SRAM1_STALL_DOWNSTREAM
0x32 → SRAM1_ACCESS_CONTESTED
0x33 → SRAM1_ACCESS
0x34 → SRAM0_STALL_UPSTREAM
0x35 → SRAM0_STALL_DOWNSTREAM
0x36 → SRAM0_ACCESS_CONTESTED
0x37 → SRAM0_ACCESS
0x38 → XIP_MAIN1_STALL_UPSTREAM
0x39 → XIP_MAIN1_STALL_DOWNSTREAM
0x3a → XIP_MAIN1_ACCESS_CONTESTED
0x3b → XIP_MAIN1_ACCESS
0x3c → XIP_MAIN0_STALL_UPSTREAM
0x3d → XIP_MAIN0_STALL_DOWNSTREAM
0x3e → XIP_MAIN0_ACCESS_CONTESTED
0x3f → XIP_MAIN0_ACCESS
0x40 → ROM_STALL_UPSTREAM
BitsDescriptionTypeReset
0x41 → ROM_STALL_DOWNSTREAM
0x42 → ROM_ACCESS_CONTESTED
0x43 → ROM_ACCESS

BUSCTRL: PERFCTR3 Register

Offset: 0x24

Description

Bus fabric performance counter 3

Table 1330.
PERFCTR3 Register

BitsDescriptionTypeReset
31:24Reserved.--
23:0Busfabric saturating performance counter 3
Count some event signal from the busfabric arbiters, if PERFCTR_EN is set.
Write any value to clear. Select an event to count using PERFSEL3
WC0x000000

BUSCTRL: PERFSEL3 Register

Offset: 0x28

Description

Bus fabric performance event select for PERFCTR3

Table 1331. PERFSEL3
Register

BitsDescriptionTypeReset
31:7Reserved.--
6:0Select an event for PERFCTR3. For each downstream port of the main crossbar, four events are available: ACCESS, an access took place; ACCESS_CONTESTED, an access took place that previously stalled due to contention from other masters; STALL_DOWNSTREAM, count cycles where any master stalled due to a stall on the downstream bus; STALL_UPSTREAM, count cycles where any master stalled for any reason, including contention from other masters.RW0x1f
Enumerated values:
0x00 → SIOB_PROC1_STALL_UPSTREAM
0x01 → SIOB_PROC1_STALL_DOWNSTREAM
0x02 → SIOB_PROC1_ACCESS_CONTESTED
0x03 → SIOB_PROC1_ACCESS
0x04 → SIOB_PROC0_STALL_UPSTREAM
0x05 → SIOB_PROC0_STALL_DOWNSTREAM
0x06 → SIOB_PROC0_ACCESS_CONTESTED
0x07 → SIOB_PROC0_ACCESS
0x08 → APB_STALL_UPSTREAM
0x09 → APB_STALL_DOWNSTREAM
0x0a → APB_ACCESS_CONTESTED
BitsDescriptionTypeReset
0x0b → APB_ACCESS
0x0c → FASTPERI_STALL_UPSTREAM
0x0d → FASTPERI_STALL_DOWNSTREAM
0x0e → FASTPERI_ACCESS_CONTESTED
0x0f → FASTPERI_ACCESS
0x10 → SRAM9_STALL_UPSTREAM
0x11 → SRAM9_STALL_DOWNSTREAM
0x12 → SRAM9_ACCESS_CONTESTED
0x13 → SRAM9_ACCESS
0x14 → SRAM8_STALL_UPSTREAM
0x15 → SRAM8_STALL_DOWNSTREAM
0x16 → SRAM8_ACCESS_CONTESTED
0x17 → SRAM8_ACCESS
0x18 → SRAM7_STALL_UPSTREAM
0x19 → SRAM7_STALL_DOWNSTREAM
0x1a → SRAM7_ACCESS_CONTESTED
0x1b → SRAM7_ACCESS
0x1c → SRAM6_STALL_UPSTREAM
0x1d → SRAM6_STALL_DOWNSTREAM
0x1e → SRAM6_ACCESS_CONTESTED
0x1f → SRAM6_ACCESS
0x20 → SRAM5_STALL_UPSTREAM
0x21 → SRAM5_STALL_DOWNSTREAM
0x22 → SRAM5_ACCESS_CONTESTED
0x23 → SRAM5_ACCESS
0x24 → SRAM4_STALL_UPSTREAM
0x25 → SRAM4_STALL_DOWNSTREAM
0x26 → SRAM4_ACCESS_CONTESTED
0x27 → SRAM4_ACCESS
0x28 → SRAM3_STALL_UPSTREAM
0x29 → SRAM3_STALL_DOWNSTREAM
0x2a → SRAM3_ACCESS_CONTESTED
0x2b → SRAM3_ACCESS
0x2c → SRAM2_STALL_UPSTREAM
0x2d → SRAM2_STALL_DOWNSTREAM
0x2e → SRAM2_ACCESS_CONTESTED
BitsDescriptionTypeReset
0x2f → SRAM2_ACCESS
0x30 → SRAM1_STALL_UPSTREAM
0x31 → SRAM1_STALL_DOWNSTREAM
0x32 → SRAM1_ACCESS_CONTESTED
0x33 → SRAM1_ACCESS
0x34 → SRAM0_STALL_UPSTREAM
0x35 → SRAM0_STALL_DOWNSTREAM
0x36 → SRAM0_ACCESS_CONTESTED
0x37 → SRAM0_ACCESS
0x38 → XIP_MAIN1_STALL_UPSTREAM
0x39 → XIP_MAIN1_STALL_DOWNSTREAM
0x3a → XIP_MAIN1_ACCESS_CONTESTED
0x3b → XIP_MAIN1_ACCESS
0x3c → XIP_MAIN0_STALL_UPSTREAM
0x3d → XIP_MAIN0_STALL_DOWNSTREAM
0x3e → XIP_MAIN0_ACCESS_CONTESTED
0x3f → XIP_MAIN0_ACCESS
0x40 → ROM_STALL_UPSTREAM
0x41 → ROM_STALL_DOWNSTREAM
0x42 → ROM_ACCESS_CONTESTED
0x43 → ROM_ACCESS