CCM-R4F Control Registers
364
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
CPU Compare Module for Cortex-R4F (CCM-R4F)
9.4.1 CCM-R4F Status Register (CCMSR)
Figure 9-2. CCM-R4F Status Register (CCMSR) (Address = FFFF F600h)
31
17
16
Reserved
CPME
R-0
R/WPC-0
15
9
8
7
2
1
0
Reserved
STC
Reserved
STET
STE
R-0
R-0
R-0
R-0
R-0
LEGEND: R/W = Read/Write; R = Read only; C = Clear; WP = Write in Privileged mode only; -
n
= value after reset
(1)
The contents of this register should be interpreted in context of what test was selected. That is what mode is CCM operating in.
Table 9-4. CCM-R4F Status Register (CCMSR) Field Descriptions
(1)
Bit
Field
Value
Description
31-17
Reserved
0
Reads return zeros and writes have no effect.
16
CMPE
Compare Error
Read in User and Privileged mode. Write in Privileged mode only.
0
Read: CPU signals are identical.
Write: Leaves the bit unchanged.
1
Read: CPU signal compare mismatch.
Write: Clears the bit.
15-9
Reserved
0
Reads return zeros and writes have no effect.
8
STC
Self-test Complete
Note:
This bit is always 0 when not in self-test mode. Once set, switching from self-test mode to
other modes will clear this bit.
Read/Write in User and Privileged mode.
0
Read: Self-test on-going if self-test mode is entered.
Write: Writes have no effect.
1
Read: Self-test is complete.
Write: Writes have no effect.
7-2
Reserved
0
Reads return zeros and writes have no effect.
1
STET
Self-test Error Type
Read/Write in User and Privileged mode.
0
Read: Self-test failed during Compare Match Test if STE = 1.
Write: Writes have no effect.
1
Read: Self-test failed during Compare Mismatch Test if STE = 1.
Write: Writes have no effect.
0
STE
Self-test Error
Note:
This bit gets updated when the self-test is complete or an error is detected.
Read/Write in User and Privileged mode.
0
Read: Self-test passed.
Write: Writes have no effect.
1
Read: Self-test failed.
Write: Writes have no effect.