This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB2ANY LabView Driver question

Other Parts Discussed in Thread: USB2ANY, LM8335, LM8335EVM

Is anyone doing SPI over the USB2ANY board using Labview?  I'm having some issues with the documentation.

 

I’m trying to use the SPI functions in the USB2ANY API.  I have a question about the “SPI_WriteAndRead” function.  In the PDF document it shows two arguments, one of data and one with the length.  In the Labview example the arguments don’t agree and they’re sending a 0 value to one of the arguments (appears to be a signature insetad of length). 

 

It looks like either the PDF describing the function is wrong or else the labview is done wrong. I went ahead and tried putting a length function and piping the length of the array into the signature argument and it didn’t help.

 

I have control of the USB2ANY board.  I can turn on the LED (I’ve set it to toggle every time I execute the routine.)   I know that my SPI configure function is working because the Chip Select and Clock lines go high after the configure command (_SPI_ClockPolarity = 1 etc)

 

I am not getting any response from my SPI chip.  The SPI test GUI will control the chip just fine. 

  • Update:

    The LabView driver parses data differently than I was expecting.  It works fine, but there is no need to put in the number of bytes in the payload, the driver automatically writes as much data as you send.  It's the same on read.

  • Hi,

    Good day!

    May I know where I could download the USBANY api driver? Is it the same USB driver  used in LM8335 EVM GUI http://www.ti.com/product/lm8335. I'm planning to use it in Agilent vee. However, I can't find the supporting files and documentation for USBANY.dll

    The GUI of the LM8335EVM is already compiled.

    THanks,

    Allen Rubis