SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
Table 9-1 lists the memory-mapped registers for the SRAM_MMR registers. All register offset addresses not listed in Table 9-1 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
0h | PER_CTL | Parity Error Control | Section 9.7.1.1 |
4h | PER_CHK | Parity Error Check | Section 9.7.1.2 |
8h | PER_DBG | Parity Error Debug | Section 9.7.1.3 |
Ch | MEM_CTL | Memory Control | Section 9.7.1.4 |
10h | MEM_STA | Memory Status | Section 9.7.1.5 |
Complex bit access types are encoded to fit into small table cells. Table 9-2 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 |
PER_CTL is shown in Table 9-3.
Return to the Summary Table.
Parity Error Control
Parity error check controls
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-9 | RESERVED | R | 0h | Reserved |
8 | PER_DISABLE | R/W | 0h | Parity Status Disable 0: A parity error will update PER_CHK.PER_ADDR field 1: Parity error does not update PER_CHK.PER_ADDR field |
7-1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | PER_DEBUG_ENABLE | R/W | 0h | Parity Error Debug Enable 0: Normal operation 1: An address offset can be written to PER_DBG.PER_DEBUG_ADDR and parity errors will be generated on reads from within this offset |
PER_CHK is shown in Table 9-4.
Return to the Summary Table.
Parity Error Check
Parity error check results
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R | 0h | Reserved |
23-0 | PER_ADDR | R | 0h | Parity Error Address Offset Returns the last address offset which resulted in a parity error during an SRAM read. The address offset returned is always the word-aligned address that contains the location with the parity error. For parity faults on non word-aligned accesses, CPU_SCS:BFAR.ADDRESS will hold the address of the location that resulted in parity error. |
PER_DBG is shown in Table 9-5.
Return to the Summary Table.
Parity Error Debug
Parity error check debug address setting
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R | 0h | Reserved |
23-0 | PER_DEBUG_ADDR | R/W | 0h | Debug Parity Error Address Offset When PER_CTL.PER_DEBUG is 1, this field is used to set a parity debug address offset. The address offset must be a word-aligned address. Writes within this address offset will force incorrect parity bits to be stored together with the data written. The following reads within this same address offset will thus result in parity errors to be generated. |
MEM_CTL is shown in Table 9-6.
Return to the Summary Table.
Memory Control
Controls memory initialization
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | MEM_SEL | R/W | 0h | Memory Instance Select This field is used to enable/disable initialization of each SRAM instance when triggered using MEM_CTL.MEM_CLR_EN. Each bit corresponds to the respective SRAM instance. bit[x]: 0: Initialization of instance x is disabled 1: Initialization of instance x is enabled |
7-2 | RESERVED | R | 0h | Reserved |
1 | MEM_BUSY | R | 0h | Memory Busy status 0: Memory accepts transfers 1: Memory controller is busy during initialization. Read and write transfers are not performed. |
0 | MEM_CLR_EN | R/W | 0h | Memory Contents Initialization enable Writing 1 to MEM_CLR_EN will start memory initialization. The contents of all byte locations will be initialized to 0x00. MEM_BUSY will be 1 until memory initialization has completed. |
MEM_STA is shown in Table 9-7.
Return to the Summary Table.
Memory Status
Controls memory initialization
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | MEM_STA | R | 0h | Memory Instance Status This field gives the current status of each SRAM instance. When an instance is being initialized the corresponding bit is set to 1, 0 otherwise. bit[x]: 0 : Instance x is in normal mode 1 : Instance x is getting initialized |
7-0 | RESERVED | R | 0h | Reserved |