background image

6 Firmware and GUI Application

The DRV8311HEVM can implement sensored, sensorless, or Field-oriented control for commutating a 3-phase 
Brushless-DC motor. The supported firmware is a sensorless Field-oriented control algorithm adapted from 
Texas Instruments’ 

MotorControl SDK

 Library of motor solutions. The firmware includes motor identification and 

a sensorless FOC algorithm to spin the motor. The firmware uses the DRV8311HEVM InstaSPIN Universal GUI 
to run the algorithm and includes tabs to read from and write to the DRV8311 SPI registers (DRV8311S only).

The steps below will describe how to identify useful motor parameters, spin the motor, and work with the 
DRV8311S SPI registers. For more information on more advanced features of the C2000 InstaSPIN Universal 
GUI such as torque and speed control, MTPA, or Field-weakening, consult the MotorControl SDK InstaSPIN Lab 
Guide (in the 

MotorControl Software Development Kit tool page

) and 

InstaSPIN-FOC and InstaSPIN-MOTION 

User’s Guide

.

6.1 C2000 InstaSPIN Universal GUI

1. Follow the instructions in 

Section 5

 and ensure the LAUNCHXL-F280049C is connected to the PC and the 

power supply is turned on to the DRV8311HEVM PCB.

2. Search for the 

GUI Composer Galllery

 through 

https://dev.ti.com/gallery/search/drv8311xevm

. You will to 

login with a myTI account in order to access the GUI.

3. Accept the readme as shown in 

Figure 6-1

 and check the bottom left hand corner of the screen for 

“Hardware Connected”. Once connected, the GUI will flash the algorithm to the MCU as shown in 

Figure 6-2

.

Figure 6-1. C2000 InstaSPIN Universal GUI Readme

Firmware and GUI Application

www.ti.com

16

DRV8311HEVM User's Guide

SLOU552 – JULY 2021

Submit Document Feedback

Copyright © 2021 Texas Instruments Incorporated

Summary of Contents for DRV8311HEVM

Page 1: ...patability Table of Contents 1 Cautions and Warnings 2 2 Introduction 3 3 Quick Start Guide 5 4 Hardware and Software Overview 6 4 1 Hardware Connections Overview DRV8311HEVM LAUNCHXL F280049C 6 4 2 C...

Page 2: ...the EVM board HOT SURFACE Caution Hot Surface Contact may cause burns Do not touch Please take the proper precautions when operating Cautions and Warnings www ti com 2 DRV8311HEVM User s Guide SLOU552...

Page 3: ...Table 2 1 DRV8311x Device Variants Device Name Device Description DRV8311H Hardware variant DRV8311S SPI variant DRV8311P Texas Instruments SPI tSPI variant The DRV8311HEVM can be interfaced with the...

Page 4: ...Figure 2 1 DRV8311HEVM PCB Layout Introduction www ti com 4 DRV8311HEVM User s Guide SLOU552 JULY 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incorporated...

Page 5: ...ensored applications connect the Hall sensors to the appropriate locations on the 5 pin connector J4 as shown in Figure 4 2 Select 3V3 or 5V on jumper J6 to choose the Hall power source voltage 3 Mate...

Page 6: ...GND Voltage rail test points LEDs SPI enable test points DRV8311S only VM test point and LED Figure 4 1 Major hardware blocks of the DRV8311HEVM 4 2 Connection Details Figure 4 2 shows the power supp...

Page 7: ...d in to the LAUNCHXL F280049C to provide communication between the LaunchPad firmware and GUI as well as the correct installment of the DRV8311HEVM to the J1 J3 and J2 J4 headers of the LaunchPad www...

Page 8: ...e MCU LED tied to GPIO59 can be used for debugging and validation Table 4 1 shows the LED descriptions with the LEDs that are on during power up indicated in bold Figure 4 4 shows the LED locations on...

Page 9: ...4 4 2 and Section 4 4 3 describes the changes that need to be made to the board in order to use the SPI and tSPI variants as the main motor driver IC Table 4 2 Description of user selectable settings...

Page 10: ...ion _ on MCU Power See section 3 4 4 MCU power options F Supply 5 V from LaunchPad Supplies 5 V to some of the EVM circuitry from the F280049C LaunchPad boost converter R15 is populated Supply 5 V fro...

Page 11: ...orkarounds 1 If using the DRV8311HEVM with an external MCU remove R7 to disconnect buck supply Apply external 3 3V to the 3 3V test point Power on the DRV8311HEVM 2 If using the DRV8311HEVM with the L...

Page 12: ...ress of the device jumpers must be used on J7 and J8 to select AD0 and AD1 This address sets the unique address of the device to allow tSPI to properly communicate with the driver Up to 4 DRV8311P EVM...

Page 13: ...INC2 Phase C Voltage Sense 11 Not used ADCINB3 VDAC Not used 12 VSENVM ADCINB1 VM Bus Voltage Sense 13 SCLK SPIACLK SPI Clock DRV8311S and DRV8311P only 14 ISENA ADCINB2 Phase A low side Current Sense...

Page 14: ...to switch Low side FET of Phase C DRV8311H and DRV8311S only 12 SDI SPIASIMO SPI data input DRV8311S and DRV8311P only 13 HALLA GPIO58 HALL sensor A from motor 14 SDO SPIASOMI SPI data output DRV8311...

Page 15: ...311HEVM to the LAUNCHXL F280049C The motor and power connectors should face to the LaunchPad s Micro USB connector 3 Connect the three phases from the brushless DC motor to the 3 pin connector J9 on D...

Page 16: ...I such as torque and speed control MTPA or Field weakening consult the MotorControl SDK InstaSPIN Lab Guide in the MotorControl Software Development Kit tool page and InstaSPIN FOC and InstaSPIN MOTIO...

Page 17: ...many states to calculate and identify useful motor parameters for sensorless Field oriented control This should take no more than a couple of minutes 3 Once the motor identification process is complet...

Page 18: ...value in the GUI which is automatically set to 20 0 Hz Use the speedRef Hz input to change the current speed of the motor as shown in Figure 6 5 The GUI automatically calculates the current reference...

Page 19: ...be used since internal PWM generation is not a supported use case for InstaSPIN FOC for the DRV8311H and DRV8311S 1 Click on the DRV8311S Control Registers tab to access the DRV8311S Control Registers...

Page 20: ...6 DRV8311HEVM InstaSPIN GUI SPI Control Registers Firmware and GUI Application www ti com 20 DRV8311HEVM User s Guide SLOU552 JULY 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incor...

Page 21: ...Ds Figure 7 1 Main Supply Status LEDs schematic 7 2 DRV8311H S P Figure 7 2 DRV8311H S P schematic www ti com Schematics SLOU552 JULY 2021 Submit Document Feedback DRV8311HEVM User s Guide 21 Copyrigh...

Page 22: ...3 3 3V Buck Regulator Figure 7 3 3 3V Buck Regulator schematic Schematics www ti com 22 DRV8311HEVM User s Guide SLOU552 JULY 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incorporate...

Page 23: ...oltage Reference schematic 7 5 LaunchPad Connections Figure 7 5 LaunchPad Connections schematic www ti com Schematics SLOU552 JULY 2021 Submit Document Feedback DRV8311HEVM User s Guide 23 Copyright 2...

Page 24: ...Connectors Interface Figure 7 6 Connectors Interface schematic Schematics www ti com 24 DRV8311HEVM User s Guide SLOU552 JULY 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incorporat...

Page 25: ...tage Sense Protection Figure 7 7 Voltage Sense Protection schematic www ti com Schematics SLOU552 JULY 2021 Submit Document Feedback DRV8311HEVM User s Guide 25 Copyright 2021 Texas Instruments Incorp...

Page 26: ...visions may differ from page numbers in the current version DATE REVISION NOTES August 2021 Initial Release Revision History www ti com 26 DRV8311HEVM User s Guide SLOU552 JULY 2021 Submit Document Fe...

Page 27: ...are subject to change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reproduction and...

Reviews: