6 Firmware and GUI Application
The MCT8316ZTEVM implements an internal sensored trapezoidal control algorithm that requires a PWM signal
with variable duty cycle to control the speed of the motor. It also outputs an FGOUT signal to monitor the speed
of the motor. Finally, the evaluation module includes a backchannel USB-UART interface that communicates to a
host PC to monitor the motor real time and configure settings via SPI for the SPI variant of the device.
The MCT8316ZTEVM GUI is available on the
. This GUI monitors the duty cycle of the 20-kHz PWM
waveform to control motor speed, the motor speed in revolutions per minute (RPM) based on the motor poles,
and controls the nSLEEP signal.
By default, the MSP430 should already contain the user code to run the GUI. If there is a FW update or the GUI
does not connect to the EVM, then the user must flash the code onto the MSP430.
To flash user code, you need an external MSP430 LaunchPad that includes the eZ-FET Debug Probe and Code
Composer Studio (CCS). This example uses the
MSP-EXP430FR2355 LaunchPad Development Kit
the debug probe. Use the following steps to download the code for the MCT8316ZTEVM to use with the GUI.
6.1 Downloading Code Composer Studio and Importing GUI Code
1. Extract the “MCT8316ZTEVM_MSP430FR2355_Firmware_GUI.zip” to a location on the computer.
2. Download the latest version of
. This will set up a ti folder in the directory C:\ti.
a. Accept all agreements, default install locations, and select “Next” to proceed through menus.
b. In the “Select Components” window, ensure to check “MSP430 Low-Power MCUs” to install the required
packages for the MSP430 LaunchPad Evaluation Kits.
3. After installing, run CCS and select a folder or the default to use as the Workspace to store any new
projects. The location and naming convention can be changed based on the user's preference. Click the OK
button to accept.
4. In CCS, click on the Project tab and select “Import CCS Projects”. Click on Browse.
5. Select the “MCT8316ZTEVM_MSP430FR2355_Firmware_GUI” folder installed from step 1.
6. Import the project “MCT8316ZTEVM_MSP430FR2355_Firmware_GUI” into your workspace as shown in
Firmware and GUI Application
14
MCT8316ZTEVM Evaluation Module
SNLU291A – MARCH 2021 – REVISED JUNE 2021
Copyright © 2021 Texas Instruments Incorporated