SRAM
MPC5565 Microcontroller Reference Manual, Rev. 1.0
14-2
Freescale Semiconductor
14.4
Register Memory Map
The SRAM occupies 80 KB of memory starting at the base address as shown in
.
The internal SRAM has no registers. Registers for the SRAM ECC are located in the ECSM (refer to
Chapter 8, “Error Correction Status Module (ECSM)
”
for more information).
14.5
Functional Description
ECC checks are performed during the read portion of an SRAM ECC read/write (R/W) operation, and
ECC calculations are performed during the write portion of a read/write (R/W) operation. Because the
ECC bits can contain random data after the device is powered on, you must initialize the SRAM by
executing 64-bit write instructions to the entire SRAM. For more information, refer to
“Initialization and Application Information
.”
14.6
SRAM ECC Mechanism
The SRAM ECC detects the following conditions and produces the following results:
•
Detects and corrects all 1-bit errors
•
Detects and flags all 2-bit errors as non-correctable errors
•
Detects 72-bit reads (64-bit data bus plus the 8-bit ECC) that return all zeros or all ones, asserts an
error indicator on the bus cycle, and sets the error flag
SRAM does not detect all errors greater than 2 bits.
Internal SRAM write operations are performed on the following byte boundaries:
•
1 byte (0:7 bits)
•
2 bytes (0:15 bits)
•
4 bytes or 1 word (0:31 bits)
•
8 bytes or 2 words (0:63 bits)
If the entire 64 data bits are written to SRAM, no read operation is performed and the ECC is calculated
across the 64-bit data bus. The 8-bit ECC is appended to the data segment and written to SRAM.
If the write operation is less than the entire 64-bit data width (1-, 2-, or 4-byte segment), the following
occurs:
1. The ECC mechanism checks the entire 64-bit data bus for errors, detecting and either correcting or
flagging errors.
2. The write data bytes (1-, 2-, or 4-byte segment) are merged with the corrected 64 bits on the data
bus.
Table 14-2. SRAM Memory Map
Address
Register Name
Register Description
Size
Base (0x4000_0000)
—
SRAM powered by V
STBY
32 KB
Base + 0x8000
—
48-KB RAM
48 KB
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...