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.

CCS/DRV8886EVM: Need a motor driver demo board which can be programmed using Code Composer Studio.

Part Number: DRV8886EVM
Other Parts Discussed in Thread: DRV8886, MSP430F2617, ENERGIA, , MSP-FET

Tool/software: Code Composer Studio

I like the DRV8886 evaluation module, but it does not seem to be programmable like the MSP432 Launchpad board I have. I know I can add a booster pack to my Launchpad, but I was wondering if there was a motor driver board with a programmable MCU that I can program myself. I really don't care which MCU is used, I only need a 2amp board to give a demo. So, the requirements would be as follows:

1. 2.0Amp Stepper output

2. Programmable flash just like the LaunchPad using CCS.

3. Serial interface so I can communicate with the board while the code is running (IE send stepper commands that I create).

4. Preferably a single board solution with minimal footprint as I need to impress my manager with a simple space saving solution.

Thanks,

  • Hi Jim,

    The MSP430F2617 was programmed using an early version of this: http://www.ti.com/tool/msp-fet . The new tool should be able to program the MSP430F2617 according to page 4 of www.ti.com/.../slau647l.pdf

    With the purchase of the http://www.ti.com/tool/msp-fet , items 1, 2, and 4 can be met. The serial interface could be your biggest challenge. How do you intended to communicate with the mcu (either on the EVM or a launchpad)?
  • The idea is to send commands to the board via the serial interface. For starters I would create a GUI in Windows or Linux and send serial commands such as "/1A1000R" to move to an absolute position (Hyperterminal would also work). The code needs to be downloaded to the flash memory as I can't have the emulator attached when I run the code. The end game here is to design a custom PCB using an FPGA or MPU to control various stepper drivers. First step, however, is to demonstrate that simple code can be written to receive a few serial port commands from a host PC and translate each command into signals which can drive a stepper motor.

  • Hi Jim,

    The emulator was used for debug and then programming. Once programmed, the emulator is not needed.

    The EVM allows you to control the DRV8886 with the mcu and code provided, re-program the mcu, or wire in your own control.

    If you plan to use a mcu, there are energia libraries available that should help you get started. Good luck.
  • Rick,

    "The EVM allows you to control the DRV8886 with the mcu and code provided, re-program the mcu, or wire in your own control."

    I have pretty much confirmed every statement you have made. The only thing in which I could not find any literature regards the abillity to program the device. However in the schematic files for the DRV8886EVM I found that header J5 appears to be the JTAG header.

    The note below the header says "DNP R11, If debug or programming adapter is used to power on the MSP430, remove R13 and populate R11.

    Now, looking at the MSP Debuggers User's Guide (Rev. L) the JTAG header looks like this:

    so it looks like the UART signals are missing from the header. From the very little research I have done on these signals, they appear to enable me to simulate a serial port using the debugger. If this is true, I suppose I could jumper some wires from the MPU pins to the header to obtain this functionality. But, since I would be using the FTDI serial port during normal use, would guess that this would be available to me during the debug process.

    Assuming that all the above is true, and that I will be able to overwrite the existing code in the DRV8886EVM, is the original source code available? I would rather start from the original code as the motor control code and serial port code are already existing. Then I could just remove the code I don't need and add my own. Also, when I purchase the MSP-FET

    Finally, I already have Code Composer Studio installed for my existing MSP432 P401R LaunchPad dev kit, so I don't think I would need Energia (Энергия in Russian) IDE unless you think there would be some advantage.

    Sorry, one more thing, since I already have the MSP-EXP432P401R LaunchPad with the XDS110 adapter board, it seems like I could just make a jumper (better buy one from TI?) and jumper my existing XDS110 emulator board to the JTAG header on the DRV8886EVM. My existing LaunchPad has J101 header in addition to the 10 pin J102 10 pin Arm Cortex Debug Connector.

    Thanks,

    Jim

     

  • Hi Jim,

    The JTAG Target Connector was used to program the mcu only. Although it is a 14 pin header, you can see on the EVM schematic only a few pins were used.

    Once programmed, the communication path is from the GUI on the computer to FTDI via USB. The FTDI converts USB to UART and sends the communication to the MSP430.

    The original source code is available in the DRV8886EVM folder. Scroll down to the Software section, where you will find the GUI and firmware.

    "Sorry, one more thing, since I already have the MSP-EXP432P401R LaunchPad with the XDS110 adapter board, it seems like I could just make a jumper (better buy one from TI?) and jumper my existing XDS110 emulator board to the JTAG header on the DRV8886EVM. My existing LaunchPad has J101 header in addition to the 10 pin J102 10 pin Arm Cortex Debug Connector."

    According to the documentation of the XDS110, the MSP430 is not supported.