Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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: use USB2ANY.dll in own software project (Delphi)

Part Number: USB2ANY
Other Parts Discussed in Thread: DRV10983, , TIDA-01373

Hello,

I want to write an own software (Delphi) to program the motor-controller DRV10983 over the bus I2C.

For this case I’m planning to use the USB2ANY-Box and use the .dll in my software. So I’m searching any documentation of the USB2ANY-Software or .dll and how to use it in own software projects. Important for me is the knowledge of the functions and procedures and their datatypes.

Thank you for your help.

  • Hello Jonas,

    I assume you're looking to program the EEPROM for a large amount of DRV10983 motor driver ICs. If so I would not recommend the USB2ANY and instead refer to our EEPROM Programming Tool Reference design (TIDA-01373). Generally speaking, the EEPROM can programmed using I2C commands. As a result, anything that can issue I2C commands should be able to program the EEPROM (e.g. an MCU).

    The TIDA-01373 has 2 boards, a programming board and a socket board. Most of our customers take the programming board and our code provided with the reference design and then design their own socket board. All the design files (gerbers, schematics, etc) are offered on the TI Design tool page. The design guide has more information about how the reference design actually works.

    If you need help interpretting the code for programming the EEPROM, there is a procedure in the datasheet and a DRV10983 Programming Guide App Note for your reference if you think the code does not suit you.

    Best,

    -Cole

  • Hello Cole,
    no I'm not trying to program a large amount of DRV10983. My target is to write an own PC-software tool. This is necessary because I need this for something like an interface of a parameter optimizer. I want to use the USB2ANY tool, because it’s look like it’s the easiest way of transforming the USB from the computer in an I2C-protocol. So I’m just looking for good information and documentation of the USB2ANY.dll or some programming exampels.
  • Hey Jonas,

    I see, thanks for clearing that up and thanks for your patience. While I try to get in contact with a representative from the USB2ANY team, I found some resources that might be interesting for you. Assuming you have the USB2ANY SDK or USB2ANY Explorer installed on your computer, you should have a folder at this path: C:\Program Files (x86)\TI USB2ANY SDK

    There you can find a folder with some sample code (looks like header and sources files for C/C++) of using I2C, a API reference guide, some release notes referring to the DLL, and plenty of other seemingly helpful PDFs. I've also copied the user's guide for the USB2ANY just in case you haven't found it previously, it mostly talks about the hardware: http://www.ti.com/lit/ug/snau228/snau228.pdf  .

    Best,

    -Cole

    Edit: If you do not have this folder and software installed for whatever reason, I have provided a link here to download the software: http://www.ti.com/lit/zip/slvc695

  • Hey Cole,
    Thank you for your detailed information. I found the folders and additional information, which are installed on the PC with the Setup. With the information of the API reference guide and a few lines of some example code I understand how to use the USB2ANY.dll. It was a little bit difficult to manage the differences between the different datatypes, but I solve this problem. So I wrote successful the first lines of my own Delphi application, which uses the functions of the USB2ANY.dll.

    Greetings
    Jonas