Freescale Semiconductor MCF52277 Reference Manual page 346

Table of Contents

Advertisement

SDRAM Controller (SDRAMC)
Field
29
DDR mode select.
DDR_MODE
0 SDR mode
1 DDR mode
28
Refresh enable.
REF_EN
0 Automatic refresh disabled
1 Automatic refresh enabled
27–26
Reserved, must be cleared.
25–24
Controls the use of internal address bits A[27:24] as row or column bits on the SD_A bus. See
ADDR_MUX
Table
19-5.
23
Reserved, must be cleared.
22
Drive rule selection.
OE_RULE
0 Tri-state except to write. SD_D and SD_DQS are only driven when necessary to perform a write command.
1 Drive except to read. SD_D and SD_DQS are only tristated when necessary to perform a read command.
When not being driven for a write cycle, SD_D hold the most recent value and SD_DQS are driven low. This
mode is intended for minimal applications only, to prevent floating signals and allow unterminated board traces.
However, terminated wiring is always recommended over unterminated.
21–16
The average periodic interval at which the controller generates refresh commands to memory; measured in
increments of 64 × SD_CLK period.
REF_CNT
REF_CNT = (t
If the SDRAM data sheet does not define t
15–14
Reserved, must be cleared.
13
Memory data port size.
MEM_PS
0 32-bit data bus
1 16-bit data bus
12
Reserved, must be cleared.
11–10
DQS output enable. Each DQS_OE bit is a master enable for the corresponding SD_DQSn signal. DQS_OE[1]
DQS_OE
(SDCR[11]) enables SD_DQS3 and DQS_OE[0] (SDCR[10]) enables SD_DQS2.
0 SD_DQSn can never drive. Use this value in SDR mode or in DDR mode with a single DQS memory. Some
32-bit DDR devices have only a single DQS pin. Enable one of the SD_DQSn signals and disable the other.
Then, short both pins external to the device.
1 SD_DQSn can drive as necessary, depending on commands and SDCR[OE_RULE] setting. DDR only.
9–3
Reserved, must be cleared.
19-16
Table 19-8. SDCR Field Descriptions (continued)
× 64)) - 1, rounded down to the next integer value.
/ (t
REFI
CK
MCF52277 Reference Manual, Rev. 1
Description
, it can be calculated by t
REFI
Table
= t
/ #rows.
REFI
REF
Freescale Semiconductor
19-4, and

Advertisement

Table of Contents
loading

Table of Contents