CPUC — CPU control

CPUC controls elements of the Arm® Cortex®-M33 processor such as enabling floating-point exceptions. It is also able to lock certain features of the CPU and prevent them from being modified.

CPUC can generate events and CPU interupts for exceptions in the floating point unit (FPU), as shown in the following block diagram. Examples of such exceptions are divide-by-zero or floating-point overflow.
Figure 1. Block diagram
Block diagram shows events generated by CPUC

CPUC holds a CPU identifier CPUID, used in the system to uniquely identify the processing unit of a core.

In addition, CPUC holds a LOCK register, which is used to lock certain CPU features and prevent them from being modified. One example is the LOCK.LOCKSAU field. When set to Locked, this prevents further modifications to the SAU registers.

Registers

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
CPUCAPPLICATION0xE0080000HFSNANoCortex-M33 configuration

Register overview

RegisterOffsetTZDescription
EVENTS_FPUIOC0x100An invalid operation exception has occurred in the FPU.
EVENTS_FPUDZC0x104A floating-point divide-by-zero exception has occurred in the FPU.
EVENTS_FPUOFC0x108A floating-point overflow exception has occurred in the FPU.
EVENTS_FPUUFC0x10CA floating-point underflow exception has occurred in the FPU.
EVENTS_FPUIXC0x110A floating-point inexact exception has occurred in the FPU.
EVENTS_FPUIDC0x114A floating-point input denormal exception has occurred in the FPU.
INTEN0x300Enable or disable interrupt
INTENSET0x304Enable interrupt
INTENCLR0x308Disable interrupt
LOCK0x500Register to lock the certain parts of the CPU from being modified.
CPUID0x504The identifier for the CPU in this subsystem.

EVENTS_FPUIOC

Address offset: 0x100

An invalid operation exception has occurred in the FPU.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_FPUIOCAn invalid operation exception has occurred in the FPU.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_FPUDZC

Address offset: 0x104

A floating-point divide-by-zero exception has occurred in the FPU.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_FPUDZCA floating-point divide-by-zero exception has occurred in the FPU.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_FPUOFC

Address offset: 0x108

A floating-point overflow exception has occurred in the FPU.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_FPUOFCA floating-point overflow exception has occurred in the FPU.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_FPUUFC

Address offset: 0x10C

A floating-point underflow exception has occurred in the FPU.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_FPUUFCA floating-point underflow exception has occurred in the FPU.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_FPUIXC

Address offset: 0x110

A floating-point inexact exception has occurred in the FPU.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_FPUIXCA floating-point inexact exception has occurred in the FPU.
NotGenerated0Event not generated
Generated1Event generated

EVENTS_FPUIDC

Address offset: 0x114

A floating-point input denormal exception has occurred in the FPU.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_FPUIDCA floating-point input denormal exception has occurred in the FPU.
NotGenerated0Event not generated
Generated1Event generated

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWFPUIOCEnable or disable interrupt for event FPUIOC
Disabled0Disable
Enabled1Enable
BRWFPUDZCEnable or disable interrupt for event FPUDZC
Disabled0Disable
Enabled1Enable
CRWFPUOFCEnable or disable interrupt for event FPUOFC
Disabled0Disable
Enabled1Enable
DRWFPUUFCEnable or disable interrupt for event FPUUFC
Disabled0Disable
Enabled1Enable
ERWFPUIXCEnable or disable interrupt for event FPUIXC
Disabled0Disable
Enabled1Enable
FRWFPUIDCEnable or disable interrupt for event FPUIDC
Disabled0Disable
Enabled1Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1S
FPUIOCWrite '1' to enable interrupt for event FPUIOC
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRW
W1S
FPUDZCWrite '1' to enable interrupt for event FPUDZC
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRW
W1S
FPUOFCWrite '1' to enable interrupt for event FPUOFC
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
DRW
W1S
FPUUFCWrite '1' to enable interrupt for event FPUUFC
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
ERW
W1S
FPUIXCWrite '1' to enable interrupt for event FPUIXC
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
FRW
W1S
FPUIDCWrite '1' to enable interrupt for event FPUIDC
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1C
FPUIOCWrite '1' to disable interrupt for event FPUIOC
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRW
W1C
FPUDZCWrite '1' to disable interrupt for event FPUDZC
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRW
W1C
FPUOFCWrite '1' to disable interrupt for event FPUOFC
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
DRW
W1C
FPUUFCWrite '1' to disable interrupt for event FPUUFC
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
ERW
W1C
FPUIXCWrite '1' to disable interrupt for event FPUIXC
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
FRW
W1C
FPUIDCWrite '1' to disable interrupt for event FPUIDC
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled

LOCK

Address offset: 0x500

Register to lock the certain parts of the CPU from being modified.

Each bit can only be written once and can only be changed from 0 to 1.

Bit number313029282726252423222120191817161514131211109876543210
IDEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWLOCKVTORAIRCRSLocks both the Vector table Offset Register (VTOR) and Application Interrupt and Reset Control Register (AIRCR) for secure mode.
NotLocked0Both VTOR and AIRCR can be changed.
Locked1Prevents changes to both VTOR and AIRCR.
BRWLOCKVTORNSLocks the Vector table Offset Register (VTOR) for non-secure mode.
NotLocked0VTOR can be changed.
Locked1Prevents changes to VTOR.
CRWLOCKMPUSLocks the Memory Protection Unit (MPU) for secure mode.
NotLocked0MPU registers can be changed.
Locked1Prevents changes to MPU registers.
DRWLOCKMPUNSLocks the Memory Protection Unit (MPU) for non secure mode.
NotLocked0MPU registers can be changed.
Locked1Prevents changes to MPU registers.
ERWLOCKSAULocks the Security Attribution Unit (SAU)
NotLocked0SAU registers can be changed.
Locked1Prevents changes to SAU registers.

CPUID

Address offset: 0x504

The identifier for the CPU in this subsystem.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARCPUIDThe CPU identifier.