07-21-2011 06:24 AM
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,
07-21-2011
09:05 AM
- last edited on
03-27-2025
04:54 PM
by
Content Cleaner
07-22-2011 06:44 AM
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 ?
07-22-2011
07:06 AM
- last edited on
03-27-2025
04:55 PM
by
Content Cleaner
@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!
07-22-2011 07:14 AM
Thanks for answer... I'll have a look on the documentation.
I'll be back with further questions... thanks again!