Professional Documents
Culture Documents
05 Bus Interface - 99 Slides
05 Bus Interface - 99 Slides
Buses:
◦ Data, Address and Control
Bus Cycles:
◦ Read and Write Access, Handshaking (focus on Wait states)
Bus Arbiters
Bus Multiplexing
Busses
Bus Definition
A bus is simply a collection of wires carrying various signals
between all of the other major components on the embedded
board which include the I/O subsystems, memory subsystem,
and the master processor:
◦ data,
◦ addresses
◦ control signals, such as:
clock signals,
requests,
acknowledgements,
data type
Figure 21:
PCI compliant IC
Integrating the Bus with Other Board Components
Outside
I/O Groups of lines
world
Figure 30: Generic CPU reading instructions and data from memory
Memory Write
1. The CPU selects the memory location by driving the
address on the address bus.
2. Control lines are driven by the CPU to indicate the address
space to use.
3. The CPU drives the data to be written on the data bus.
4. Write is activated on the control bus by the CPU to indicate
that the data on the data bus should be written into the
selected location.
5. The CPU deactivates the address, data, and control lines.
Memory Write
Content
Bus contention
is an undesirable state of the bus in which more than one
device on the bus attempts to place values on the bus at the
same time
Most bus architectures require their devices follow an
arbitration protocol
Contention can lead to erroneous operation, and in unusual
cases, damage to the hardware
Bus Multiplexing
In the case of a processor with a multiplexed address
and data bus, some or all of the data bus is multiplexed
or shared with the address bus.
An additional signal is provided on the control bus to
enable an address storage latch to hold the address
information at the beginning of a transfer cycle.
Bus cycles on a multiplexed address/data bus system,
are identical to those illustrated previously except for
the addition of address information on the data bus at
the beginning of a cycle, and an address latch control
signal.
The 8051 has a multiplexed bus cycle.
Multiplexed address/data bus cycles
Content
Centronics Protocol