1 / 14

Parallel I/O Interface

Parallel I/O Interface. Direct memory access(DMA). Memory. Output Device. Actuator. CPU. I/O. Transducer. Input Device. Microprocessor / Microcontroller. Parallel Interface. Parallel I/O is suitable for high-speed applications. General Structure of a parallel I/O Port.

dora-nunez
Download Presentation

Parallel I/O Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Parallel I/O Interface Direct memory access(DMA) Memory Output Device Actuator CPU I/O Transducer Input Device Microprocessor / Microcontroller Parallel Interface Parallel I/O is suitable for high-speed applications.

  2. General Structure of a parallel I/O Port Bidirectional data bus Chip Select Read/Write Clock Select Address lines Parallel I/O Port Tri-state I/O Lines Open-Collector I/O Lines Edge-Triggered Control Lines 1. Data I/O with tri-state output 2. Data I/O with open-collector output 3. Handshaking lines Standard Microprocessor Bus Interface

  3. Bus Handshaking Protocols • Synchronous (Clocked transfer, one clock period per transfer) • Asynchronous (Unclocked, use handshake signals) • Semisynchronous (Clocked transfer, ome or more clock periods per transfer)

  4. Synchronous Buses • The only control signal is a clock oscillator • Bus master: bus transmitter, put address on the bus • Bus slave: Bus receiver, respond to the master Setup, decode, and skew delay Clock Hold and Skew delay Address Data Write Read Write

  5. Typical Slave Internal Structure Clock Data Address Address Decoder Bus Master Buffer Bus Slave

  6. Timing Consideration • Bus lines must be stable before clock rises and after clock falls. • The following timing must be check for proper transaction • 1) Delay of address decoding • 2) Setup time and Hold time for logic • 3) Skew delay

  7. Setup Time and Hold Time • Setup time is the minimum amount of time that a control signal has to be present on an input of memory device before the clock triggers a transfer into the device. • Hold time is the minimum time that data has to be held stable on the inputs of a memory device after a clock change triggers a transfer into that device.

  8. Signal Skew A0 Sources of skew delay: 1) Differences in propagation delay 2) Varying logic gate delay 3) Rise time and Fall time 4) Gate threshold A1 D D The master transmits the signals over the bus to slave. The slave no longer sees the signals arrive at the same instant of time.

  9. Advantage and Disadvantages of Synchronous Protocol • Advantage: Simplicity • Disadvantages:Problem with slow devices • Length of clock pulses Time needed for slave to response • So, slowest slave has to be considered. This reduces the bandwidth and decreases the potential system performance.

  10. Asynchronous Buses • ComputerA mix of devices with widely varying access timesProblem of synchronous protocol: The bus runs at the speed of the slowest device. • Asynchronous buses allow: fast transactions for fast devices, slow transactions for slow devices.

  11. Fully interlocked asynchronous bus Address Originating from bus master Master Slave Originating from bus slave Data Write Read Asynchronous bus handshaking

  12. Asynchronous Buses • No timing relation to the system clock • Handshake lines are required (Fully interlocked protocol) • Matching the different speeds of external devices, fast transaction for fast device, slow transaction for slow device.

  13. Semi-synchronous Buses • For fast devices: synchronous buses • Insert wait states using WAIT for slow devices. Clock Address Data Write Read WAIT

  14. DMA and DMA Controller(DMAC) Microprocessor Memory DMA Controller I/O Port I/O Port I/O Port External Device External Device External Device

More Related