03-29-2010 03:04 AM
Hello,
I'm using a USB-6225 device for data aquisition. Moreover I would like use the device to control a 32 to 1 Mux.
One possibility is to control the MUX with 8 parallel digital channels, which of course works with the USB device.
However I don't want to have so many channels. I figured, that there is another 32 to 1 Mux (ADG725) which can be controlled
serially. Thus only three controll channels are left(SCLK,DIN,SYNC). They suggest e.g to use SPI or QSPI bus to control it. But as far as I know
the USB device does not have a bus like this.
However is there a reasonable way to control it with the USB-6225? Or should I prefer the parallel way to control the Mux?
Thanks for your help!!!
Heiko
04-05-2010 07:46 AM
Writing to a SPI bus with a generic DIO device is pretty common. However, one must write or otherwise obtain a driver to generate the clock signal and data signals.
Test & Measurement World talks about this practice in their Test Ideas column this month (April 2010).
http://www.tmworld.com/article/453926-Test_Ideas_Program_the_SPI_bus_with_a_DIO_module.php
04-06-2010 03:49 AM
Thanks for the information! I'm gonna try it.
Heiko