Datasheet

17-8 MCF5407 User’s Manual
MCF5407 Bus Signals
A[31:24]—Pins are congured as address bits by setting corresponding PAR bits;
they represent the most-signicant address bus bits. As much as 4 Gbytes of
memory are available when all of these pins are programmed as address signals.
PP[15:8]—Pins are congured as parallel port signals by clearing corresponding
PAR bits; these represent the most-signicant parallel port bits.
17.2.2 Data Bus (D[31:0])
The data bus is bidirectional and non-multiplexed. Data is sampled by the MCF5407 on the
rising CLKIN edge. The data bus port width, wait states, and internal termination are
initially dened for the boot chip select by D[7:0] during reset. The port width for each chip
select and DRAM bank are programmable. The data bus uses a default conguration if none
of the chip selects or DRAM bank match the address decode. The default conguration is
a 32-bit port with external termination and burst-inhibited transfers. The data bus can
transfer byte, word, or longword data widths. All 32 data bus signals are driven during
writes, regardless of port width and operand size.
D[7:0] are used during reset initialization as inputs to congure the functions as described
in Table 17-3. They are dened in Section 17.5.5, “Data/Conguration Pins (D[7:0]).
17.2.3 Read/Write (R/W)
When the MCF5407 is the bus master, it drives the R/W signal to indicate the direction of
subsequent data transfers. It is driven high during read bus cycles and driven low during
write bus cycles. This signal is an input during an external master access.
17.2.4 Size (SIZ[1:0])
When it is the bus master, the MCF5407 outputs these signals to indicate the requested data
transfer size. Table 17-4 shows the denition of the bus request size encodings. When the
MCF5407 device is not the bus master, these signals function as inputs.
Note that for misaligned transfers, SIZ[1:0] indicate the size of each transfer. For example,
Table 17-3. Data Pin Configuration
Pin Function Section
D7 Auto-acknowledge conguration
(AA_CONFIG)
Section 17.5.5.2, D7Auto Acknowledge Conguration
(AA_CONFIG)
D[6:5] Port size conguration (PS_CONFIG[1:0]) Section 17.5.5.3, D[6:5]Port Size Conguration
(PS_CONFIG[1:0])
D4 Address conguration (ADDR_CONFIG/D4) Section 17.5.6, D4Address Conguration
(ADDR_CONFIG)
D3 Byte enable conguration (BE_CONFIG) Section 17.5.5.4, D3Byte-Enable Conguration
(BE_CONFIG)
D[2:0] Divide control (DIVIDE[2:0]) Section 17.5.6.1, D[2:0]Divide Control (DIVIDE[2:0])