What is the feasibility of using an IDE controller as a fast 16-bit parallel port?



I would like to implement a fast 16-bit parallel port on an x86 system
for
interface to an analog-to-digital converter. From a software
standpoint I am wondering about the feasibility. The ADC provides TTL
signals that are compatible with the IDE electrical specs (16 data and
one data-valid clock). I can set the clock to meet any of the IDE PIO
mode specs (modes 0-4). So it appears the the electrical interface is
easy. How difficult would it be to read the 16-bit data directly from
the IDE controller. Assume we are dedicating the secondary IDE bus to
this task. I'm thinking along the lines of a simple "PIO like"
implementation. The system would be dedicated to the data acquisition
so
inefficient use of the CPU such as polling is acceptable.

Thanks,
Jim

.



Relevant Pages

  • Re: From the LuxAsm list.
    ... > create an IDE, but would create a LuxAsm mode for emacs. ... only a user interface thing... ... accessed via a command-line interface _separately_ and _independently_ to ... LuxAsm will operate in the same exact method _except_ simply that the "user ...
    (alt.lang.asm)
  • [git patches] IDE updates part 1
    ... Since it's "Merging Spree" again here goes the first IDE update for 2.6.26: ... ability to add new interfaces for ide-generic host driver through ... -hd.c will normally be allowed to control the primary IDE interface. ... int boot_cpuid_phys; ...
    (Linux-Kernel)
  • [PATCH] Configure IDE probe delays
    ... IDE initialization and probing makes numerous calls to sleep for 50 ... The value is probably rather conservative for modern hardware: ... where these delays may constitute a large ... would be to configure the value in the IDE interface and device drivers ...
    (Linux-Kernel)
  • RE : Re: [RFC] ATA host-protected area (HPA) device mapper?
    ... they are not IDE register compatible. ... interface copying exercise that caught on. ... provide ATA taskfiles but afaik not the boot loader unfortunately. ... It is mainly to increase the bandwidth of the pipe linking the hard disk to the ...
    (Linux-Kernel)
  • [git patches] IDE updates part #2
    ... IDE updates continued: ... IDE ATAPI streaming tape driver ... tristate "ICS IDE interface support" ... static int __devinit ...
    (Linux-Kernel)