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: USB2ANY SDK

Part Number: USB2ANY
Other Parts Discussed in Thread: BQ79718-Q1

Tool/software:

I am trying to communicate with the BQ79718VEVM-049 using the USB2ANY. I would like to perform simple UART communication using the .lib/.dll files instead of using the provided GUI.

The USB2ANY_2.8.2.0_SDK_Setup does not have a UART example code.

  1. I am having trouble compiling with gcc when using the .lib files. Could you provide information about the .lib/.dll files? Specifically, whether they are 32-bit or 64-bit?
  2. Could you please provide a simple C language example code for performing UART communication using the .lib/.dll files?
  • Seungmin,

    We have given you access to the BQ79718-Q1_EVALUATION folder in MySecure (link) where you can find our sample code. The GUI is not intended to be editable nor are any of its libraries intended to be used by customers.

    Regards,

    Ben

  • I am currently testing with the library you provided for the usb2any device.

    I need to set the UART baud rate to 1Mbps(BQ79718). However, I noticed that 1Mbps is not listed as an option in the documentation provided(API Reference for USB2ANY SDK 2.8).

    Could you please confirm if there is a way to set a custom/unlisted baud rate of 1Mbps when initializing the UART communication using your library? If so, I would appreciate instructions on how to do this properly.

    If setting 1Mbps is not possible, I would be grateful if you could suggest the closest supported baud rate option or an alternative method to achieve the desired throughput.

    Thank you in advance for your assistance. I look forward to your response.

  • Seungmin,

    Could you try using baud rates 9 or 10?

    Regards.

    Ben

  • Thank you for the suggestion to try using baudrate 9 or 10.

    I tested setting the baudrate to 9, which resulted in a communication speed of 1200bps. when I set the baudrate to 10, ther speed was 2400bps.

    Setting the baudrate to 9 or 10 does  not resolve my problem.

    could you please provide guidance on how to set a custom baudrate of 1Mbps using your library?

    thanks!

  • Hi Seungmin,

    We don't usually support USB2ANY user code development, as the USB2ANY is a TI internal development tool and we release compiled code (like GUIs) for customers to use and interface with it. Therefore please understand that the support on this will be limited.

    For the BQ796xx and BQ797xx family of devices, we have developed a custom firmware (v3.1.1.14) which can be loaded into the USB2ANY HW through the BQ796xx or BQ797xx GUIs. Once your USB2ANY has this firmware loaded, if you still insist on developing with the USB2ANY, you can use setting 10 (as Ben has mentioned above) to get 1Mbps.

    For customer owned SW development, we don't recommend using the USB2ANY. You can use any other tool that can generate UART communication. For a reference, our EVMs are also equipped with a FTDI TTL-232R-5V connector.

    Regards,

    Viktor.