IDE Hard Disk Interface for 8-bit Controllers
controller seeks attachment with a hard disk…
Published in issue 297, March 2001
Although 8-bit operation is included in the IDE interface, most hard disk drives do not support this mode. If you nonetheless want to control such drives with an 8-bit microcontroller, you will find the interface circuit described here to be essential.Hard disk drives as mass storage devices are an indispensable part of modern computers. A few years ago, they were large and expensive devices, but presently (and up until the next generation) they are available with enormous capacities and small physical dimensions at quite reasonable prices. Most contemporary computers use hard disk drives with IDE interfaces. Since this interface (which is also referred to as ATA) comes from the PC world and thus works with a 16-bit operating system, it is possible to use it directly with 8-bit controllers, albeit with some problems. Although the interface can be switched to the 8-bit operating mode, this does not always work in practice, since many hard disk drives do not support this option.
R1-R7 = 22 Ohm
R8 = 1k Ohm
C1-C4 = 100nF
C5 = 47µF 16V
D1 = high-efficiency LED, red
IC1 = 74HCT245
IC2,IC3 = 74HCT573
IC4 = GAL 16V8 (programmed, order code 000202-31)
K1 = 40-way boxheader with polarisation
K2 = 64-way DIN41612-C socket (female), angled pins, PCB mount
PCB, order code 000202-1
Disk, order code 000202-11 (example program in C and GAL listing)
Click below to download a PDF copy of this article from Elektor magazine.
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.