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.

Using the DRV8711EVM Source Code

Other Parts Discussed in Thread: DRV8711EVM, BOOST-DRV8711

Hi,


I have the DRV8711EVM board and I am attempting to program it to do a specific task. Are there any resources on how to load and modify the provided MSP430_source_code in slvc594?

Thanks,

Travis

  • Hi Travis,

    There are no resource to modify the source code. The code can be imported into CodeComposerStudio, modified and re-compiled.
    Once re-compiled it can be loaded into the mcu using a MSP FET430UIF

    Depending on your specific task, the boost-DRV8711 could also be used.
  • Hi Rick,

    I have the FET tool and I have been able to compile the code and run it on the board. All the code does is blink the light on the board, it doesn't actually run the motor. I haven't been able to find any sources on how the code works or how to modify it. The code also seems to be poorly documented. I was hoping to find at least one example that can be compiled and then runs the motor so that I could have a better understanding of how to code the board. Does TI have some example code that will run the motor because all of my searches have turned up nothing.


    Thanks,

    Travis

  • Hi Travis,

    The code was written to interface with the GUI and uses the FTDI to convert USB commands to UART commands. The MSP430 then interprets the codes sent and acts upon them.

    In general, the code configures the SPI register, enables and disables inputs to the device, and provides a step input to spin the motor. It has been some time since I looked at this code, but I believe you can modify the main routine to do what you want.

    Instead of looping through the task checking for UART commands, I believe you can set variables as though the UART received the command and then call the task. I hope this gets you started.