# IDC 40-Pin ATA/IDE Ribbon Header

- **Manufacturer**: AMP / 3M (ATA/ATAPI-4 Standard)
- **Type**: Connector
- **Year**: 1986
- **URL (German)**: https://pinoutdb.org/component/idc-40pin
- **URL (English)**: https://pinoutdb.org/en/component/idc-40pin
- **Description**: 40-pin insulation-displacement (IDC) header for Parallel ATA (PATA/IDE) ribbon cables, carrying a 16-bit data bus and control signals between the host controller and hard disk / optical drives.
- **Datasheets & Links**:
  - [ATA/ATAPI-8 Standard Overview](https://en.wikipedia.org/wiki/Parallel_ATA) (docs)

## View: IDC 40-Pin Header (2x20, Front View) (Package: pin_header)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | /RESET | Digital | Host Reset (Active-Low) [Reset] |
| 2 | GND | Ground | 0V System Ground [Ground] |
| 3 | DATA7 | Digital | Data Bus Bit 7 [Bidirectional] |
| 4 | DATA8 | Digital | Data Bus Bit 8 [Bidirectional] |
| 5 | DATA6 | Digital | Data Bus Bit 6 [Bidirectional] |
| 6 | DATA9 | Digital | Data Bus Bit 9 [Bidirectional] |
| 7 | DATA5 | Digital | Data Bus Bit 5 [Bidirectional] |
| 8 | DATA10 | Digital | Data Bus Bit 10 [Bidirectional] |
| 9 | DATA4 | Digital | Data Bus Bit 4 [Bidirectional] |
| 10 | DATA11 | Digital | Data Bus Bit 11 [Bidirectional] |
| 11 | DATA3 | Digital | Data Bus Bit 3 [Bidirectional] |
| 12 | DATA12 | Digital | Data Bus Bit 12 [Bidirectional] |
| 13 | DATA2 | Digital | Data Bus Bit 2 [Bidirectional] |
| 14 | DATA13 | Digital | Data Bus Bit 13 [Bidirectional] |
| 15 | DATA1 | Digital | Data Bus Bit 1 [Bidirectional] |
| 16 | DATA14 | Digital | Data Bus Bit 14 [Bidirectional] |
| 17 | DATA0 | Digital | Data Bus Bit 0 (LSB) [Bidirectional] |
| 18 | DATA15 | Digital | Data Bus Bit 15 (MSB) [Bidirectional] |
| 19 | GND | Ground | 0V System Ground [Ground] |
| 20 | KEY | NC | Key Pin — Physically Absent (Prevents Reverse Cable Insertion) [NC] |
| 21 | DDMARQ | Digital | DMA Request (Drive requests a DMA data transfer) [Control] |
| 22 | GND | Ground | 0V System Ground [Ground] |
| 23 | /IOW | Digital | I/O Write Strobe (Active-Low) [Control] |
| 24 | GND | Ground | 0V System Ground [Ground] |
| 25 | /IOR | Digital | I/O Read Strobe (Active-Low) [Control] |
| 26 | GND | Ground | 0V System Ground [Ground] |
| 27 | IOCHRDY | Digital | I/O Channel Ready (Drive inserts Wait States) [Input] |
| 28 | CSEL | Digital | Cable Select (Assigns Master/Slave Role by Cable Position) [Control] |
| 29 | DDMAACK | Digital | DMA Acknowledge (Active-Low) [Control] |
| 30 | GND | Ground | 0V System Ground [Ground] |
| 31 | INTRQ | Digital | Interrupt Request (IRQ14, Active-High) [Interrupt] |
| 32 | /IOCS16 | Digital | 16-Bit I/O Port Select (Reserved / Not used on modern drives) [Control] |
| 33 | SA1 | Digital | Host Address Bit 1 [Control] |
| 34 | /PDIAG (CBLID) | Digital | Passed Diagnostics / Cable ID (80-conductor Cable Detect) [Control] |
| 35 | SA0 | Digital | Host Address Bit 0 [Control] |
| 36 | SA2 | Digital | Host Address Bit 2 [Control] |
| 37 | /CS1FX | Digital | Chip Select 0 (Command Block Registers, Active-Low) [Control] |
| 38 | /CS3FX | Digital | Chip Select 1 (Control Block Registers, Active-Low) [Control] |
| 39 | /DASP | Digital | Drive Active / Slave Present (Active-Low, LED Driver) [Control] |
| 40 | GND | Ground | 0V System Ground [Ground] |


---
Source: PinoutDatabase (https://pinoutdb.org). Verify against the manufacturer datasheet before production use.
