This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PCI interface using uC

Hi,

I need to design a PCI interface card using microcontroller. Is that possible? Or I should go for microprocessor.

Thanks
praveen

Parents
  • But you didn't really tell us what your requirements was, i.e. why you think that existing hardware can't be used for your measurements. And you say "[...] it has to be stored in the PC memory through PCI Bus [...]" without qualifying exactly why the PCI bus is a requirement.

    Yes, it is ossible to build a PCI board. But to build one for mass-production costs a bit of money. And to do it for a single board would result in very, very high driver development costs. Another thing: New computers have switched away from PCI to PCI-E so if you expect to sell boards, you would have to either use PCI-E or design two board variants.

    Most people would probably look at a USB-based solution if they need to build a new device.

    You mention C51 as architecture, so I figure that you don't need any extreme bandwidth. You kind of forgot to mention your exact requirements...

    In short: Only look at a PCI board if you have very, very special requirements! I did have to write drivers for a PCI board once, but that was because the problem needed a CT telephony interface and 18 DSP chips for each board, and a need to run with multiple such boards in one machine. The concept tests with off-the-shelf hardware required a huge installation to get a small fraction of the capacity...

Reply
  • But you didn't really tell us what your requirements was, i.e. why you think that existing hardware can't be used for your measurements. And you say "[...] it has to be stored in the PC memory through PCI Bus [...]" without qualifying exactly why the PCI bus is a requirement.

    Yes, it is ossible to build a PCI board. But to build one for mass-production costs a bit of money. And to do it for a single board would result in very, very high driver development costs. Another thing: New computers have switched away from PCI to PCI-E so if you expect to sell boards, you would have to either use PCI-E or design two board variants.

    Most people would probably look at a USB-based solution if they need to build a new device.

    You mention C51 as architecture, so I figure that you don't need any extreme bandwidth. You kind of forgot to mention your exact requirements...

    In short: Only look at a PCI board if you have very, very special requirements! I did have to write drivers for a PCI board once, but that was because the problem needed a CT telephony interface and 18 DSP chips for each board, and a need to run with multiple such boards in one machine. The concept tests with off-the-shelf hardware required a huge installation to get a small fraction of the capacity...

Children
  • Hi,

    Thanks again for ur reply.

    The basic idea is PC based instrumentation. I need to collect the data( ie. pulse signals ) from the sensors in the feild to the PC.

    In present system I used a serial port interface. While using the serial port there is a limitation of speed, so I landed in PCI. I need to connect, say 32 channels to the PC and to collect the data.

    What will be the best option for me to interface these sensors to PC?

    What is the advantage of using USB compared to PCI?

  • "[...] so I landed in PCI."

    Still no information why you think PCI is your only (or prefered) choice.

    "What will be the best option for me to interface these sensors to PC?"

    Still no estimate about what bandwidth you need, in which case people are unable to make suggestions about different interfaces (RS232 at a higher baudrate than you have currently tested, USB, FireWire, Ethernet, ...).

    And you haven't mentioned anything about latency requirements.

    "What is the advantage of using USB compared to PCI?"

    I thought that was obvious.

    What is the advantage of being able to upgrade your computer without having to open it?

    What is the advantage of not having to cater for both PCI and PCI-E?

    What is the advantage of being able to use existing USB drivers compared to creating own PCI drivers or buy a DDK with skelleton drivers to rewrite?

    What is the advantage of using an interface that a large number of microcontrollers has built-in?

    What is the advantage of using an interface where your data collector can be several meters away from the computer, allowing the data to be sent in using a nice, cheap, standard data cable?

    What is the advantage of being able to hot-plug the device?

    What is the advantage of being able to support Linux and maybe Mac at a limited cost?

    What is the advantage of being able to plug in one more device (still hot-plug) if you need more inputs than the first device supports, without noticing that there are no more slots left on the motherboard?

    What is the advantage of being able to support a laptop?

    What is the advantage of being able to bring a device in your pocket/bag and connect to a customer's computer?

    Need I go on?

  • PCI, of course, has its own speed limitations!

    You still haven't said - despite being asked at least three times - what your actual throughput requirement is!

    What, exactly, was the limitation you experienced with the serial port?

    Was it a real serial port - ie, with real UARTs, etc?
    If so, what baud rate were you using?

    "What will be the best option for me to interface these sensors to PC?"

    It is still impossible to say - because you have still failed to provide any details!

    "What is the advantage of using USB compared to PCI?"

    It will be orders of magnitude simpler!

    If a single USB (or serial) link can't cope with all your data, then you can easily just use multiple USB links...

    FTDI do some pretty neat cables that go straight from USB to 5V or 3.3V logic on loose wires or pin headers:
    " href= "http://apple.clickandbuild.com/cnb/shop/ftdichip?productID=53&op=catalogue-product_info-null&prodCategoryID=47"> apple.clickandbuild.com/.../ftdichip

    So you can easily convert a microcontroller's standard UART to USB with no design effort and very little cost!

    Or just choose a microcontroller with built-in USB...

  • Another advantage of USB, of course, is that you can use it on any computer - not just one with a free PCI slot.

    eg, a laptop...

  • Thanks

    Actually I have given a project of 6 channel counter card with PCI Interface.

    The maximum frequency output from the sensor is 20Khz. This my first project in PCI based systems and I want to familiarise with it. Where will I get sufficient information regarding?

    I came across the Quicklogic IC(QL 5130) which can be interfaced with 8051. I think it is a simpler way to do this project.