Information
DDR Memory Controller
MPC8308 PowerQUICC II Pro Processor Reference Manual, Rev. 1
Freescale Semiconductor 9-57
doubleword, a full read-modify-write is performed for a write to SDRAM. If ECC is disabled or both the
access is doubleword aligned with a size that is a multiple of a doubleword, the data masks (MDM[0:4]
for 32-bit bus) can be used to prevent the writing of unwanted data to SDRAM. The DDR memory
controller also uses data masks to prevent all unintended full double words from writing to SDRAM. For
example, if a write transaction is desired with a size of one word (4 bytes), then the second, third, and
fourth beats of data are not written to DRAM (assuming a 32-bit data bus).
Table 9-44 lists the data beat sequencing to and from the DDR SDRAM and the data queues for each of
the possible transfer sizes with each of the possible starting double-word offsets. All underlined
double-word offsets are valid for the transaction.
9.5.10 Page Mode and Logical Bank Retention
The DDR memory controller supports an open/closed page mode with an allowable open page for each
logical bank of DRAM used. In closed page mode for DDR SDRAMs, the DDR memory controller uses
the SDRAM auto-precharge feature, which allows the controller to indicate that the page must be
automatically closed by the DDR SDRAM after the READ or WRITE access. This is performed using
MA[10] of the address during the COMMAND phase of the access to enable auto-precharge.
Auto-precharge is non-persistent in that it is either enabled or disabled for each individual READ or
WRITE command. It can, however, be enabled or disabled separately for each chip select.
When the DDR memory controller operates in open page mode, it retains the currently active SDRAM
page by not issuing a precharge command. The page remains opens until one of the following conditions
occurs:
• Refresh interval is met.
• The user-programmable DDR_SDRAM_INTERVAL[BSTOPRE] value is exceeded.
• There is a logical bank row collision with another transaction that must be issued.
Page mode can dramatically reduce access latencies for page hits. Depending on the memory system
design and timing parameters, using page mode can save two to three clock cycles for subsequent burst
accesses that hit in an active page. Also, better performance can be obtained using more banks, especially
Table 9-44. Memory Controller–Data Beat Ordering
Transfer Size Starting Double-Word Offset
Double-Word Sequence
1
to/from
DRAM and Queues
1
All underlined and bolded Double-word offsets are valid for the transaction.
1 double word 0
1
2
3
0 - 1 - 2 - 3
1 - 2 - 3 - 0
2 - 3 - 0 - 1
3 - 0 - 1 - 2
2 double words 0
1
2
0 - 1 - 2 - 3
1 - 2 - 3 - 0
2 - 3 - 0 - 1
3 double words 0
1
0 - 1 - 2 - 3
1 - 2 - 3 - 0