Address Maps - Motorola MPC8240 User Manual

Integrated host processor with integrated pci
Table of Contents

Advertisement

PCI Interface Overview
As an initiator, the MPC8240 supports read and write operations to the PCI memory space,
the PCI I/O space, and the 256-byte PCI configuration space. As an initiator, the MPC8240
also supports generating PCI special-cycle and interrupt-acknowledge transactions. As a
target, the MPC8240 supports read and write operations to local memory and read and write
operations to the internal PCI-accessible configuration registers.
The MPC8240 can function as either a PCI host bridge referred to as 'host mode' or a
peripheral device on the PCI bus referred to as 'agent mode'. Note that agent mode is
supported only for address map B. See Section 7.7, "PCI Host and Agent Modes," for more
information.
All of the PCI-accessible configuration registers in the MPC8240 can be programmed from
the PCI bus. However, the PICRs, MICRs, and other configuration registers are not
accessible from the PCI bus and must be programmed by the processor core. See
Section 7.7.2, "Accessing the MPC8240 Configuration Space," for more information.
The PCI interface provides bus arbitration for the MPC8240 and up to five other PCI bus
masters. The arbitration algorithm is a programmable two-level round-robin priority
selector. The on-chip PCI arbiter can operate in both host and agent modes or it can be
disabled to allow for an external PCI arbiter.
The MPC8240 also provides an address translation mechanism to map inbound PCI to local
memory accesses and outbound processor core to PCI accesses. Address translation is
required when the MPC8240 is operating in agent mode. Address translation is not
supported in host mode. See Section 7.7.4, "PCI Address Translation Support," for more
information.
The interface can be programmed for either little-endian or big-endian formatted data, and
provides data swapping, byte enable swapping, and address translation in hardware. See
Appendix B, "Bit and Byte Ordering," for more information on the bi-endian features of
the MPC8240.
7.1.1 The MPC8240 as a PCI Initiator
Upon detecting a processor-to-PCI transaction, the MPC8240 requests the use of the PCI
bus. For processor-to-PCI bus write operations, the MPC8240 requests mastership of the
PCI bus when the processor completes the write operation on the internal peripheral logic
bus. For processor-to-PCI read operations, the MPC8240 requests mastership of the PCI
bus when it decodes that the access is for PCI address space.
Once granted, the MPC8240 drives the 32-bit PCI address (AD[31:0]) and the bus
command (C/BE[3:0]) signals. The master interface supports reads and writes of up to
32 bytes without inserting master-initiated wait states.
The master part of the interface can initiate master-abort cycles, recognizes target-abort,
target-retry, and target-disconnect cycles, and supports various device selection timings.
The master interface does not run fast back-to-back or exclusive accesses.
7-2
MPC8240 Integrated Processor User's Manual

Advertisement

Table of Contents
loading

Table of Contents