Академический Документы
Профессиональный Документы
Культура Документы
GABRIELA MATEI
INTRODUCTION
What is the parallel port ?
In the computer world, a port is a set o signal lines that the microprocessor, or
Typical uses for ports are communicating with printers, modems, keyboards and
displays, or just about any component or device except system memory.
Most computer ports are digital, where each signal, or bit, is 0 or 1. A parallel port transfers multiple
bits at once, while a serial port
Parallel ports were originally developed by IBM as a way to connect a printer to our PC. When IBM was in the process of designing the PC, the company wanted the computer to work with printers offered by Centronics, a top printer manufacturer at the time. IBM decided not to use the same port interface on the computer that Centronics used on the printer. Instead, IBM engineers coupled a 25-pin connector, DB-25, with a 36-pin Centronics connector to create a special cable to connect the printer to the computer.
The Standard Parallel Port (SPP) is also known as the Centronics parallel port.
With the introduction of the PS/2 (Simple Bidirectional) in 1987, IBM offered a new
bidirectional parallel port design.
The next type of parallel port takes its name from its fastest mode, and is called an Enhanced Parallel Port or EPP. Finally, the Extended Capabilities Port mode lends its name to ports called Extended Capabilities Ports or ECP.
SPP
COMPATIBILITY MODE
Compatibility mode is a "forward channel" mode, or a mode that moves data from the PC to the peripheral. This mode moves bytes one at a time to a peripheral, and is the default mode of parallel port operation. To be termed "IEEE 1284 Compatible" a port must be at least capable of this type of operation.
NIBBLE MODE
Nibble mode is a "reverse channel" mode, or one that moves data from the peripheral to the PC. This mode moves data one "nibble" (4 bits) at a time to the PC. Once the nibbles arrive they must be reassembled into bytes, an operation that slows the overall rate at which data can be transmitted. "IEEE Compliant" parallel ports must include at least compatibility and nibble modes, and an approved mechanism for negotiating transfers. The standard parallel port is capable of sending 50 to 100 kilobytes of data per second.
When the printer is ready to receive data, it drives BUSY low. The host drives valid data on the data lines, waits a minimum of 500 ns, then pulses STROBE* for a minimum of 500 ns. Valid data must remain on the data lines for a minimum of 500 ns after the rising edge of STROBE*. The printer will receive the data and drive BUSY active to indicate that it is processing the data. When the printer has completed the data transfer, it will pulse the ACK* line active for a minimum of 500 ns and de-assert BUSY, indicating it is ready for the next data byte.
The standard parallel port uses three consecutive addresses. The first is the base address or Data register, the second is the ports Status register, and the third is the ports Control register. These addresses are usually in one of the following ranges:
QUESTIONS ?