- From: wicky.zhang <wicky.zhang_at_gmail.com>
- Date: Mon, 13 Feb 2006 22:54:17 +0800
Ian Abbott wrote: > On 13/02/2006 05:54, wicky.zhang wrote: >> Recently, I ordered a FPGA development board of Xilinx (ML403) with a >> PPC core inside the main FPGA chip, and Linux is ported to it by >> Xilinx. What i want to do is to design a 8 channel A/D and 8 channel >> D/A daughter card of the development board and write the comedi >> driver for the daughter card. I choose 2 parallel interface A/D and 2 >> parallel D/A chip (all are 16bits) and connect them to the local bus >> of PPC core, can I write Comedi driver to it? I notice that Comedi >> driver is mainly for that of PCI bus architecture DAQ cards. Thanks >> in advance. > > There shouldn't be any problem writing a custom Comedi driver for it. > All the bus-specific hardware access is confined to the individual > device drivers; the Comedi core does not depend on hardware at all! > > As this is a fairly specialized application, you probably want to > avoid building the full suite of drivers and just build your custom > driver and the Comedi core. You can edit the > comedi/drivers/Makefile.am file to do that (followed by running > ./autogen.sh to regenerate and rerun the ./configure script). > Thank you, I know that the Comedi core does not depend on hardware at all, but for my particular application, i think that choosing an appropriate interface should simplify the programming work because lots of reference. Finally, I choose SPI interface A/D and D/A chip, does anyone have experience about it? I have not written any Comedi driver at all. Thank you! Best regards, Wicky
Attachments
- text/x-vcard attachment: wicky.zhang.vcf
Received on 2006-02-13Z14:54:17