MPC555
/
MPC556
MEMORY CONTROLLER
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
10-21
10.5 Write and Byte Enable Signals
The GPCM determines the timing and value of the WE/BE signals if allowed by the
port size of the accessed bank, the transfer size of the transaction and the address
accessed.
The functionality of the WE/BE[0:3] pins depends upon the value of the write enable/
byte select (WEBS) bit in the corresponding BR register. Setting WEBS to 1 will enable
these pins as BE, while resetting it to zero will enable them as WE. WE is asserted
only during write access, while BE is asserted for both read and write accesses. The
timing of the WE/BE pins remains the same in either case, and is determined by the
TRLX, ACS and CSNT bits.
The upper WE/BE (WE[0]/BE[0]) indicates that the upper eight bits of the data bus
(D0–D7) contains valid data during a write/read cycle. The upper-middle write byte en-
able (WE[1]/BE[1]) indicates that the upper-middle eight bits of the data bus (D8–D15)
contains valid data during a write/read cycle. The lower-middle write byte enable
(WE[2]/BE[2]) indicates that the lower-middle eight bits of the data bus (D16–D23)
contains valid data during a write/read cycle. The lower write/read enable (WE[3]/
BE[3]) indicates that the lower eight bits of the data bus contains valid data during a
write cycle.
The write/byte enable lines affected in a transaction for 32-bit port (PS = 00), a
16-bit port (PS = 10) and a 8-bit port (PS = 01) are shown in
. This table
shows which write enables are asserted (indicated with an ‘X’) for different combina-
tions of port size and transfer size
10.6 Dual Mapping of the Internal Flash EEPROM Array
The user can enable mapping of the internal flash EEPROM (CMF) module to an ex-
ternal memory region controlled by the memory controller. Only one region can be pro-
grammed to be dual-mapped. When dual mapping is enabled (DME bit is set in
DMBR), an internal address matches the dual-mapped address range (as pro-
grammed in the DMBR), and the cycle type matches AT/ATM field in DMBR/DMOR
registers, then the following occur:
• The internal flash memory does not respond to that address
Table 10-4 Write Enable/Byte Enable Signals Function
Transfer
Size
TSIZ
Address
32-bit Port Size
16-bit Port Size
8-bit Port Size
A30
A31
WE[0]
/
BE[0]
WE[1]
/
BE[1]
WE[2]
/
BE[2]
WE[3]
/
BE[3]
WE[0]
/
BE[0]
WE[1]
/
BE[1]
WE[2]
/
BE[2]
WE[3]
/
BE[3]
WE[0]
/
BE[0]
WE[1]
/
BE[1]
WE[2]
/
BE[2]
WE[3]
/
BE[3]
Byte
0
1
0
0
X
X
X
0
1
0
1
X
X
X
0
1
1
0
X
X
X
0
1
1
1
X
X
X
Half-
Word
1
0
0
0
X
X
X
X
X
1
0
1
0
X
X
X
X
X
Word
0
0
0
0
X
X
X
X
X
X
X
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..