7-2
MPC8240 Integrated Processor User’s Manual
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.
Содержание MPC8240
Страница 1: ...MPC8240UM D Rev 1 1 2001 MPC8240 Integrated Processor User s Manual ...
Страница 38: ...xviii MPC8240 Integrated Processor User s Manual TABLES Table Number Title Page Number ...
Страница 48: ...xlviii MPC8240 Integrated Processor User s Manual Acronyms and Abbreviations ...
Страница 312: ...6 94 MPC8240 Integrated Processor User s Manual ROM Flash Interface Operation ...
Страница 348: ...7 36 MPC8240 Integrated Processor User s Manual PCI Host and Agent Modes ...
Страница 372: ...8 24 MPC8240 Integrated Processor User s Manual DMA Register Descriptions ...
Страница 394: ...9 22 MPC8240 Integrated Processor User s Manual I2O Interface ...
Страница 412: ...10 18 MPC8240 Integrated Processor User s Manual Programming Guidelines ...
Страница 454: ...12 14 MPC8240 Integrated Processor User s Manual Internal Arbitration ...
Страница 466: ...13 12 MPC8240 Integrated Processor User s Manual Exception Latencies ...
Страница 516: ...16 14 Watchpoint Trigger Applications ...
Страница 538: ...B 16 MPC8240 Integrated Processor User s Manual Setting the Endian Mode of Operation ...
Страница 546: ...C 8 MPC8240 Integrated Processor User s Manual ...
Страница 640: ...INDEX Index 16 MPC8240 Integrated Processor User s Manual ...