A Made IT project


http://www.made-it.com
info@made-it.com

IEEE1284

General
The IEEE 1284 standard was approved in march 1994 as the Standard Signaling Method for a Bidirectional Parallel Peripheral Interface for Personal Computers. And is the first approved standard for parallel transmission on PCs. The idea was to create a standard that was backward compatible with the old Centronics standard. With the new standard higher speeds and greater distances are possible plus there is the capability also sending to the host (bidirectional).

The maximum speed that is allow over the new parallel bus is 2 MBps (16 Mbps). The cable length is determend by the mode that is used. Within the IEEE 1284 there are 5 different modes defined:

Compatibility mode
This one is compatible with all previous version of the parallel port. Data rates are possible up to 150 bytes per second @ 6 meter (20 ft) with an AB-cable or up to 150 kbps @ 10 meter (32.8 ft) with a CC-cable.

Nibble mode
This is a uni-directional interface. Only data transfers from periperal to host are possible. Data is send from the e.g. printer to the PC in a nibbles (4 bits). Combined with the Compatibility mode this is what Hewlett Packard calls "Bi-tronics".
For the Nibble-mode speeds of up to 50 kbps @ 6 meter (20 t) are possible. With a CC-cable this can be increased to up to 150 kbps @ 10 meter (32.6 ft).

Byte mode
Byte mode makes it possible to send data from the peripheral to the host in bytes (8 bits). Combined with the Compatibility mode you have a "Bidirectional port".
Speeds are possible up to 500 kbps @ 10 meter (32.8 ft) when CC-cables are used.

EPP mode
This is a mode in which data can be transfered from host to peripheral or vice versa, but not at the same time, so this is a half-duplex connection (mostly used by CD-ROMs, tape-drives, harddisks).
Speeds can range from 500 kbps to up to 2 Mbps @ 6 meter (20 ft) or 10 meter (32.8 ft) when CC-cables are used.

ECP mode
This is a mode in which data can be transfered from host to peripheral or vice versa, but not at the same time, so this is a half-duplex connection (mostly used by printers and scanners).
Speeds can range from 500 kbps to up to 1 Mbps @ 6 meter (20 ft) or 10 meter (32.8 ft) when CC-cables are used.

Every device can only be in one mode at a time. So the IEEE 1284 workgroup invented a way of determining which mode should be used with which device, that is called Negotiation. The Negotiation part doesn't affect older devices, but IEEE 1284 compliant devices can tell the host what they are and which mode to use.

Cables and Connectors
The IEEE defined three types of connectors and six types of cables. The type A connector is the parallel port connector (Sub-D25) found on most computers. The type B connector is what is usually called the Centronics connector. And there is a new connector that is called MDR36 and which is called type C. The pinning for the Centronics and Sub-D25 is not changed.
The different cables that are defined are:

AMAMType A male to type A male
AMAFType A male to type A female
ABType A male to type B
ACType A male to type C
BCType B male to type C
CCType C male to type C

Also the cable characteristics are defined:

Pinning Sub-D25 A-connector

MaleFemale
PinSignalAbbr.Source
1Data Strobe (low)STROBEComputer
2Data Bit 1 (LSB)D1Computer
3Data Bit 2D2Computer
4Data Bit 3D3Computer
5Data Bit 4D4Computer
6Data Bit 5D5Computer
7Data Bit 6D6Computer
8Data Bit 7D7Computer
9Data Bit 8 (LSB)D8Computer
10Acknowledge (low)ACKPrinter
11Busy (high)BUSYPrinter
12Paper End (high)PEPrinter
13Select (high)SELPrinter
14Auto Line Feed (low)LFComputer
15Error (low)ERRORPrinter
16Initialize Printer (prime-low)PRIMEComputer
17Select Input (low)SELComputer
18Return/groundGND-
19Return/groundGND-
20Return/groundGND-
21Return/groundGND-
22Return/groundGND-
23Return/groundGND-
24Return/groundGND-
25Return/groundGND-

Pinning 36 pin Amphenol B-connector

MaleFemale
PinSignalAbbr.Source
1Data Strobe (low)STROBEComputer
2Data Bit 1 (LSB)D1Computer
3Data Bit 2D2Computer
4Data Bit 3D3Computer
5Data Bit 4D4Computer
6Data Bit 5D5Computer
7Data Bit 6D6Computer
8Data Bit 7D7Computer
9Data Bit 8 (LSB)D8Computer
10Acknowledge (low)ACKPrinter
11Busy (high)BUSYPrinter
12Paper End (high)PEPrinter
13Select (high)SELPrinter
14Supply Ground -
15Oscillator Transmit Printer
16Logical Ground -
17Chassis Ground -
18+5 Vdc+VPrinter
19Return Data Strobe -
20Return Data Bit 1 -
21Return Data Bit 2 -
22Return Data Bit 3 -
23Return Data Bit 4 -
24Return Data Bit 5 -
25Return Data Bit 6 -
26Return Data Bit 7 -
27Return Data Bit 8 -
28Return ACK -
29Return BUSY -
30Return Input Prime -
31Input Prime (low) Computer
32Fault (low)FAULTPrinter
33---
34---
35---
36---

Pinning MDR 36 pins C-connector

MaleFemale
PinSignalAbbr.Source
1Busy (high)BUSYPrinter
2Select (active high)SELPrinter
3Acknowledge (active low)ACKPrinter
4Error (Fault- active low)ERRORPrinter
5Paper Error (active highPEPrinter
6Data Bit 0 (LSB)D0Computer
7Data Bit 1D1Computer/Printer
8Data Bit 2D2Computer/Printer
9Data Bit 3D3Computer/Printer
10Data Bit 4D4Computer/Printer
11Data Bit 5D5Computer/Printer
12Data Bit 6D6Computer/Printer
13Data Bit 7 (MSB)D7Computer/Printer
14InitialINIT 
15Data Strobe (low)STROBEComputer
16Select Input (active low)SI 
17Auto Line Feed (active low)ALF 
18Host Logic HighHLHComputer
19Return/GroundRGND 
20Return/GroundRGND 
21Return/GroundRGND 
22Return/GroundRGND 
23Return/GroundRGND 
24Return/GroundRGND 
25Return/GroundRGND 
26Return/GroundRGND 
27Return/GroundRGND 
28Return/GroundRGND 
29Return/GroundRGND 
30Return/GroundRGND 
31Return/GroundRGND 
32Return/GroundRGND 
33Return/GroundRGND 
34Return/GroundRGND 
35Return/GroundRGND 
36Peripheral Logic HighPLHPrinter

Functional Description

STROBEActive low pulse used to transfer data into the printer.Pulse with must be between 0.5 and 500 microseconds for most printers.
ACKActive low pulse indicates that data has been received and the printer is ready to accept more. 
BUSYA high signal indicates that the printer cannot receive data. 
PEA high signal indicates that the printer is out of paper (Paper End) 
SELECT OUTA high signal indicates that the printer is on-line 
AUTO FEEDA low signal indicates to the printer that a line feed is required after each Carriage return.This signal is used as a ground line by some manufacturers.
OSCXTA 100-200 KHz signal used by true Centronics printers only. 
+5V+5VdcNot provided by all manufacturers
PRIMEA low signal resets the printer to its power-up state and the printer buffer is cleared 
FAULTA low signal indicates that the printer is in an off-line or error state 
LINE COUNTUsed by true Centronics printers only.Most of the time not used
LINE COUNTSee 34 
SELECT INA high signal indicates to the printer that a DC1/ DC3 code is valid.This signal is used by a few manufacturers
Host Logic HighA high signal indicates that the host is alive (turned on).Specific IEEE 1284 signal.
Peripheral Logic HighA high signal indicates that the peripheral (printer) is alive (turned on).Specific IEEE 1284 signal.

Resources:
http://www.fapo.com/1284int.htm
IEEE 1284 Introduction