[FAQ] DRV8343S-Q1EVM: How to flash firmware onto the DRV8343x-Q1EVM

Part Number: DRV8343S-Q1EVM
Other Parts Discussed in Thread: DRV8343-Q1, MSP430F5529, MSP-EXP430FR5969, MSP-EXP430FR5739

The DRV8343S-Q1EVM and DRV8343H-Q1EVM both include an onboard MSP430F5529 MCU that is used to evaluate the DRV8343-Q1 device by providing sensored or sensorless trapezoidal motor control and connectivity to a offline GUI application. When purchasing the EVM, the MCU comes automatically pre-configured for sensorless trapezoidal control. 

The EVM tool page also includes a downloadable Firmware Package, which includes the following:

  • Sensorless trapezoidal, sensored trapezoidal, and independent mode firmware projects for Code Composer Studio
  • DRV8343-Q1 EVM GUI (DRV8343Q1-1.0.0_EVM) that automatically identifies the firmware project flashed onto the MSP430 MCU

In order to flash firmware onto the MSP430F5529 on the EVM, an MSP-EXP430FR5969 or MSP-EXP430FR5739 LaunchPad is required. Follow the procedure below:

1) Obtain an MSP-EXP430FR5969 (available on samples.ti.com) or MSP-EXP430FR5739 (available on the TI Store). These MSP430 LaunchPads include the SPI-by-wire 6-pin, 50-mil wide connector on the right side of the board. Mate You may need to solder 4-pins (SBWTDIO, SBWTCK, 3V3, GND) using a 50-mil 4-pin header to the LP as shown below. Pins 1 and 6 of the connector are not used, and pins 2-5 correspond to the four SPI-by-wire pins needed for flashing the MSP430. 

2) Once the connector is mated to the LP, plug in the connector to the 4-pin SPI-by-wire female connector that is on the left side of the DRV8343x-EVM in the following manner (tops of boards face up). 

3) Once connected, plug in a micro-USB cable into the LaunchPad and the 3.3V LEDs should light up on the LP and on the EVM.

4) At this point, you should be able to flash the sensored trapezoidal, sensorless trapezoidal, or independent mode firmware onto the MSP430F5529 MCU. For steps how to download CCS and flash the program, follow Section 3 of this document.