Download Datasheet - Mouser Electronics

Transcript
Bus Operation
31
0
OP0
OP2
OP1
OP3
LONGWORD OPERAND
15
0
OP2
OP3
WORD OPERAND
7
0
OP3
BYTE OPERAND
Figure 20-1. Internal Operand Representation
Figure 20-2 shows the required organization of data ports on the MCF5272 for 8-, 16-, and 32 bit devices.
The four bytes shown are connected through the internal data bus and data multiplexer to the external data
bus. This path is how the MCF5272 supports programmable port sizing and operand misalignment. The
data multiplexer establishes the necessary connections for different combinations of address and data
sizes.
REGISTER
OP0
OP1
OP2
OP3
EXTERNAL
DATA BUS
D[31:24]
D[23:16]
D[15:8]
D[7:0]
A0
0
BYTE 0
BYTE 1
BYTE 2
BYTE 3
0
1
0
0
BYTE 0
BYTE 2
BYTE 1
BYTE 3
0
0
1
1
0
1
0
1
BYTE 0
BYTE 1
BYTE 2
BYTE 3
ADDRESS A1
0
INTERNAL TO
MCF5272
ROUTING AND DUPLICATION
MULTIPLEXER
32-BIT PORT
16-BIT PORT
8-BIT PORT
Figure 20-2. MCF5272 Interface to Various Port Sizes
The multiplexer takes the four bytes of the 32-bit bus and routes them to their required positions. For
example, OP3 can be routed to D[7:0], as would be the normal case when interfacing to a 32-bit port. OP3
can be routed to D[23:16] for interfacing to a 16-bit port, or it can be routed to D[31:24] for interfacing to
an 8-bit port. The operand size, address, and port size of the memory being accessed determines the
positioning of bytes.
MCF5272 ColdFire® Integrated Microprocessor User’s Manual, Rev. 3
Freescale Semiconductor
20-5