Discussion:
usb-6255 as spi master (For DDS control)
(too old to reply)
LiorS
2008-05-05 08:40:07 UTC
Permalink
  Hello, I am using USB-6255 data acquisition device. I would like to control a DDS using the Digital I/O,connecting it to the DDS using SPI connection (from the digital I/O to the DDS).has anyone know about a way / done anyting like that?Thanks,Lior.
LiorS
2008-05-05 09:40:08 UTC
Permalink
Hi, a few more additions:I'm using Windows XP, the programming is done using C# (.Net Framework 3.5).by the way, I'm reffering to Direct Digital
Synthesizer (not synthesis).Thanks.
Joe F.
2008-05-06 00:10:07 UTC
Permalink
Hi Lior,The most straight-forward way to do SPI communication with an M Series board is to generate the entire command sequence on the digital lines. You can clock your communication with either software or hardware. Software would be a bit simpler to implement, but hardware is uniform in time.In either case, you would create an output waveform that contained your clock, select, and MOSI lines and write it to the digital output lines. For MISO, you would need an output waveform that generated the clock and select lines and read the digital input line at the same time.If you want to use hardware to time the operation, you'll need to use a counter to generate the sample clock.
Loading...