LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI generator

Hello to everybody,

 

At the moment I'm communicating with an Infineon chip through an SPI interface. I'm using a SPI generator (spigen) from Freescale, on parallel port. With this software I'm also using a hand-made board that shifts the levels to 5V.

 

The problem is that now I want to develop a SPI generator that I can use on USB port. Basically an improved version for the SPIGEN from Freescale. Any advice on where to start ? I'ved searched from some exemples in LabView but no luck...

 

Thanks in advance,

 

0 Kudos
Message 1 of 5
(3,948 Views)

Have you looked at the NI-8451?

 

If that costs too much, there are alternatives, such as the U2C-12, the SUB-20, the Aardvark, etc.

0 Kudos
Message 2 of 5
(3,933 Views)

Thanks for the feedback.

 

At this moment i'm more interested in the software than the hardware. Adapting hardware from usb to 4 wire spi transmittion is not the problem. The question is about the software... I have no ideea where to start... sinchronizing the bits for all SCL, SDI, SDO, CS is one problem...

 

Any advice ?

0 Kudos
Message 3 of 5
(3,919 Views)

@Bizu wrote:

Thanks for the feedback.

 

At this moment i'm more interested in the software than the hardware. Adapting hardware from usb to 4 wire spi transmittion is not the problem. The question is about the software... I have no ideea where to start... sinchronizing the bits for all SCL, SDI, SDO, CS is one problem...

 

Any advice ?


Hello Bizu.

 

From your post, I'm guessing that you only want to use LabVIEW to communicate SPI data via the USB and not use any NI hardware for the communication process. By use of the Virtual Instrumentation System Architecture (VISA) drivers, you can read and write arbitrary digital data to your USB port with ease. Given the structure of USB and SPI communication, a bridge between the two communication systems will be required; this will function following it's own communication protocol as specified by a datasheet for the device, which will need to be implemented in your LabVIEW code.

 

There's a good VISA Drivers article that you can read if you're unfamiliar with using this kind of interface in LabVIEW, and be sure to check out some of the great examples in the NI Example Finder. (LabVIEW > Help...)

 

If you need any more information please let me know. Have fun with your project, it sounds like good fun!


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 4 of 5
(3,914 Views)

Thanks for answer... I'll have a look on the documentation.

 

I'll be back with further questions... thanks again!

0 Kudos
Message 5 of 5
(3,911 Views)