I'm using a National Instruments E-Series (MIO E 4) PCI cards.
This card is a bit expensive, and rather difficult to work with
relative to the simpler ISA cards (I didn't purchase it for RT-Linux,
but for Windows NT). NI provides a draft Register Level Programming
guide for this series of cards, and some code for DOS. I was able
to port the DOS examples fairly directly (with macros, and looking at
the code below).
The Linux PCI system is really very nice, and it is pretty easy to
get PCI cards working (to start, cat /proc/pci - cool).
There are two other sets of code written for these PCI cards, (sorry
if the links are wrong) see:
http://crds.chemie.unibas.ch/PCI-MIO-E
Tomasz Motylewski
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
and
ftp://crds.chemie.unibas.ch/pub/incoming/
Christopher A. Kramer
[EMAIL PROTECTED]
These may also now be found on the Linux Lab Project site:
http://www.llp.fu-berlin.de/
One problem to keep in mind with PCI is that many cards can be assigned to
a single IRQ, this requires an ISR to determine whether the card it
depends on actually issued the interrupt (this is card dependent) and if
not to pass the IRQ on to other service routines (interrupt chaining). I
don't know how to pass this on to Linux, so I've resorted to using
motherboards which provide for interrupt steering (mapping physical PCI
slots to IRQs) in the BIOS setup (ASUS P2B currently, and an old Gigabyte
Pentium board). This dodges the problem and is ok in our specific
situation, but it is not a satisfying general solution, anybody know how
to do this the right way?
All in all, the E-Series cards are working, but they seem a little complex
and expensive; they were nice when NI's NI-DAQ library was used
under NT but obviously, for RT-Linux, that doesn't help.
Best of luck,
-Don
On Wed, 3 Mar 1999, Richard Teltz wrote:
>
> Dear RTL users,
>
> Does anyone have any experience with PCI based A/D cards under
> RTLinux? Any suggestions would be appreciated, in particular
> any which may lead to source code, or even the proper documentation
> required to write an interface under RTL (register maps, etc).
> Something with 12 bit resolution, 8 channels, some digital I/O, etc.
>
> I looked at the Linux Lab Project site, but these all seem to be
> ISA bus cards, with the software implemented as Linux device drivers.
>
> I plan to post the results of my development.
>
> thanks in advance,
>
> Rich
>
> *------------------------------------------------------------------*
> | INTELLIGENT MACHINES AND MANUFACTURING RESEARCH CENTRE (IMMRC) |
> *------------------------------------------------------------------*
> | Richard Teltz, | Dept. of Mechanical Engineering,|
> | principal research engineer, | McMaster University, |
> | tel: (905) 525-9140, x27044 | Hamilton, Ontario, |
> | fax: (905) 572-7944 | Canada, L8S 4L7 |
> | email: [EMAIL PROTECTED] | http://immrc.mcmaster.ca/msl |
> *------------------------------------------------------------------*
>
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
>
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/