08-28-2018 10:57 AM
Hello all.
I'm just starting to try and communicate with an SPI bus pressure sensor with an FTDI USB to SPI interface. Its a UMFT220XB from Mouser and I have the data sheet etc. but wondering if there's any example code I can look at. I guess it might be as simple as writing a string and reading the result, but I'm not sure where to start with USB.
Thanks for any advice.
Andrew
08-29-2018 12:43 AM
You can look at those. It might help you.
Make sure you connected the USB to SPI and installed the driver prior to open those VI. If not, LabVIEW may crash. (Windows bug)
https://lavag.org/files/file/291-mpsse-spi/
https://lavag.org/files/file/290-ftdi-libmpsse-spi/
Benoit
08-29-2018 02:02 AM
Thanks Benoit. Useful links. I think the FTDI drivers also provide good functionality.
Andrew
@bseguin wrote:
You can look at those. It might help you.
Make sure you connected the USB to SPI and installed the driver prior to open those VI. If not, LabVIEW may crash. (Windows bug)
https://lavag.org/files/file/291-mpsse-spi/
https://lavag.org/files/file/290-ftdi-libmpsse-spi/
Benoit
08-29-2018 02:39 AM
Kusos are made for that... pt kudos for any answer that is useful. and select solution when it was the solution for your problem.
This is the only pay we get to help each other.
Benoit