3. Arm Cortex-A35 (CA35SS)

3.1 Overview

The Cortex-A35 includes the following features:

The STM32MP21xx feature a Cortex-A35 subsystem with characteristics detailed in the table below.

Table 10. Cortex-A35 subsystem configuration

LevelCharacteristicsComments
Core levelL1 instruction cache size32 Kbytes
L1 data cache size32 Kbytes
Cache protectionNo
NEON/FPUYes
Subsystem levelNumber of processor cores1
Master bus interfaceAXI4
Debug memory mapv8
L2 cache size128 Kbytes

Some peripherals are associated with the Cortex-A35, and build the Cortex-A35 subsystem:

3.2 Cortex-A35 reset

There are different reset signals that apply to the Cortex-A35 subsystem. The RCC allows some of them to be under software control, as shown in the table below.

Table 11. Cortex-A35 subsystem reset sources

RCC registerBitNameDescription
--PORDevice power-on reset (POR)
RCC_GRSTCSETR0SYSRSTSystem reset
RCC_C1RSTCSETR0C1RSTPower-on reset for the Cortex-A35 subsystem

The effect of RCC registers on core reset becomes effective only when the Cortex-A35 core enters in idle mode after execution of the wait-for-interrupt (WFI) instruction, ensuring that any transactions on the interconnect are completed. Refer to Section 20 for more details.

3.3 Cortex-A35 clocking

The clock for the Cortex-A35 subsystem can be selected among:

This selection is done thanks to the CA35SS_SSC_CHGCLKREQ register detailed in Section 3.6.

3.4 CortexA35 boot mode

The Cortex-A35 can execute code in either 32 (aarch32) or 64 (aarch64) architecture bit mode.

By default, the Cortex-A35 core boots in the aarch32 bit mode, but this can be changed through a specific procedure conducted by the boot ROM firmware as follows:

  1. 1. The core sets the AA64NAA32 bit and RVBARADDRL boot address in dedicated system configuration (CA35SS_SYSCFG) registers detailed in next section.
  2. 2. The core requests a warm reset through its internal reset management register in secure mode.
  3. 3. The core enters in WFI state.
  4. 4. Once this is effective, a warm reset is generated.
  5. 5. The core restarts in aarch64 bit mode from the address specified in CA35SS_SYSCFG_VBAR_CR register.

3.5 CA35SS SYSCFG registers

A set of dedicated registers allows the control on static configuration signals for the Cortex-A35 core and a few debug components. They are also controlling the Cortex-M33 core boot parameters as this one is under control of the Cortex-A35 at boot time.

These registers are detailed in the next section. Their address is an offset related to the CA35SS registers base address (refer to Section 2.4.2).

These registers have different security access rights that are described in the different following sub-sections along with their meaning.

3.5.1 System debug configuration registers

The following registers allow the programming of system debug registers. They are not reserved to a particular master, and as such, are not subject to access restrictions. They are reset only by a power-on reset.

CA35SS ETR low-power interface control register
(CA35SS_SYSCFG_ETR_LPI_CR)

Address offset: 0x2000

Reset value: 0x0000 0001

This register controls the low-power interface of the embedded trace router.

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.ETR_C
SYSREQ
rw

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

Bit 0 ETR_CSYSREQ:

0: Request ETR AXI bus to be stalled (csysreq is active low).

1: Request ETR AXI activity to resume.

CA35SS ETR low-power interface status register
(CA35SS_SYSCFG_ETR_LPI_SR)

Address offset: 0x2004

Reset value: 0x0000 0000

This register returns the status of the low-power interface of the embedded trace router.

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.ETR_C
SYSACK
r

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

Bit 0 ETR_CSYSACK:

CA35SS STM non-secure guaranteed access register
(CA35SS_SYSCFG_STM_NSGUAREN_CR)

Address offset: 0x2008

Reset value: 0x0000 0001

This register controls the STM behavior for non-secure accesses on its stimulus port.

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.STM_N
SGUA
REN
rw

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

Bit 0 STM_NSGUAREN:

CA35SS TPIU export clock divider register
(CA35SS_SYSCFG_TRACE_CLK_DIV_CR)

Address offset: 0x200C

Reset value: 0x0000 0000

This register allows the trace port interface unit export clock trace (ck_ker_tpiu) to be reduced further to what is delivered at the flexible clock generator channel number 44.

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.TRACE_CLK_DIV_VALUE[5:0]
rwrwrwrwrwrw

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

Bits 5:0 TRACE_CLK_DIV_VALUE[5:0]:

0: Divider bypassed

0x1 to 0x3F: Divider ratio from 2 to 64

CA35SS Cortex-A35 core debug power mode register
(CA35SS_SYSCFG_DBGPWR_CR)

Address offset: 0x2010

Reset value: 0x0000 0003

This register controls the power on Cortex-A35 debug resources by preventing any external debug to access a core that is powered down.

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.DBGP
WRUP
0
rw

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

Bit 0 DBGPWRUP0:

0: Core 0 debug powered down

1: Core 0 debug powered up

CA35SS Cortex-A35 L1 data cache register
(CA35SS_SYSCFG_DBGL1RSTDISABLE_CR)

Address offset: 0x2014

Reset value: 0x0000 0000

This register controls the behavior of the L1 data cache at processor reset. This can be used when debugging an external reset as this makes the contents of the L1 data cache from before the reset observable after the reset.

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.DBGL1
RSTDIS
S
rw

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

Bit 0 DBGL1RSTDIS:

CA35SS Cortex-A35 debug power register
(CA35SS_SYSCFG_DBGPWR_SR)

Address offset: 0x2018

Reset value: 0x0000 0000

This register returns information on debug requests with respect to power management.

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.DBGP
WRUP
REQ0
Res.DBGN
OPWR
DWN0
rr

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

Bit 2 DBGPWRUPREQ0:

Bit 1 Reserved, must be kept at reset value.

Bit 0 DBGNOPWRDWN0:

CA35SS Cortex-A35 debug mode status register
(CA35SS_SYSCFG_EDBGACK_SR)

Address offset: 0x201C

Reset value: 0x0000 0000

This register returns information on whether a core has entered in debug mode.

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.DBGACK_C0
r

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

Bit 0 DBGACK_C0:

0: Core 0 is not in debug mode.

1: Core 0 is halted in debug mode.

3.5.2 Cortex-A35 subsystem configuration registers

These registers are used to modify the GIC setup, and to provide some information on Cortex-A35 states.

They are only accessible to a master with a CID = 1 (such as the Cortex-A35 or the debugger when Cortex-A35 debug is enabled). No secure or privilege rights apply to them.

These registers are reset by the power-on reset, the application reset or C1RST in the RCC.

GIC configuration register (CA35SS_SYSCFG_GIC_CFGR)

Address offset: 0x2020

Reset value: 0x0000 0000

This register allows the GIC to be used in a 64-Kbyte translation, so that the GICC register frame is spread across two MMU pages.

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.GIC_400_CFG_DISABLEGIC_4KNOT64K
rwrw

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

Bit 1 GIC_400_CFG_DISABLE:

Bit 0 GIC_4KNOT64K:

Cortex-A35 low-power status register (CA35SS_SYSCFG_LP_SR)

Address offset: 0x2024

Reset value: 0x0000 0000

This register returns information on low-power states for core and L2 cache.

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.STAND
BYWFI
L2
Res.STAND
BYWFI
_0
Res.STAND
BYWF
E_0
rrr

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

Bit 4 STANDBYWFI_L2:

Bit 3 Reserved, must be kept at reset value.

Bit 2 STANDBYWFI_0:

Bit 1 Reserved, must be kept at reset value.

Bit 0 STANDBYWFE_0:

Cortex-A35 reset status register (CA35SS_SYSCFG_RSTACK_SR)

Address offset: 0x2028

Reset value: 0x0000 0000

This register returns information on reset states.

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.NRESET_FCT_ACKNRESET_DBG_ACK
rr

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

Bit 1 NRESET_FCT_ACK:

0: Functional reset active

1: Functional reset inactive

Bit 0 NRESET_DBG_ACK:

0: Debug reset active

1: Debug reset inactive

Cortex-A35 configuration register (CA35SS_SYSCFG_CP15_CFGR)

Address offset: 0x202C

Reset value: 0x0000 0000

This register configures the access to Cortex-A35 registers.

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.CP15_DISABLE_CORE_0
r

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

Bit 0 CP15_DISABLE_CORE_0:

0: access allowed

1: disable access to Cortex-A35 CP15 system control coprocessor core 0

3.5.3 Cortex-A35 boot configuration registers

These registers are used to modify the architecture state of the Cortex-A35 core. They are only accessible to the trusted master, thus protected by the TD_CID, with secure and

privilege rights. They are reset by the power-on reset, the application reset or C1RST in the RCC.

CA35SS architecture mode register (CA35SS_SYSCFG_AARCH_MODE_CR)

Address offset: 0x2080

Reset value: 0x0000 0000

This register forces the architecture mode at reset exit for the core. This is a write once register so that the architecture mode is locked.

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.AA64N
AA32
rw

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

Bit 0 AA64NAA32:

CA35SS reset vector register (CA35SS_SYSCFG_VBAR_CR)

Address offset: 0x2084

Reset value: 0x0000 0000

This register forces the reset vector base address in 64-bit mode. Its value is sampled when the core is released from reset. It is not applicable for 32-bit architecture mode.

31302928272625242322212019181716
RVBARADDRL[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
RVBARADDRL[15:2]Res.Res.
rwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:2 RVBARADDRL[31:2]: Set the value of reset vector at the boundaries of the Cortex-A35 core.

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

3.5.4 Cortex-M33 boot configuration registers

These registers are used to setup the boot configuration of the Cortex-M33. They are only accessible to the trusted master thus protected by the TD_CID.

CA35SS_SYSCFG_M33_ACCESS_CR register sets secure and/or privilege rights to access the Cortex-M33 boot options. It must be accessed with secure and privilege rights.

These registers are reset by the power-on reset or an application reset.

Cortex-M33 boot register access rights register
(CA35SS_SYSCFG_M33_ACCESS_CR)

Address offset: 0x2088

Reset value: 0x0000 0003

This register sets up the access conditions on the boot options.

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.M33CFG_PRIVM33CFG_SEC
rwrw

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

Bit 1 M33CFG_PRIV:

Bit 0 M33CFG_SEC:

Cortex-M33 secure extension enable register
(CA35SS_SYSCFG_M33_TZEN_CR)

Address offset: 0x20A0

Reset value: 0x0000 0001

This register enables support for Armv8-M security extension in Cortex-M33.

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.CFG_SECEXT
rw

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

Bit 0 CFG_SECEXT:

Cortex-M33 secure vector address register
(CA35SS_SYSCFG_M33_INITSVTOR_CR)

Address offset: 0x20A4

Reset value: 0x0E04 0000

This register sets the Cortex-M33 secure vector table base address. The reset value locates this table in RETRAM.

31302928272625242322212019181716
INITSVTOR[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
INITSVTOR[15:7]Res.Res.Res.Res.Res.Res.Res.
rwrwrwrwrwrwrwrwrw

Bits 31:7 INITSVTOR[31:7]: Secure vector table offset

Bits 6:0 Reserved, must be kept at reset value.

Cortex-M33 non-secure vector address register
(CA35SS_SYSCFG_M33_INITNSVTOR_CR)

Address offset: 0x20A8

Reset value: 0x0A04 0000

This register sets the Cortex-M33 non-secure vector table base address. The reset value locates the table in RETRAM.

31302928272625242322212019181716
INITNSVTOR[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
INITNSVTOR[15:7]Res.Res.Res.Res.Res.Res.Res.
rwrwrwrwrwrwrwrwrw

Bits 31:7 INITNSVTOR[31:7]: Non-secure vector table offset

Bits 6:0 Reserved, must be kept at reset value.

3.5.5 CA35SS SYSCFG register map

Table 12. CA35SS SYSCFG register map and reset value

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x2000CA35SS_SYSCFG_
ETR_LPI_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.ETR_CSYSREQ
Reset value1
0x2004CA35SS_SYSCFG_
ETR_LPI_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.Res.ETR_CSYSACK
Reset value0
0x2008CA35SS_SYSCFG_
STM_NSGUAREN
_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.STM_NSGUAREN
Reset value1
0x200CCA35SS_SYSCFG_
TRACE_CLK_DIV_
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.TRACE_CLK_DIV
_VALUE[5:0]
Reset value000000
0x2010CA35SS_SYSCFG_
DBGPWR_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.DBGPWRUP0
Reset value1
0x2014CA35SS_SYSCFG_
DBGL1RSTDISABL
E_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.DBGL1RSTDIS
Reset value0
0x2018CA35SS_SYSCFG_
DBGPWR_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.DBGPWRUPREQ0DBGNOPWRDWN0
Reset value00
0x201CCA35SS_SYSCFG_
EDBGACK_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.Res.DBGACK_C0
Reset value0

Table 12. CA35SS SYSCFG register map and reset value (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x2020CA35SS_SYSCFG_GIC_CFGRRes.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 value00
0x2024CA35SS_SYSCFG_LP_SRRes.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 value00000
0x2028CA35SS_SYSCFG_RSTACK_SRRes.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 value00
0x202CCA35SS_SYSCFG_CP15_CFGRRes.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 value00
0x2030-0x207CReservedReserved
0x2080CA35SS_SYSCFG_AARCH_MODE_CRRes.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 value0
0x2084CA35SS_SYSCFG_VBAR_CRRVBARADDRL[31:2]Res.Res.
Reset value00000000000000000000000000000000
0x2088CA35SS_SYSCFG_M33_ACCESS_CRRes.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 value11
0x208C-0x209CReservedReserved

Table 12. CA35SS SYSCFG register map and reset value (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x20A0CA35SS_SYSCFG_M33_TZEN_CRRes.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.CFG_SECEXT
Reset value1
0x20A4CA35SS_SYSCFG_M33_INITSVTOR_CRINITSVTOR[31:7]Res.Res.Res.Res.Res.Res.Res.
Reset value0000111000000100000000000
0x20A8CA35SS_SYSCFG_M33_INITNSVTOR_CRINITNSVTOR[31:7]Res.Res.Res.Res.Res.Res.Res.
Reset value0000101000000100000000000

3.6 Standardized status and control registers

Another set of registers is implemented to control and monitor some features tightly coupled with the Cortex-A35 subsystem.

3.6.1 Standardized status and control registers (SSC) access modes

The SSC addresses offset are related to the CA35SS register base address (Refer to Section 2.4.2). There are four addresses for each SSC register.

Different actions are performed when writing the registers with each of the four addresses. Each register address is given in the 'Address offset' line by a formula such as: \(\langle \text{reg\_address} \rangle + 0x4 * x\) (x = 0 to 3), and additional information is given through the 'Type' line, for example RW, WS1, WC1, WT1:

Reading at any of the four addresses returns the register value to the extent that the secure access right defined for the register is matched. Otherwise, it returns zero when read.

3.6.2 SSC access types

The SSC registers are accessible only from a master with a CID = 1 (for example the Cortex-A35 or the debugger when Cortex-A35 debug is enabled). They can only be accessed in non-burst 4-byte mode. Any other access type is not authorized.

3.6.3 Secure/non-secure access to SSC

By default all SSC registers must be accessed in secure mode, but this can be changed as explained here below.

The global security control of SSC registers is achieved by setting one SSC register CA35SS_SSC_NS_ENABLE_0. This register as well as CA35SS_SSC_NS_ENABLE_1 can only be accessed in secure mode, in all cases.

For convenience, these two registers are called security registers.

Inside the SSC register set, each of all the other registers has a flag to control its accessibility from non-secure mode through CA35SS_SSC_NS_ENABLE_0. This security register is located at position 60 in the SSC register map. The registers associated with the bits are shown in table below:

Table 13. Mapping SSC registers to secure flag register

column_1column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
00x00000
10x00101
.........
310x01F031
600x03C0 0x03C0
610x03D0 0x03D0
620x03E0Reserved
630x03F0Always treated as non-secure
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IVSELA
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HGCLK HGCLK

3.6.4 SSC registers details

CA35SS SSC CHGCLKREQ register (CA35SS_SSC_CHGCLKREQx)

Address offset: 0x000 + 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0003 0003

This register allows the selection of the Cortex-A35 clock.

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

Bit 17 ARM_DIVSELACK:

Defines if ck_cpu_ext2f clock is divided by 2 or not.

0: ck_cpu1_ext2f divided by two

1: ck_cpu1_ext2f not divided by two

Bit 16 ARM_DIVSEL:

Selects divider by 2 for ck_cpu1_ext2f clock.

0: Divide external clock ck_cpu1_ext2f by two.

1: Do not divide external clock ck_cpu1_ext2f.

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

Bit 1 ARM_CHGCLKACK:

Indicates clock source.

0: Cortex-A35 clock is the PLL.

1: Cortex-A35 clock is the external device clock.

Bit 0 ARM_CHGCLKREQ:

Selects clock source.

0: Select internal PLL for Cortex-A35 clock.

1: Select external clock ck_cpu1_ext2f for Cortex-A35 clock.

CA35SS SSC BRM register (CA35SS_SSC_BRMx)

Address offset: 0x010 + 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0300 2000

When the core is in WFI and the L2 cache is idle, the binary rate multiplier (BRM) is automatically dividing the main clock of the Cortex-A35 and its derived clocks to save dynamic power. The clock division ends when the CPU or the L2 cache leaves its idle state.

This register configures the BRM of the Cortex-A35 clock (ck_cpu1_ext2f or ck_cpu1_ext2f/2 or Cortex-A35 PLL).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.BRM_IDLEDIV[1:0]Res.Res.Res.Res.Res.Res.Res.BRM_IDLEDIVEN
rwrwrw
1514131211109876543210
Res.Res.BRM_RATE[5:0]Res.Res.Res.Res.Res.Res.BRM_RATEACKBRM_RATEVAL
rwrwrwrwrwrwrrw

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

Bits 25:24 BRM_IDLEDIV[1:0]: BRM rate when idle mode is entered

Must not be modified when BRM_IDLEDIVEN = 1.

00: CPU clock = BRM clock input / 4

01: CPU clock = BRM clock input / 8

10: CPU clock = BRM clock input / 16

11: CPU clock = BRM clock input / 32

Bits 23:17 Reserved, must be kept at reset value.

Bit 16 BRM_IDLEDIVEN:

Defines BRM_RATE behaviour in idle mode.

0: BRM_RATE remains unchanged when the idle mode is entered.

1: BRM_RATE switches to the BRM_IDLEDIV when the idle mode is entered [CPU0(WFI or WFE) and CPU1(WFI or WFE) and L2 idle mode].

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

Bits 13:8 BRM_RATE[5:0]: BRM rate in normal or idle mode when BRM_IDLEDIVEN = 0

1XXXXX: CPU clock = BRM input clock (default reset value)

0YYYYY: CPU clock = BRM input clock * (YYYYY / 32). YYYYY = 00000 is forbidden.

Bits 7:2 Reserved, must be kept at reset value.

Bit 1 BRM_RATEACK: BRM_RATE status

0: BRM ready for a new setting

1: BRM new setting acknowledged

Bit 0 BRM_RATEVAL: BRM_RATE operation

0: BRM module is ready for a new setting.

1: Forces the BRM module to sample a new setting.

CA35SS SSC PLL FREQ1 register (CA35SS_SSC_PLL_FREQ1_x)

Address offset: 0x080 + 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0000 0000

This register configures the PLL for the Cortex-A35 clock (see Section 20.4.5: PLL description in the RCC for details).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FREFDIV[5:0]
rwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.FBDIV[11:0]
rwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 21:16 FREFDIV[5:0]: Reference divide value

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

Bits 11:0 FBDIV[11:0]: Feedback divide value

CA35SS SSC PLL FREQ2 register (CA35SS_SSC_PLL_FREQ2_x)

Address offset: 0x090 + 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0000 0000

This register configures the PLL for the Cortex-A35 clock (see Section 20.4.5: PLL description in the RCC for details).
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.POSTDIV2[2:0]POSTDIV1[2:0]
rwrwrwrwrwrw

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

Bits 5:3 POSTDIV2[2:0] : PLL post divide 2 setting (1 to 7)

POSTDIV2 = 0 is unused.

Bits 2:0 POSTDIV1[2:0] : PLL post divide 1 setting (1 to 7)

POSTDIV1 = 0 is unused.

CA35SS SSC PLL enable register (CA35SS_SSC_PLL_ENx)

Address offset: 0x0A0 + 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0000 0004

This register configures the PLL for the Cortex-A35 clock.

31302928272625242322212019181716
EN_PL
L_OBS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.NRESE
T_SWP
LL
LOCKPPLL_E
N
rwrrw
Bit 31 EN_PLL_OBS : PLL observation output status

0: PLL is not observable.

1: Enable PLL output observation in functional mode (PLL clock is divided by 42).

Bits 30:3 Reserved, must be kept at reset value.

Bit 2 NRESET_SWPLL : Clock switcher reset state

0: Clock switcher logic clocked by the PLL under reset

1: Clock switcher logic not in reset

Bit 1 LOCKP: PLLL lock state

Bit 0 PLL_EN: PLL enable for Cortex-A35

CA35SS SSC LPI TSGEN NTS CR register
(CA35SS_SSC_LPI_TSGEN_NTS_CRx)

Address offset: 0x0D0 + 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0000 0300

This register configures the low-power Interface for the trace time stamp asynchronous bridge used between the device timestamp generator and the Cortex-A35 PTM.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.TS_CS
YSACK
TS_CS
YSREQ
Res.Res.Res.Res.Res.Res.Res.Res.
rrw

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

Bit 9 TS_CSYSACK: Timestamp asynchronous bridge power status

Bit 8 TS_CSYSREQ: Timestamp asynchronous bridge power request

Bits 7:0 Reserved, must be kept at reset value.

CA35SS SSC LPI STGEN NTS CR register
(CA35SS_SSC_LPI_STGEN_NTS_CRx)

Address offset: 0x140 + 0x4 *x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0300 0000

This register configures the low-power interface for the time generator asynchronous bridge used between the system time generator (STGEN) and the Cortex-A35 internal timers.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.STGEN
_CSYS
ACK
STGEN
_CSYS
REQ
Res.Res.Res.Res.Res.Res.Res.Res.
rrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

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

Bit 25 STGEN_CSYSACK: STGEN asynchronous bridge power status

0: STGEN asynchronous bridge is powered down.

1: STGEN asynchronous bridge is powered up.

Bit 24 STGEN_CSYSREQ: STGEN asynchronous bridge power request

0: Request STGEN asynchronous bridge to be powered down (csysreq is active low).

1: Request STGEN asynchronous bridge to be powered up.

Bits 23:0 Reserved, must be kept at reset value.

CA35SS SSC OPP REQ register (CA35SS_SSC_OPP_REQx)

Address offset: 0x1A0+ 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0000 0000

This register allows to control the operating point change request and acknowledge for Cortex-A35. This register must be controlled with a specific sequence with other registers or peripherals such as VDDCPU voltage and Cortex-A35 clock controls.

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.OPP_A
CK
OPP_R
EQ
rrw

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

Bit 1 OPP_ACK: Operating point change request status
0: OPP_REQ not active or not acknowledged
1: OPP_REQ acknowledged

Bit 0 OPP_REQ: Request
0: Ddo not request an operating point change request to the Cortex-A35 subsystem.
1: Request an operating point change request to the Cortex-A35 subsystem.

CA35SS SSC memory control register (CA35SS_SSC_MEM_CTRLx)

Address offset: 0x1C0+ 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0000 0052

This register control the speed of memories inside Cortex-A35. This register must be controlled with a specific sequence with other registers or peripherals such as VDDCPU voltage and Cortex-A35 clock controls.

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
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.RMERM[2:0]
rwrwrwrw
Bits 31:4Reserved, must be kept at reset value.
Bit 3RME : Cortex-A35 Memory Read-Write margin enable.
Bits 2:0RM[2:0]: Cortex-A35 memory Read-Write margin. Ignored if RME=0.
31302928272625242322212019181716
ALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOW
_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS
EC31EC30EC29EC28EC27EC26EC25EC24EC23EC22EC21EC20EC19EC18EC17EC16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
ALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOWALLOW
_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS_NONS
EC15EC14EC13EC12EC11EC10EC9EC8EC7EC6EC5EC4EC3EC2EC1EC0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bit 3 RME: Cortex-A35 Memory Read-Write margin enable.
0: default margin setting. Default for nominal Cortex-A35 frequencies.
1: margin setting from RM[2:0]. Recommended for overdrive Cortex-A35 frequencies.

Bits 2:0 RM[2:0]: Cortex-A35 memory Read-Write margin. Ignored if RME=0.
3: recommended value for Cortex-A35 overdrive frequencies.

CA35SS SSC NS enable 0 register (CA35SS_SSC_NS_E0Rx)

Address offset: 0x3C0 + 0x4 * x (x = 0 to 3)

Type: RW, WS1, WC1, WT1

Reset value: 0x0000 0000

This register controls the secure/non-secure setting of each mapped SSC register from 0x000 to 0x1F0.

Bits 31:0 ALLOW_NONSECn: SSC register security settings (n = 31 to 0)

Bit[n] configures the security settings of the SSC register at address 16 * n up to 0x1F0.

0: SSC register access is secure.

1: SSC register access is non-secure.

CA35SS SSC NS enable 1 register (CA35SS_SSC_NS_ENABLE_1)

Address offset: 0x3D0

Reset value: 0x8000 0000

This register returns the secure/non-secure setting of each mapped SSC register from 0x3C0 to 0x3F0.

31302928272625242322212019181716
ALLOW_NONSEC_RO3ALLOW_NONSEC_RO2ALLOW_NONSEC_RO1ALLOW_NONSEC_RO0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rrrr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

Bits 31:28 ALLOW_NONSEC_ROn: SSC register security settings (n = 3 to 0)

Bit[n] indicates the security settings of the SSC register from 0x3C0 (bit 28) up to 0x3F0 (bit 31).

0: SSC register access is secure.

1: SSC register access is non-secure.

Bits 27:0 Reserved, must be kept at reset value.

3.6.5 CA35SS SSC register map

Table 14. CA35SS SSC register map and reset value

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000 + 0x4*x (x=0 to 3)
Last address: 0x00C
CA35SS_SSC_CHGCLKREQxRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ARM_DIVSELACKARM_DIVSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ARM_CHGCLKACKARM_CHGCLKREQ
Reset value1111
0x010 + 0x4*x (x=0 to 3)
Last address: 0x01C
CA35SS_SSC_BRMxRes.Res.Res.Res.Res.Res.BRM_IDLEDIV[1:0]Res.Res.Res.Res.Res.Res.Res.Res.BRM_IDLEDIVENRes.Res.BRM_RATE[5:0]Res.Res.Res.Res.Res.Res.Res.BRM_RATEACKBRM_RATEVAL
Reset value11001000000

Table 14. CA35SS SSC register map and reset value (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x080 + 0x4*x (x=0 to 3)
Last address: 0x08C
CA35SS_SSC_PLL_FREQ1_xRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.FREFDIV[5:0]Res.Res.Res.Res.Res.FBDIV[11:0]
Reset value000000000000000000
0x090 + 0x4*x (x=0 to 3)
Last address: 0x09C
CA35SS_SSC_PLL_FREQ2_xRes.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.POSTDIV2 [2:0]POSTDIV1 [2:0]
Reset value0000000
0x0A0 + 0x4*x (x=0 to 3)
Last address: 0x0AC
CA35SS_SSC_PLL_ENxEN_PLL_OBSRes.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 value0100
0x0B0-0x0CCReservedReserved
0x0D0 + 0x4*x (x=0 to 3)
Last address: 0x0DC
CA35SS_SSC_LPI_TSGEN_NTS_CRxRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TS_CSYSACKTS_CSYSREQRes.Res.Res.Res.Res.Res.Res.
Reset value11
0x100-0x13CReservedReserved
0x140 + 0x4*x (x=0 to 3)
Last address: 0x14C
CA35SS_SSC_LPI_STGEN_NTS_CRxRes.Res.Res.Res.Res.Res.STGEN_CSYSACKSTGEN_CSYSREQRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value11
0x150-0x19CReservedReserved
0x01A0 + 0x4*x (x=0 to 3)
Last address: 0x1AC
CA35SS_SSC_OPP_REQxRes.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.OPP_ACK
Reset value00
0x1B0-0x1BCReservedReserved
0x1C0 + 0x4*x (x=0 to 3)
Last address: 0x1CC
CA35SS_SSC_MEM_CTRLxRes.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.RMERM[2:0]
Reset value0010
0x1D0-0x3BCReservedReserved

Table 14. CA35SS SSC register map and reset value (continued)

RM0506 Table 14. CA35SS SSC register map and reset value (continued)column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16column_17column_18column_19column_20Arm Cortex-A35 (CA35SS)column_22column_23column_24column_25column_26column_27column_28column_29column_30column_31column_32
Offset Register name 313 02 92 82 72 62 52 42 32 2212 019181716151413121 1109876543210
LOW O AL N N S E C9 _
LOW O S C8 AL N N E _
LOW O S C7 AL N N E _
LOW O AL N N S E C6 _
LOW O S C5 AL N N E _
LOW O S C AL N N E 4 _
LOW O AL N N S E C3 _
LOW O S C0 AL N N E _
LOW O S C3 0 AL N N E _
LOW O S C2 AL N N E 9 _
LOW O AL N N S E C2 8 _
LOW O S C2 AL N N E 7 _
LOW O S C2 AL N N E 6 _
LOW O AL N N S E C2 5 _
LOW O S C2 AL N N E 4 _
LOW O S C2 AL N N E 3 _
LOW O S C2 AL N N E 0 _
LOW O S C19 AL N N E _
LOW O S C18 AL N N E _
LOW O S C17 AL N N E _
LOW O S C16 AL N N E _
LOW O S C15 AL N N E _
LOW O S C14 AL N N E _
LOW O S C13 AL N N E _
LOW O S C10 AL N N E _
LOW O S C2 AL N N E _
LOW O AL N N S E C2 2 _
LOW O AL N N S E C12 _
LOW O S C1 1 AL N N E _
LOW O AL N N S E C1 _
LOW O AL N N S E C31 _
LOW O S C21 AL N N E _
CA35SS_SSC_NS_ENABLE_1R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.R e s.
LOW O O3 AL N N S E C_ R _
LOW O S C_ O2 AL N N E R _
LOW O O0 AL N N S E C_ R _
LOW O S C_ O1 AL N N E R _
Refer to Section 2.4 for the register boundary addresses.
RM0506 Rev 2227/4831

Refer to Section 2.4 for the register boundary addresses.