Motorola MCF5281, MCF5282 user manual Bus Cycle Execution, Chip-Select Module Output Timing Diagram

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 267
Image 267

Data Transfer Operation

The address bus, write data, TS, and all attribute signals change on the rising edge of CLKOUT. Read data is latched into the MCF5282 on the rising edge of CLKOUT.

The MCF5282 bus supports byte, word, and longword operand transfers and allows accesses to 8-, 16-, and 32-bit data ports. Aspects of the transfer, such as the port size, the number of wait states for the external slave being accessed, and whether internal transfer termination is enabled, can be programmed in the chip-select control registers (CSCRs) and the DRAM control registers (DACRs).

Figure 13-2shows the byte lanes that external memory should be connected to and the sequential transfers if a longword is transferred for three port sizes. For example, an 8-bit memory should be connected to D[31:24] (BS3). A longword transfer takes four transfers on D[31:24], starting with the MSB and going to the LSB.

Byte Enable

Processor

External

Data Bus

32-Bit Port Memory

16-Bit Port Memory

 

BS3

 

 

BS2

 

 

BS1

 

 

BS0

 

 

 

 

 

 

 

 

 

 

 

 

 

D[31:24]

D[23:16]

D[15:8]

D[7:0]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte 0

Byte 1

Byte 2

Byte 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte 0

Byte 1

 

 

Driven with

 

 

 

 

 

 

 

 

indeterminate values

Byte 2

Byte 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8-Bit Port Memory

Byte 0

Byte 1

Byte 2

Byte 3

Driven with indeterminate values

Figure 13-2. Connections for External Memory Port Sizes

The timing relationship of chip selects (CS[7:0]), byte selects (BS[3:0]), and output enable (OE) with respect to CLKOUT is similar in that all transitions occur during the low phase of CLKOUT. However, due to differences in on-chip signal routing, signals may not assert simultaneously.

CLKOUT

CS[7:0]

BS[3:0]

OE

Figure 13-3. Chip-Select Module Output Timing Diagram

13.4.1 Bus Cycle Execution

When a bus cycle is initiated, the MCF5282 first compares the address of that bus cycle with the base address and mask configurations programmed for chip selects 0–7

MOTOROLA

Chapter 13. External Interface Module (EIM)

13-3

Page 267
Image 267
Motorola MCF5281, MCF5282 user manual Bus Cycle Execution, Chip-Select Module Output Timing Diagram