Freescale Semiconductor MPC5200B User Manual page 259

Freescale semiconductor board users guide
Table of Contents

Advertisement

Memory Controller Registers (MBAR+0x0100:0x010C)
MEM_CLK2—double frequency of MEM_CLK—DDR uses both edges of the bus-frequency clock (MEM_CLK) to read/write
data.
msb 0
1
R
srd2rwp
W
RESET:
0
0
16
17
R
Rsvd
pre2act
W
RESET:
0
0
Bit
Name
0:3
srd2rwp
4
4:7
swt2rwp
8:11
rd_latency
12
13:15
act2rw
8-26
Table 8-10. Memory Controller Configuration Register 1
2
3
4
5
6
swt2rwp
0
0
0
0
0
18
19
20
21
22
ref2act
0
0
0
0
0
Single Read to Read/Write/Precharge delay. Limiting case is Read to Write:
For DDR: CL + round trip delay + t
If round trip delay = 1 clk and t
If CL==2: 2 + 1 + 0.75 ns = 3 clk + 0.75 ns, round to 0x3.
If CL==2.5: 2.5 + 1 + 0.75 ns = 3.5 clk + 0.75ns, round to 0x4
For SDR: CL + round trip delay + t
If round trip delay = 1 clk and t
If CL==2: 2 + 1 + 5.4ns + 1 = 4 clk + 5.4ns, round to 0x5.
If CL==3: 3 + 1 + 5.4ns + 1 = 5 clk + 5.4ns, round to 0x6.
Reserved
Single Write to Read/Write/Precharge delay. Limiting case is Write to Precharge.
For DDR, suggested value = 0x3 (t
For SDR, suggested value = 0x2 (t
Read CAS Latency.
For DDR:
If CL==2, write 0x6
If CL==2.5, write 0x7
For SDR:
If CL==2, write 0x2
If CL==3, write 0x3
Note: NOTE: CL=2.5 is not supported for SDR.
Reserved
Active to Read/Write delay.
Suggested value at 132 MHz = 0x02
Rule: t
/MEM_CLK-1. Round up to nearest integer.
RCD
EXAMPLE:
If t
= 20ns and MEM_CLK = 99 MHz
RCD
20ns / 10.1 ns = 1.98; round to 2; write 0x1.
If t
= 20 ns and MEM_CLK = 132 MHz
RCD
20ns / 7.5 ns = 2.66; round to 3; write 0x2.
MPC5200B Users Guide, Rev. 1
7
8
9
10
11
rd_latency
0
0
0
0
0
23
24
25
26
27
Rsvd
wr_latency
0
0
0
0
0
Description
; round up.
Hz
= 0.75 ns::
Hz
+ 1; round up.
Hz
= 5.4 ns:
Hz
+ 1 clk)
WR
)
WR
12
13
14
15
Rsvd
act2rw
0
0
0
0
28
29
30
31 lsb
Reserved
0
0
0
0
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents