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: Problem with UART read/write functions via USB2ANY DLL

Part Number: USB2ANY

I am currently trying to develop in LabVIEW a software to allow cells voltage and temperature polling on BQ79614 via the BQ79600 EVM. I am using a USB2ANY device to communicate with my PC, and I require its DLL to send command frames to the board. I succeeded in using this DLL for opening and closing communication ports with the USB2ANY, as well as for sending the wake up and shutdown pings. However, I can't receive any data when processing UART Read commands, and get no way to confirm that the commands sent by UART Write are actually well received. 

When using the BQAutoEval software, and try to send the same frames as I'm transmitting via the UART functions of the DLL, I yet receive the expected responses, for example when I read the cells voltages. 

I noticed two facts that could be part of the problem. First, the required firmware version of the USB2ANY is not the same with the BQAutoEval (version 3.1.1.14) and with the DLL (2.8.2.0). However, I downloaded the latest versions of both of the softwares that were available of MySecure folder. 

In addition, I read in the BQ79600 EVM datasheet that the baud rate should be configured to 1Mbps (or 250kbps). When i use the "Control UART" function of the DLL to configure my UART parameters, the only values that are accepted are inferior to 230400. 

Could you help me to find some answers to my issue ?

  • Hi Rémi,

    We do not have a software that readily supports LabVIEW with USB2ANY. The software would need to be updated for this. If you have our USB2ANY SDK installed, you could find the source file in 'C:\Program Files (x86)\TI USB2ANY SDK'. I recommend checking this source file. This could potentially help, but my team does not have the expertise to provide this kind of support. 

    Best Regards,

    Julia Louis