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.

OPT3001EVM: software issue

Part Number: OPT3001EVM
Other Parts Discussed in Thread: OPT3001

Hi Sirs,

Our question is OPT3001EVM GUI software on EVM user guide.pdf.

EVM user guide.pdf


Because we will reference and use C/C++ to develop AP applicaiton.

We saw the TI OPT3001EVM product website had .vi Source Code on OPT3001EVM GUI software.
We have used Tio32 USB DAQ's Cmd after downloaded.

We need check communication between OPT3001+TIUSB3210 USB HID.
So, could we follow doc (8802.Tio32DllDoc.pdf)??

8802.Tio32DllDoc.pdf

TIO32 DLL FOR COMMUNICATION WITH THE USB DAQ BOARD
UserGuide Page 32 example Code to direct control?

If Yes, have any Tio32 USB DAQ for OPT3001+TIUSB3210 C/C++ Source Code Example or such like sbou070.pdf the tioScript Editor cmd can share?

sbou070.pdf
Thanks!!

  • Hi Shu-Cheng,

    I'm not sure I understood exactly what you are trying to do. Is my below interpretation correct?

    Your system contains TUSB3210 + OPT300 and you are trying to write firmware for TUSB3210 to interface with OPT3001.

    The firmware routes i2C commands from the labview GUI to the OPT3001 so no OPT3001 specific firmware is on the TUSB3210. What type of firmware are you trying to write? What did you mean by "AP application"?

    Best,

    Alex

  • Hi Sirs,
    Thanks for your reply.

    Let me summary us requirement

    We would like to develop APP such like Labview GUI Software, that could retrieve brightness information through the USB HID interface protocol
    The develop condition is by Microsoft Visual C++ 2015.
    So we think software had two way, please refer below

    1. PC side: Use LibUSB SDK to write USB HID interface protocol and Driver. It's looks need to know MCU firmware how to define the transfer I2C Command to access OPT3001 Sensor data?

    2. PC side use tooling like Labview GUI Software , through the Tio32 API to transfer the Test Board I2C Command to access OPT3001 Sensor data?

    Thanks!!

  • Hi Shu-Cheng,

    I am not sure about the specifics of the C++ to TUSB3210 interface options so I would like to point you to the USB section of the forum for support with that part of your question e2e.ti.com/.../usb
    I think you will get better support for interfacing between the TUSB3210 and the PC there.

    However, I can help out for any questions specific to the OPT3001 in terms of I2C needed for your application or about our labview GUI.

    Best,

    Alex