IDE/ATA HDD Interface: IRQ or IORDY

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Don't want to use 25 bits for the IDE interface.
So... Should I use that last bit to read the IOReady line, or should I use it for the interrupt line?
If I use it for the IOReady, I can just test that line, and then read the status register from HDD to see if the current operation is completed, right?
Or should I hook up the IRQ line, so that the MCU doesn't do anything unless the IRQ is triggered??

For now, I'd just like to read the HDD-ID block, and push it out through the UART.
(Using Atmega16L on ATSTK500)

[Edit]
Found some more material, wich said I would only need the IOReady if I intended to race at 6MB/s or more, wich I dont :P