
Figure 6-5. Sensorless-FOC commutation using the DRV8311HEVM InstaSPIN GUI
6.4 Torque Control, Speed Control, and Advanced Modulation Techniques
To implement more advanced modulation techniques such as torque control, speed control, and algorithms such
as MTPA, Field-weakening, and PowerWarp (EPL) using the DRV8311HEVM InstaSPIN Universal GUI, please
consult the MotorControl SDK InstaSPIN Lab Guide found in MotorControl SDK.
This document contains detailed lab overviews of how to implement each advanced modulation technique when
using sensorless FOC to spin the BLDC motor in Code Composer Studio. In order to use the project with the
GUI, the user must build and compile the project in CCS, and import the .out binary file for that project into the
GUI properties through GUI Composer. More information can be found in the README when the GUI is first
opened.
6.5 SPI Communication (DRV8311S only)
The DRV8311HEVM InstaSPIN_Universal_GUI includes three SPI register tabs for the DRV8311S: Status
Registers, Control Registers, and PWM Generation Registers. For InstaSPIN-FOC, only the Status and Control
Registers will 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 as shown in
2. Choose the desired settings by selecting from the drop-down menus for each setting. Clicking a setting
description selects the bits required for that control register setting. Consult the
(Section
8.6 Register Map) for detailed definitions of settings.
3. Click on “Write” to write to all control registers in the device with the configured settings.
4. To read all status and control registers in the device, click on “Read”. The statuses and settings will
auto-populate in the DRV8311S Status Registers and Control Registers.
5. Alternatively, to write data to a specific address, input the address and data in decimal into the address and
data inputs above the “Manual Write” box. Click on the “Manual Write” box to write the data to that address.
To read data from a specific address, input the address in decimal into the address above the “Manual Read”
box. Click on the “Manual Write” box to read the data from that address.
Firmware and GUI Application
SLOU552 – JULY 2021
DRV8311HEVM User's Guide
19
Copyright © 2021 Texas Instruments Incorporated