Memory Controller

This is a read/write register. Ignore reads from reserved bits. Write zeros to reserved bits.

Table 6-5. MDREFR Bit Definitions (Sheet 1 of 3)

0x4800_0004

MDREFR

Memory Controller

Bit

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

 

 

 

 

 

 

 

 

K2FREE

 

K1FREE

 

K0FREE

 

SLFRSH

 

 

APD

 

K2DB2

 

K2RUN

 

K1DB2

 

K1RUN

 

E1PIN

 

K0DB2

 

K0RUN

 

E0PIN

 

 

 

 

 

 

 

 

 

 

 

 

 

reserved

 

 

 

 

 

reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DRI

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 0 0 0 0 0

 

1 1 1 1

0

0 1 0 1 0 0 1

*

*

1

1

1

1

1

1

1

1

1

1

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

Bits

Name

 

Description

 

 

 

31:26

reserved

 

 

 

 

 

SDRAM Free-Running Control

 

 

0 – SDCLK2 is not free-running

25

K2FREE

1 – SDCLK2 is free-running (ignores MDREFR[APD] or MDREFR[K2RUN] bits)

 

 

Provides synchronous memory with SDCLK2 following a reset in order to reset internal

 

 

circuitry.

 

 

 

 

 

SDRAM Free-Running Control

24

K1FREE

0 –

SDCLK1 is not free-running

1 –

SDCLK1 is free-running (ignores MDREFR[APD] or MDREFR[K1RUN] bits)

 

 

Provides synchronous memory with SDCLK1 following a reset to reset internal circuitry.

 

 

SDRAM Free-Running Control

23

K0FREE

0 – SDCLK0 is not free-running

1 – SDCLK0 is free-running (ignores MDREFR[APD] or MDREFR[K0RUN] bits)

 

 

 

 

Provides synchronous memory with SDCLK0 following a reset to reset internal circuitry.

 

 

 

 

 

SDRAM Self-Refresh Control/Status

 

 

Control/status bit for entering and exiting SDRAM self-refresh and is automatically set on a

 

 

hardware or sleep reset.

0 – Self refresh disabled

1 – Self refresh enabled

22SLFRSH SLFRSH can be set by software to force a self-refresh command. E1PIN does not have to be cleared. The appropriate clock run bits (K1RUN and/or K2RUN) must remain set until SDRAM has entered self-refresh and must be set prior to exiting self-refresh (clearing SLFRSH). This capability must be used with extreme caution because the resulting state prohibits automatic transitions for any commands.

 

 

Clearing SLFRSH is a part of the hardware or sleep reset procedure for SDRAM.

 

 

 

21

reserved

 

 

 

 

 

SDRAM/Synchronous Static Memory Auto-Power-Down Enable.

 

 

If APD=1, the clock enables and clock pins are automatically deasserted when none of the

 

 

corresponding partitions are being accessed unless the KxFREE bits are set.

 

 

If no SDRAM partitions are being accessed, the SDRAM chips are put into Power-Down

20

APD

mode and the clocks and clock-enable pins are turned off.

If one SDRAM partition is being used and the other is not, the clock to the partition that is

 

 

 

 

not being used are turned off.

 

 

If no Synchronous Static Memory partitions are being used, the clock and clock enable to

 

 

these partitions are turned off and the memory chips are put into Power-Down mode. See

 

 

Section 6.7.

 

 

 

 

 

SDRAM Clock Pin 2 (SDCLK2) Divide by 2 Control/Status

19

K2DB2

0 – SDCLK2 is same frequency as MEMCLK

 

 

1 – SDCLK2 runs at one-half the MEMCLK frequency

Intel® PXA255 Processor Developer’s Manual

6-15

Page 197
Image 197
Intel PXA255 manual Mdrefr Bit Definitions Sheet 1, APD K2DB2 K2RUN K1DB2 K1RUN E1PIN K0DB2 K0RUN E0PIN, Dri