
System Arbitration
Élan™SC520 Microcontroller User’s Manual
8-7
8.4.2.4
GP Bus DMA Arbitration
The GP-DMA controller allows internal and external GP bus peripherals to have DMA
access to SDRAM. There is no preemption mechanism for GP-DMA. Therefore, once a
DMA transaction begins, no other master is granted the CPU bus until the DMA controller
deasserts its bus request, which varies according to whether the channel is programmed
for a single cycle transfer or a block mode transfer. See Chapter 14, “GP Bus DMA
Controller”, for information on the various DMA modes and transactions. However, the
Am5
x
86 CPU is granted the bus during this time to write back a cache location, if necessary.
8.4.2.5
Arbitration During Clock Speed Changes
The Am5
x
86 CPU’s internal core clock speed can be changed dynamically during operation,
for systems that require thermal management. While the clock is changing, there is a period
where the Am5
x
86 CPU cannot generate any bus cycles; therefore, cache snooping cannot
be performed.
To allow bus masters continued access of SDRAM during the long PLL recovery times, the
CPU bus arbiter masks the Am5
x
86 CPU bus requests and allows only the PCI host bridge
and GP-DMA controller access to the CPU bus. If no master is requesting the CPU bus,
the CPU bus arbiter is the default owner (no master is granted the bus).
Note that during normal operation when the Am5
x
86 CPU core clock is not changing, the
Am5
x
86 CPU is the default owner of the CPU bus.
8.4.3
PCI Bus Arbiter
The
PCI Local Bus Specification, Revision 2.2, defines a central resource known as the
arbiter. This resource controls PCI master access to the PCI bus. The arbitration approach
is
access-based, which means a PCI master is only granted the bus when it needs
(requests) the bus (except in the case of bus parking, discussed in “Bus Parking” on
page 8-10).
A simple request/grant handshake is used where each PCI master has a unique request
(REQ) and grant (GNT) signal. PCI bus arbitration is
hidden, which means arbitration for
the next cycle occurs during the current cycle, so that no cycles are wasted due to arbitration
(except when the bus is in the idle state and no other requests/grants are active).
The PCI bus is
parked on a PCI master when the bus is idle to prevent floating signals on
the bus. This is done by asserting a PCI master’s GNT signal, even though the PCI master
is not requesting the bus. In turn, the PCI master turns on its output drivers, which prevents
the bus from floating.
The ÉlanSC520 microcontroller includes the PCI bus arbiter central resource. The
integrated PCI bus arbiter arbitrates between the PCI host bridge (Am5
x
86 CPU as PCI
master) and up to five external masters. The req/gnt signal pair for the PCI host bridge on
the ÉlanSC520 microcontroller is internally connected to the PCI bus arbiter. Five external
REQ/GNT pin pairs (REQ4–REQ0, GNT4–GNT0) are provided to connect external PCI
masters to the ÉlanSC520 microcontroller’s PCI bus arbiter. In the following descriptions
in this chapter, the term
PCI bus arbiter refers to the ÉlanSC520 microcontroller’s integrated
PCI bus arbiter.
Because the Am5
x
86 CPU does not burst memory-write cycles (except cache write-backs,
which do not apply here because PCI bus memory is noncacheable in the ÉlanSC520
microcontroller), the ÉlanSC520 microcontroller will not burst more than two consecutive
doublewords during a CPU write to the PCI bus. Therefore, the PCI bus master latency
timer is not provided in the ÉlanSC520 microcontroller.
Содержание Elan SC520
Страница 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Страница 4: ...iv lan SC520 Microcontroller User s Manual...
Страница 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Страница 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Страница 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Страница 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Страница 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Страница 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Страница 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Страница 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Страница 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Страница 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Страница 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Страница 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Страница 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Страница 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...