Advanced Technology Attachment (ATA), is a standard interface for connecting storage devices such as hard disks and CD-ROM drives inside personal computers. Nowdays superseeded by SATA (see SATA pinout).
ATA standards allow cable lengths in the range of 450 to 900 mm, so the technology normally appears as an internal computer storage interface. It provides the most common and the least expensive interface for this application.
|20||KEY||-||Key (Pin missing)|
|28||SPSYNC:CSEL||?||Spindle Sync or Cable Select|
|32||/IOCS16||?||IO ChipSelect 16|
|34||PDIAG||?||Passed Diagnostics. Used for 80-pin cable detect.|
The IDE interface requires only one cable. All pins straight from 1 to 1, 2 to 2 and so on. The drives can be connected in any order. Only remember that one should be jumpered as Master and the other as Slave. If only one drive is used, jumper it as Single (if such a mode exists, or most common Master else).
Controller Drive 1 or 2 Drive 1 or 2 +--+ +--+ +--+ |::|===================|::|============|::| <-Pin 1 |::|===================|::|============|::| |::|===================|::|============|::| |::|===================|::|============|::| |::|===================|::|============|::| |::|===================|::|============|::| |::|===================|::|============|::| +--+ +--+ +--+
|Controller||Drive 1||Drive 2|
Each cable has two or three connectors, one of which plugs into a controller that interfaces with the rest of the computer system. The remaining one or two connectors plug into drives. Parallel ATA cables transfer data 16 or 32 bits at a time. One occasionally finds cables that allow for the connection of three ATA devices onto one IDE channel, but in this case one drive remains read-only (this type of configuration virtually never occurs).
For most of ATA's history, ribbon cables had 40 wires, but an 80-wire version appeared with the introduction of the Ultra DMA/66 standard. The 80-wire cable provides one ground wire to each signal wire. This reduces the effects of electromagnetic induction between neighboring wires and enables the 66 megabyte per second (MB/s) transfer rate of UDMA4. The faster UDMA5 and UDMA6 standards require 80-conductor cables. This was done to reduce crosstalk. Though the number of wires doubled, the number of connector pins remains the same as on 40-conductor cables. The connectors used for 80-way high speed ATA cables are not the same as the 40-pin connectors. Externally they look the same, but internally they are much more complicated, with a grounding rail along the body to earth all the extra shielding wires in the cable.
PATA Slave/Master configuration
If two drives attach to a single cable, the configuration generally sees one as a master and the other as a slave. The master drive generally shows up ahead of the slave drive when the computers operating system enumerates available drives. The master drive arbitrates access to devices on the channel. Because of this, latency-sensitive devices such as early CD-RW drives often benefitted from functioning as a master, and each channel must have a master in order to function properly.
In a drive setting called cable select the drives automatically configure themselves as master or slave. This is achieved by cutting wire 28 (on 40 wire cables, or wires 56 and 57 on 80 wire cables) between the two HDD/CDROM connectors. Some newer cables have this done internally in the connectors. In this case, the two connectors are of different colours.