background image

Figure 6-1. MCT8316ZTEVM GUI Code in Code Composer Studio

6.2 Using the eZ-FET to Program the MSP430FR2355

The eZ-FET Debug Probe on the MSP430FR2355 LaunchPad uses a SPI-by-Wire JTAG interface to program 
the MSP430FR2355 MCU on the MCT8316ZTEVM. Consult the 

MSP430 LaunchPad Development Kits

 for 

MSP430 LaunchPads that include an onboard eZ-FET Debug Probe.

1. Remove the GND, 3V3, SBWTDIO, and SBWTCK jumpers from the MSP430 LaunchPad.
2. Connect the top pins on the eZ-FET side of the LaunchPad of the GND, 3V3, SBWTCK, and SBWTDIO 

signals to their respective pins on J4 of the MCT8316ZTEVM as shown in 

Table 6-1

 and 

Figure 6-2

.

3. Connect a micro-USB cable to the MSP430 LaunchPad and the PC.
4. Click on the Build Project icon or “Ctrl” + B to ensure the project builds successfully. Accept any updates if 

needed from the Console.

5. Click on Debug Project to set up a debug session and press the Play button to run the code.
6. Stop the debug session, close Code Composer Studio, disconnect the SPI-by-Wire jumpers, and unplug the 

micro-USB cable from the MSP430 LaunchPad.

Table 6-1. SPI-by-Wire Connections Needed to Program MSP430FR2355

MSP430 LaunchPad

 (eZ-FET Debug Probe Side) (J101)

MCT8316ZTEVM 4-pin SPI-by-Wire Header (J4)

GND

GND

3V3

3.3V

SBWTDIO

SBWTDIO

SBWTCK

SBWTCK

www.ti.com

Firmware and GUI Application

SNLU291A – MARCH 2021 – REVISED JUNE 2021

Submit Document Feedback

MCT8316ZTEVM Evaluation Module

15

Copyright © 2021 Texas Instruments Incorporated

Содержание MCT8316ZT

Страница 1: ...8 7 3 USB to UART 19 7 4 MCU Programming and Debug 19 7 5 MSP430FR2355 MCU 20 7 6 MCT8316ZT 3 Phase Sensored Trapezoidal Integrated Driver 20 7 7 3 3V Buck Regulator 21 7 8 Status LEDs 21 7 9 Hardware Variant Settings 22 7 10 Switches and PWM Input 22 8 Revision History 22 List of Figures Figure 2 1 MCT8316ZTEVM Printed Circuit Board PCB Top View 3 Figure 3 1 Reference for Quick Start Guide 4 Figu...

Страница 2: ... on MCT8316ZTEVM Default in Bold 9 Table 4 3 User Adjustable Resistor Divider Settings for MCT8316ZT Variant Defaults in Bold 12 Table 6 1 SPI by Wire Connections Needed to Program MSP430FR2355 15 Trademarks LaunchPad are trademarks of Texas Instruments All trademarks are the property of their respective owners 1 Cautions and Warnings Observe the following cautions and warnings as printed on the E...

Страница 3: ...CU translates the UART communication and onboard potentiometer into control signals and a variable duty cycle for the PWM input of the MCT8316Z It can also provide SPI communication for the SPI variant of the MCT8316Z device There are many user selectable jumpers resistors connectors and test points to evaluate the features of the device and configure device specific settings This document serves ...

Страница 4: ...nnect the motor supply to VBAT or VM and PGND on connector J7 a To enable reverse polarity protection and Pi filter connect to VBAT Note that when connecting to VBAT VM will be VM 0 7 V less due to a diode drop in the reverse polarity protection circuit b To disable reverse polarity protection and the Pi filter connect to VM 5 Select J3 to 5V_USB and J5 to 3V3COM to power MSP430 from USB power sup...

Страница 5: ...ttery is connected to the supply voltage VBAT or motor voltage VM and PGND terminals on connector J7 There is a reverse polarity protection and Pi filter implemented on the VBAT and PGND terminals resulting in a 0 7 V diode voltage supply drop to VM To bypass the reverse polarity protection and Pi filter connect the power supply directly to the VM terminal or VM test point on the board and PGND Th...

Страница 6: ... UART data and 3 3 V power to power the MSP430FR2355 microcontroller The 5 V from the USB power is limited to 500 mA by the PC and the 3 3 V from the FTDI chip is limit to 30 mA If the user wishes to supply more current to these rails they may use the 5V_SEL jumper J3 and 3V3_SEL jumper J5 to connect external power rails Hardware and Software Overview www ti com 6 MCT8316ZTEVM Evaluation Module SN...

Страница 7: ...external MSP430 LaunchPad must be connected to the four pin connector J4 Many MSP430 LaunchPads provide an onboard eZ FET Debug Probe to flash the program into the microcontroller and support debug using a 2 pin Spy by Wire SBW The user can use the Reset RST button at any time to restart the MCU program Two active low LEDs D5 and D6 can be used for debug purposes as well Finally a shunt jumper bri...

Страница 8: ...hows LED descriptions including those that are on during power up in bold and Figure 4 5 shows the locations of the LEDs Table 4 1 Description of MCT8316ZTEVM LEDs default in bold after powerup Designator Name Color Description D1 3 3V Green Internal buck regulator is outputting 3 3 V D2 nFAULT Red Lights up when fault condition has occurred on MCT8316Z D3 VM Green Motor power is supplied to the b...

Страница 9: ... Mode Bottom L2 22 μH Inductor Mode Bottom R1 22 Ω Resistor Mode J5 3V3_SEL Select 3 3 V for MCU power Top J5 3V3EXT External J5 3V3COM From FTDI 30 mA J3 5V_SEL Select 5 V for FTDI power Top J3 5V_EXT External J3 5V_USB From USB power 500 mA J1 PWM_SEL Selects PWM source Top J1 PWM_EXT External PWM J1 PWM_MSP PWM from MSP430 J12 HALL_PWR_SEL Selects Hall power source Top J12 HALL_EXT External Hal...

Страница 10: ...erted Top FGOUT MSP_FGOUT PWM MSP_PWM STE MSP_STE SCK MSP_SCK SIMO MSP_SIMO SOMI MSP_SOMI nFAULT MSP_nFAULT nSLEEP MSP_nSLEEP AGND AGND S1 BRAKE Turns on all low side MOSFETs Top Left Brake enabled Right Brake disabled S2 DIR Controls direction of motor Top Left Clockwise Right Counterclockwise S3 DRVOFF Disables gate drivers Top Left MCT8316Z enabled Right MCT8316Z disabled R10 and R11 ILIM Resis...

Страница 11: ...pulated with the desired settings R19 R22 and R26 R29 This setup is shown in Figure 4 6 Figure 4 6 Resistor Divider Settings for MCT8316ZT Hardware Variant Table 4 3 shows the user adjustable resistor divider settings when using the MCT8316ZT R19 R22 resistors connect to AVDD and R26 R29 resistors connect to AGND The defaults of the two tables are in bold www ti com Hardware and Software Overview ...

Страница 12: ...odulation ASR and AAR Disabled R22 R29 DNP Digital Hall Input Synchronous modulation ASR and AAR Disabled R22 100 kΩ Analog Hall Input Synchronous modulation ASR and AAR Enabled R22 22 kΩ Digital Hall Input Synchronous modulation ASR and AAR Enabled R22 0 Ω Digital Hall Input Asynchronous modulation ASR and AAR Enabled SLEW Slew Rate Phase pin slew rate switching low to high 10 90 and high to low ...

Страница 13: ...Apply user configurable jumper settings See the User Configurable Settings section for more information 4 Flash the program into the MCU as described in Section 6 Launch the GUI in GUI Composer and disconnect the 4 pin JTAG connections 5 Connect a micro USB cable to the MCT8316ZTEVM and computer 6 Turn on the power supply and power up the PCB If using the MCT8316ZTEVM with an external microcontrol...

Страница 14: ...to provide 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 Code Composer Studio This will set up a ti folder in the directory C ti a Accept all agreements default ins...

Страница 15: ...6 2 3 Connect a micro USB cable to the MSP430 LaunchPad and the PC 4 Click on the Build Project icon or Ctrl B to ensure the project builds successfully Accept any updates if needed from the Console 5 Click on Debug Project to set up a debug session and press the Play button to run the code 6 Stop the debug session close Code Composer Studio disconnect the SPI by Wire jumpers and unplug the micro ...

Страница 16: ...ection 5 2 Access the MCT8316ZEVM GUI through the Gallery 3 Once the project is loaded click on the Play button to launch the MCT8316ZTEVM GUI as shown in Figure 6 3 Firmware and GUI Application www ti com 16 MCT8316ZTEVM Evaluation Module SNLU291A MARCH 2021 REVISED JUNE 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incorporated ...

Страница 17: ...f motor poles are used to calculate and update the Motor Speed RPM box The speed is calculated by the Motor Speed Calculation from FGOUT and Pole Pairs formula below Note that the FGOUT frequency is multiplied by 3 to achieve the frequency of one electrical cycle in Hz Motor Speed RPM 60 FGOUT 3 Motor Pole Pairs 1 Status LEDs and nSLEEP Control The statuses of the programmable MCU LEDs are shown b...

Страница 18: ...Pi Filter Figure 7 1 Main Supply and Pi Filter Schematic 7 2 Connectors and Interface Figure 7 2 Connectors and Interface Schematic Schematics www ti com 18 MCT8316ZTEVM Evaluation Module SNLU291A MARCH 2021 REVISED JUNE 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incorporated ...

Страница 19: ...atic 7 4 MCU Programming and Debug Figure 7 4 MCU Programming and Debug Schematic www ti com Schematics SNLU291A MARCH 2021 REVISED JUNE 2021 Submit Document Feedback MCT8316ZTEVM Evaluation Module 19 Copyright 2021 Texas Instruments Incorporated ...

Страница 20: ... Sensored Trapezoidal Integrated Driver Figure 7 6 MCT8316ZT 3 Phase Sensored Trapezoidal Integrated Driver Schematic Schematics www ti com 20 MCT8316ZTEVM Evaluation Module SNLU291A MARCH 2021 REVISED JUNE 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incorporated ...

Страница 21: ...V Buck Regulator Schematic 7 8 Status LEDs Figure 7 8 Status LED Schematics www ti com Schematics SNLU291A MARCH 2021 REVISED JUNE 2021 Submit Document Feedback MCT8316ZTEVM Evaluation Module 21 Copyright 2021 Texas Instruments Incorporated ...

Страница 22: ... Page numbers for previous revisions may differ from page numbers in the current version Changes from Revision March 2021 to Revision A June 2021 Page Added Cautions and Warnings section 2 Corrected equation 17 Schematics www ti com 22 MCT8316ZTEVM Evaluation Module SNLU291A MARCH 2021 REVISED JUNE 2021 Submit Document Feedback Copyright 2021 Texas Instruments Incorporated ...

Страница 23: ...other than TI b the nonconformity resulted from User s design specifications or instructions for such EVMs or improper system design or c User has not paid on time Testing and other quality control techniques are used to the extent TI deems necessary TI does not test all parameters of each EVM User s claims against TI under this Section 2 are void if User fails to notify TI of any apparent defects...

Страница 24: ... These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation...

Страница 25: ...y for convenience and should be verified by User 1 Use EVMs in a shielded room or any other test facility as defined in the notification 173 issued by Ministry of Internal Affairs and Communications on March 28 2006 based on Sub section 1 1 of Article 6 of the Ministry s Rule for Enforcement of Radio Law of Japan 2 Use EVMs only after User obtains the license of Test Radio Station as provided in R...

Страница 26: ... any interfaces electronic and or mechanical between the EVM and any human body are designed with suitable isolation and means to safely limit accessible leakage currents to minimize the risk of electrical shock hazard User assumes all responsibility and liability for any improper or unsafe handling or use of the EVM by User or its employees affiliates contractors or designees 4 4 User assumes all...

Страница 27: ...OR DAMAGES ARE CLAIMED THE EXISTENCE OF MORE THAN ONE CLAIM SHALL NOT ENLARGE OR EXTEND THIS LIMIT 9 Return Policy Except as otherwise provided TI does not offer any refunds returns or exchanges Furthermore no return of EVM s will be accepted if the package has been opened and no return of the EVM s will be accepted if they are damaged or otherwise not in a resalable condition If User feels it has...

Страница 28: ...s 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 display of these resources is prohibited No license is granted to any other TI intellectual property right or to any third party intellectual property right TI disclaims responsibility for and you wi...

Отзывы: