SPMU447 June 2026 CC2755P20
Table 2-77 lists the memory-mapped registers for the DWT registers. All register offset addresses not listed in Table 2-77 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | DWT_CTRL | Provides configuration and status information for the DWT unit, and used to control features of the unit | Section 2.7.5.1 |
| 4h | DWT_CYCCNT | Shows or sets the value of the processor cycle counter, CYCCNT | Section 2.7.5.2 |
| 8h | DWT_CPICNT | Counts additional cycles required to execute multicycle instructions and instruction fetch stalls. | Section 2.7.5.3 |
| Ch | DWT_EXCCNT | Counts the total cycles spent in exception processing | Section 2.7.5.4 |
| 10h | DWT_SLEEPCNT | Counts the total number of cycles that the processor is sleeping. | Section 2.7.5.5 |
| 14h | DWT_LSUCNT | Increments on the additional cycles required to execute all load or store instructions | Section 2.7.5.6 |
| 18h | DWT_FOLDCNT | Increments on the additional cycles required to execute all load or store instructions | Section 2.7.5.7 |
| 1Ch | DWT_PCSR | Samples the current value of the Program Counter. | Section 2.7.5.8 |
| 20h | DWT_COMP0 | Provides a reference value for use by watchpoint comparator 0 | Section 2.7.5.9 |
| 28h | DWT_FUNCTION0 | Controls the operation of watchpoint comparator 0 | Section 2.7.5.10 |
| 30h | DWT_COMP1 | Provides a reference value for use by watchpoint comparator 1 | Section 2.7.5.11 |
| 38h | DWT_FUNCTION1 | Controls the operation of watchpoint comparator 1 | Section 2.7.5.12 |
| 40h | DWT_COMP2 | Provides a reference value for use by watchpoint comparator 2 | Section 2.7.5.13 |
| 48h | DWT_FUNCTION2 | Controls the operation of watchpoint comparator 2 | Section 2.7.5.14 |
| 50h | DWT_COMP3 | Provides a reference value for use by watchpoint comparator 3 | Section 2.7.5.15 |
| 58h | DWT_FUNCTION3 | Controls the operation of watchpoint comparator 3 | Section 2.7.5.16 |
| FBCh | DWT_DEVARCH | Provides CoreSight discovery information for the DWT | Section 2.7.5.17 |
| FCCh | DWT_DEVTYPE | Provides CoreSight discovery information for the DWT | Section 2.7.5.18 |
| FD0h | DWT_PIDR4 | Provides CoreSight discovery information for the DWT | Section 2.7.5.19 |
| FD4h | DWT_PIDR5 | Provides CoreSight discovery information for the DWT | Section 2.7.5.20 |
| FD8h | DWT_PIDR6 | Provides CoreSight discovery information for the DWT | Section 2.7.5.21 |
| FDCh | DWT_PIDR7 | Provides CoreSight discovery information for the DWT | Section 2.7.5.22 |
| FE0h | DWT_PIDR0 | Provides CoreSight discovery information for the DWT | Section 2.7.5.23 |
| FE4h | DWT_PIDR1 | Provides CoreSight discovery information for the DWT | Section 2.7.5.24 |
| FE8h | DWT_PIDR2 | Provides CoreSight discovery information for the DWT | Section 2.7.5.25 |
| FECh | DWT_PIDR3 | Provides CoreSight discovery information for the DWT | Section 2.7.5.26 |
| FF0h | DWT_CIDR0 | Provides CoreSight discovery information for the DWT | Section 2.7.5.27 |
| FF4h | DWT_CIDR1 | Provides CoreSight discovery information for the DWT | Section 2.7.5.28 |
| FF8h | DWT_CIDR2 | Provides CoreSight discovery information for the DWT | Section 2.7.5.29 |
| FFCh | DWT_CIDR3 | Provides CoreSight discovery information for the DWT | Section 2.7.5.30 |
Complex bit access types are encoded to fit into small table cells. Table 2-78 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
DWT_CTRL is shown in Table 2-79.
Return to the Summary Table.
Provides configuration and status information for the DWT unit, and used to control features of the unit
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-28 | NUMCOMP | R | 4h | Number of DWT comparators implemented |
| 27 | NOTRCPKT | R | 0h | Indicates whether the implementation does not support trace |
| 26 | NOEXTTRIG | R | 0h | Reserved, RAZ |
| 25 | NOCYCCNT | R | 0h | Indicates whether the implementation does not include a cycle counter |
| 24 | NOPRFCNT | R | 0h | Indicates whether the implementation does not include the profiling counters |
| 23 | CYCDISS | R/W | 0h | Controls whether the cycle counter is disabled in Secure state |
| 22 | CYCEVTENA | R/W | 0h | Enables Event Counter packet generation on POSTCNT underflow |
| 21 | FOLDEVTENA | R/W | 0h | Enables DWT_FOLDCNT counter |
| 20 | LSUEVTENA | R/W | 0h | Enables DWT_LSUCNT counter |
| 19 | SLEEPEVTENA | R/W | 0h | Enable DWT_SLEEPCNT counter |
| 18 | EXCEVTENA | R/W | 0h | Enables DWT_EXCCNT counter |
| 17 | CPIEVTENA | R/W | 0h | Enables DWT_CPICNT counter |
| 16 | EXTTRCENA | R/W | 0h | Enables generation of Exception Trace packets |
| 15-13 | RES0 | R | 0h | Reserved, RES0 |
| 12 | PCSAMPLENA | R/W | 0h | Enables use of POSTCNT counter as a timer for Periodic PC Sample packet generation |
| 11-10 | SYNCTAP | R/W | 0h | Selects the position of the synchronization packet counter tap on the CYCCNT counter. This determines the Synchronization packet rate |
| 9 | CYCTAP | R/W | 0h | Selects the position of the POSTCNT tap on the CYCCNT counter |
| 8-5 | POSTINIT | R/W | 0h | Initial value for the POSTCNT counter |
| 4-1 | POSTPRESET | R/W | 0h | Reload value for the POSTCNT counter |
| 0 | CYCCNTENA | R/W | 0h | Enables CYCCNT |
DWT_CYCCNT is shown in Table 2-80.
Return to the Summary Table.
Shows or sets the value of the processor cycle counter, CYCCNT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | CYCCNT | R/W | 0h | Increments one on each processor clock cycle when DWT_CTRL.CYCCNTENA == 1 and DEMCR.TRCENA == 1. On overflow, CYCCNT wraps to zero |
DWT_CPICNT is shown in Table 2-81.
Return to the Summary Table.
Counts additional cycles required to execute multicycle instructions and instruction fetch stalls.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | CPICNT | R/W | 0h | Counts one on each cycle when all of the following are true: - DWT_CTRL.CPIEVTENA == 1 and DEMCR.TRCENA == 1. - No instruction is executed. - No load-store operation is in progress, see DWT_LSUCNT. - No exception-entry or exception-exit operation is in progress, see DWT_EXCCNT. - The PE is not in a power saving mode, see DWT_SLEEPCNT. - Either SecureNoninvasiveDebugAllowed() == TRUE, or the PE is in Non-secure state and NoninvasiveDebugAllowed() == TRUE. |
DWT_EXCCNT is shown in Table 2-82.
Return to the Summary Table.
Counts the total cycles spent in exception processing
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | EXCCNT | R/W | 0h | Counts one on each cycle when all of the following are true: - DWT_CTRL.EXCEVTENA == 1 and DEMCR.TRCENA == 1. - No instruction is executed, see DWT_CPICNT. - An exception-entry or exception-exit related operation is in progress. - Either SecureNoninvasiveDebugAllowed() == TRUE, or NS-Req for the operation is set to Non-secure and NoninvasiveDebugAllowed() == TRUE. |
DWT_SLEEPCNT is shown in Table 2-83.
Return to the Summary Table.
Counts the total number of cycles that the processor is sleeping.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | SLEEPCNT | R/W | 0h | Counts one on each cycle when all of the following are true: - DWT_CTRL.SLEEPEVTENA == 1 and DEMCR.TRCENA == 1. - No instruction is executed, see DWT_CPICNT. - No load-store operation is in progress, see DWT_LSUCNT. - No exception-entry or exception-exit operation is in progress, see DWT_EXCCNT. - The PE is in a power saving mode. - Either SecureNoninvasiveDebugAllowed() == TRUE, or the PE is in Non-secure state and NoninvasiveDebugAllowed() == TRUE. |
DWT_LSUCNT is shown in Table 2-84.
Return to the Summary Table.
Increments on the additional cycles required to execute all load or store instructions
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | LSUCNT | R/W | 0h | Counts one on each cycle when all of the following are true: - DWT_CTRL.LSUEVTENA == 1 and DEMCR.TRCENA == 1. - No instruction is executed, see DWT_CPICNT. - No exception-entry or exception-exit operation is in progress, see DWT_EXCCNT. - A load-store operation is in progress. - Either SecureNoninvasiveDebugAllowed() == TRUE, or NS-Req for the operation is set to Non-secure and NoninvasiveDebugAllowed() == TRUE. |
DWT_FOLDCNT is shown in Table 2-85.
Return to the Summary Table.
Increments on the additional cycles required to execute all load or store instructions
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | FOLDCNT | R/W | 0h | Counts on each cycle when all of the following are true: - DWT_CTRL.FOLDEVTENA == 1 and DEMCR.TRCENA == 1. - At least two instructions are executed, see DWT_CPICNT. - Either SecureNoninvasiveDebugAllowed() == TRUE, or the PE is in Non-secure state and NoninvasiveDebugAllowed() == TRUE. The counter is incremented by the number of instructions executed, minus one |
DWT_PCSR is shown in Table 2-86.
Return to the Summary Table.
Samples the current value of the Program Counter.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | EIASAMPLE | R | 0h | The possible values of this field are: 0xFFFFFFFF One of the following is true: - The PE is halted in Debug state. - The Security Extension is implemented, the sampled instruction was executed in Secure state, and SecureNoninvasiveDebugAllowed() == FALSE. - NoninvasiveDebugAllowed() == FALSE. - DEMCR.TRCENA == 0. - The address of a recently-executed instruction is not available. Not 0xFFFFFFFF Instruction address of a recently executed instruction. Bit [0] of the sample instruction address is 0. |
DWT_COMP0 is shown in Table 2-87.
Return to the Summary Table.
Provides a reference value for use by watchpoint comparator 0
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VALUE | R/W | 0h | Reference value for comparison. Behaviour depends on the value of DWT_FUNCTIONn.MATCH |
DWT_FUNCTION0 is shown in Table 2-88.
Return to the Summary Table.
Controls the operation of watchpoint comparator 0
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-27 | ID | R | Bh | Identifies the capabilities for MATCH for comparator *n |
| 26-25 | RES0 | R | 0h | Reserved, RES0 |
| 24 | MATCHED | R | 0h | Set to 1 when the comparator matches |
| 23-12 | RES0_1 | R | 0h | Reserved, RES0 |
| 11-10 | DATAVSIZE | R/W | 0h | Defines the size of the object being watched for by Data Value and Data Address comparators |
| 9-6 | RES0_2 | R | 0h | Reserved, RES0 |
| 5-4 | ACTION | R/W | 0h | Defines the action on a match. This field is ignored and the comparator generates no actions if it is disabled by MATCH |
| 3-0 | MATCH | R/W | 0h | Controls the type of match generated by this comparator |
DWT_COMP1 is shown in Table 2-89.
Return to the Summary Table.
Provides a reference value for use by watchpoint comparator 1
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VALUE | R/W | 0h | Reference value for comparison. Behaviour depends on the value of DWT_FUNCTIONn.MATCH |
DWT_FUNCTION1 is shown in Table 2-90.
Return to the Summary Table.
Controls the operation of watchpoint comparator 1
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-27 | ID | R | 1Ah | Identifies the capabilities for MATCH for comparator *n |
| 26-25 | RES0 | R | 0h | Reserved, RES0 |
| 24 | MATCHED | R | 0h | Set to 1 when the comparator matches |
| 23-12 | RES0_1 | R | 0h | Reserved, RES0 |
| 11-10 | DATAVSIZE | R/W | 0h | Defines the size of the object being watched for by Data Value and Data Address comparators |
| 9-6 | RES0_2 | R | 0h | Reserved, RES0 |
| 5-4 | ACTION | R/W | 0h | Defines the action on a match. This field is ignored and the comparator generates no actions if it is disabled by MATCH |
| 3-0 | MATCH | R/W | 0h | Controls the type of match generated by this comparator |
DWT_COMP2 is shown in Table 2-91.
Return to the Summary Table.
Provides a reference value for use by watchpoint comparator 2
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VALUE | R/W | 0h | Reference value for comparison. Behaviour depends on the value of DWT_FUNCTIONn.MATCH |
DWT_FUNCTION2 is shown in Table 2-92.
Return to the Summary Table.
Controls the operation of watchpoint comparator 2
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-27 | ID | R | Ah | Identifies the capabilities for MATCH for comparator *n |
| 26-25 | RES0 | R | 0h | Reserved, RES0 |
| 24 | MATCHED | R | 0h | Set to 1 when the comparator matches |
| 23-12 | RES0_1 | R | 0h | Reserved, RES0 |
| 11-10 | DATAVSIZE | R/W | 0h | Defines the size of the object being watched for by Data Value and Data Address comparators |
| 9-6 | RES0_2 | R | 0h | Reserved, RES0 |
| 5-4 | ACTION | R/W | 0h | Defines the action on a match. This field is ignored and the comparator generates no actions if it is disabled by MATCH |
| 3-0 | MATCH | R/W | 0h | Controls the type of match generated by this comparator |
DWT_COMP3 is shown in Table 2-93.
Return to the Summary Table.
Provides a reference value for use by watchpoint comparator 3
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VALUE | R/W | 0h | Reference value for comparison. Behaviour depends on the value of DWT_FUNCTIONn.MATCH |
DWT_FUNCTION3 is shown in Table 2-94.
Return to the Summary Table.
Controls the operation of watchpoint comparator 3
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-27 | ID | R | 1Eh | Identifies the capabilities for MATCH for comparator *n |
| 26-25 | RES0 | R | 0h | Reserved, RES0 |
| 24 | MATCHED | R | 0h | Set to 1 when the comparator matches |
| 23-12 | RES0_1 | R | 0h | Reserved, RES0 |
| 11-10 | DATAVSIZE | R/W | 0h | Defines the size of the object being watched for by Data Value and Data Address comparators |
| 9-6 | RES0_2 | R | 0h | Reserved, RES0 |
| 5-4 | ACTION | R/W | 0h | Defines the action on a match. This field is ignored and the comparator generates no actions if it is disabled by MATCH |
| 3-0 | MATCH | R/W | 0h | Controls the type of match generated by this comparator |
DWT_DEVARCH is shown in Table 2-95.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-21 | ARCHITECT | R | 23Bh | Defines the architect of the component. Bits [31:28] are the JEP106 continuation code (JEP106 bank ID, minus 1) and bits [27:21] are the JEP106 ID code. |
| 20 | PRESENT | R | 1h | Defines that the DEVARCH register is present |
| 19-16 | REVISION | R | 0h | Defines the architecture revision of the component |
| 15-12 | ARCHVER | R | 1h | Defines the architecture version of the component |
| 11-0 | ARCHPART | R | A02h | Defines the architecture of the component |
DWT_DEVTYPE is shown in Table 2-96.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-4 | SUB | R | 0h | Component sub-type |
| 3-0 | MAJOR | R | 0h | Component major type |
DWT_PIDR4 is shown in Table 2-97.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-4 | SIZE | R | 0h | See CoreSight Architecture Specification |
| 3-0 | DES_2 | R | 4h | See CoreSight Architecture Specification |
DWT_PIDR5 is shown in Table 2-98.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | RES0 | R | 0h | Reserved, RES0 |
DWT_PIDR6 is shown in Table 2-99.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | RES0 | R | 0h | Reserved, RES0 |
DWT_PIDR7 is shown in Table 2-100.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | RES0 | R | 0h | Reserved, RES0 |
DWT_PIDR0 is shown in Table 2-101.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | PART_0 | R | 21h | See CoreSight Architecture Specification |
DWT_PIDR1 is shown in Table 2-102.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-4 | DES_0 | R | Bh | See CoreSight Architecture Specification |
| 3-0 | PART_1 | R | Dh | See CoreSight Architecture Specification |
DWT_PIDR2 is shown in Table 2-103.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-4 | REVISION | R | 0h | See CoreSight Architecture Specification |
| 3 | JEDEC | R | 1h | See CoreSight Architecture Specification |
| 2-0 | DES_1 | R | 3h | See CoreSight Architecture Specification |
DWT_PIDR3 is shown in Table 2-104.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-4 | REVAND | R | 0h | See CoreSight Architecture Specification |
| 3-0 | CMOD | R | 0h | See CoreSight Architecture Specification |
DWT_CIDR0 is shown in Table 2-105.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | PRMBL_0 | R | Dh | See CoreSight Architecture Specification |
DWT_CIDR1 is shown in Table 2-106.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-4 | CLASS | R | 9h | See CoreSight Architecture Specification |
| 3-0 | PRMBL_1 | R | 0h | See CoreSight Architecture Specification |
DWT_CIDR2 is shown in Table 2-107.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | PRMBL_2 | R | 5h | See CoreSight Architecture Specification |
DWT_CIDR3 is shown in Table 2-108.
Return to the Summary Table.
Provides CoreSight discovery information for the DWT
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RES0 | R | Xh | Reserved, RES0 |
| 7-0 | PRMBL_3 | R | B1h | See CoreSight Architecture Specification |