Other Parts Discussed in Thread: INA260
Already we have a I2C to USB adapter for INA260EVM, now I would like to integrate this EVM to Matlab with USB comm. Can you explain me in detail on the steps of doing this with Matlab?
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.
Hey Sumukha,
If you are using the SM-USB_DIG hardware here is some documentation on the internal DLL and how to load and call these function into MATLAB.
Let me know if any of this helps.
Sincerely,
Peter Iliya
Hi Peter, Thanks for the response. The adaptor which i'm using from I2C on INA260EVM to USB Comp is SM-USB-DIG which has TMP006EVM controller board. With the TI ready-made UI I'm able to read current values. Now that i've to integrate this platform with Matlab, so that we can use it for our application. As you know TI GUI, is only for evaluation purpose of this board. Finally the INA260 board has to be integrated with our software thro' Matlab only for our application.
Hi Peter,
Loading Tio32.dll to matlab which has the following functions (DLL interface is defined in the header files tio32_Api.h and tio32_defs.h)
• tio32_Open: Which creates an instance for communication with USB DAC board and opens communication with the board. It also monitors if board is connected or disconnected to or from the PC.
• tio32_RunMnemoDev or tio32_RunMnemoAdr: Interpretation and execution of mnemonic commands on the USB DAC board.
• tio32_Close: To end the work with the USB DAC board.
But i'm unable to find tio32_Api.h and tio32_defs.h header files in the DLL file locations, I've attached screen shot with this message.
For loading DLL; matlab is throwing error that it cannot find the header files.
Hi Peter,
As i said in my previous conversations, i'm unable to trace the header files, hence not able to load Tio32.dll for USB comm interface with matlab. Is there a way to integrate the INA260EVM UI with Matlab directly? Have you worked on this platform for any of your applications? Kindly share details if you have any such examples.
Hey Sumukha,
Unfotunately, this is outside the scope of our help in this forum. The original software driver was developed several years ago by another team and we no longer have the driver source files. You can refere to the post below for some guidance.
e2e.ti.com/.../669880
Sincerely,
Peter Iliya