modulo 8 boundary within the modulo 32 range; the address "wraps" from the highest address to the lowest address of the range if the starting
address is not aligned at the beginning of the range. No data is masked during a burst.
The beat address order of the XL bus is sequential. Based on the start address issued by the internal master, the address order of the 4 XLD
beats in a burst transfer is one of the following:
•
0x00, 0x08, 0x10, 0x18 (memory data address order 0x00, 0x04, 0x08, 0x0c, ...)
•
0x08, 0x10, 0x18, 0x00
•
0x10, 0x18, 0x00, 0x08
•
0x18, 0x00, 0x08, 0x10
To implement single-beat transfers, the Memory Controller uses DM[3:0] to mask unwanted bytes or words. The Memory Controller supports
all single-beat transfer sizes from 1 to 8 contiguous bytes within a single modulo 8 address range.
A Single transfer is exactly 1 beat on the XLD bus. The relevant data for a Single transfer is always within the first 2 beats on the memory
bus, allowing the command to be aborted (interrupt) as soon as possible.
8.4.4
Commands
When an internal bus master accesses SDRAM address space, the Memory Controller generates the corresponding SDRAM command.
Table 8-4
lists SDRAM commands supported by the Memory Controller.
Function
Command Inhibit
No Operation
Read
Write
Row and Bank Active
Burst Terminate
Precharge All Banks
Load Mode Register
Load Extended Mode Register
CBR Auto Refresh
Self Refresh
Power Down
Note:
1. H = High
2. L = Low
3. V = Valid
4. X = Don't care
Many commands require a delay before the next command may be issued; sometimes the delay depends on the type of the next command.
These delay requirements are managed by the values programmed in the Memory Controller Configuration registers.
8.4.4.1
Load Mode/Extended Mode Register Command
The Load Mode Register (LMR) and Load Extended Mode Register (LEMR) commands are used during SDRAM initialization only.
When a bus master writes to the Memory Controller Mode register, the Memory Controller generates the LMR or LEMR command to forward
the data to the memory. In these two operations, data written to the Memory Controller is put on the SDRAM address and bank select busses.
The bank select data selects the Mode or Extended Mode register.
The Memory Controller Mode register must be enabled before writing, and disabled after all memory Mode register operations are complete.
This is done by setting or clearing the Control register mode_en bit.See
Freescale Semiconductor
Table 8-4. SDRAM Commands
Symbol
CKE
CS
RAS
INH
H
H
NOP
H
L
READ
H
L
WRIT
H
L
ACT
H
L
BST
H
L
PALL
H
L
LMR
H
L
LEMR
H
L
AREF
H
L
SREF
H→L
L
PDWN
H→L
H
Section 8.7.1, Mode Register—MBAR + 0x0100
MPC5200B Users Guide, Rev. 1
CAS
WE
BA[1:0]
X
X
X
X
H
H
H
X
H
L
H
V
H
L
L
V
L
H
H
V
H
H
L
X
L
H
L
X
L
L
L
LL
L
L
L
LH
L
L
H
X
L
L
H
X
X
X
X
X
Functional Description
A10
Other A
X
X
X
X
L
V
L
V
V
V
X
X
H
X
V
V
V
V
X
X
X
X
X
X
8-17
Need help?
Do you have a question about the MPC5200B and is the answer not in the manual?