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.

DRV8350H-EVM: Control this board using user software via USB API

Part Number: DRV8350H-EVM
Other Parts Discussed in Thread: DRV8350, MSP430F5529

Hi,

I just got this DRV8350H-EVM board, connected it to a motor with hall-sensors and managed to control it via the provided GUI Slight smile

Now that I see it works - I want to control it via my software - but I couldn't find the API to do it...

No examples or sample code on how to send Serial (over USB) commands to this board..
After 1H I only found this file from the GUI folder:
C:\Program Files (x86)\Texas Instruments\DRV8350x-EVM\Apps\DRV8350x\node_modules\protocol.js
But I can't afford to re-implement all of these low-level protocol by myself in my software (Python3 or C or C++)...

Do you have a library that I can use like:

import ti_drv
ti_drv.connect('COM38')
ti_drv.set_motor_speed(100)

Or a GUI API so I can send commands to the GUI that will control the board?
I think I saw the GUI opens port 9200 9900 on my PC when I start it - maybe I can control it via these?

Looking forward to your reply,
Thanks,
Arad

  • Hi Arad,

    Thank you for your question! If you download the DRV8350 S/H-EVM Firmware (SLVC755.ZIP) from the DRV8350 EVM webpage , then unzip and open the folder, then unzip and open the DRV8350x_EVM_BLDC_FW_1.0.0 file, Then open the DRV835X_MSP430F5529_Trapezoidal_Sensored_BLDC file, you will find several folders in there with code relating to the USB that you may find helpful.

    Let me know if you have any further questions,

    Anthony