SLLU384 July   2024

 

  1.   1
  2.   Description
  3.   Get Started
  4.   Features
  5.   Applications
  6.   6
  7. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
    3. 1.3 Specification
    4. 1.4 Device Information
  8. 2Hardware
    1. 2.1 Quick Start Guide
    2. 2.2 Hardware Setup
    3. 2.3 Hardware Connections Overview – MCF8315PWPEVM
    4. 2.4 Connection Details
    5. 2.5 MSP430FR2355 Microcontroller & User Interface
    6. 2.6 LED Lights
    7. 2.7 User-Configurable Settings
  9. 3Software
    1. 3.1 Motor Studio GUI Application
      1. 3.1.1 Downloading and Running Motor Studio GUI
    2. 3.2 MSP430FR2355 Interface Firmware
      1. 3.2.1 Downloading Code Composer Studio and Importing MSP430FR2355 Interface Firmware Code
      2. 3.2.2 Using the eZ-FET to Program the MSP430FR2355
  10. 4Hardware Design Files
    1. 4.1 Schematics
      1. 4.1.1 Main Supply and Pi Filter
      2. 4.1.2 Connectors and Interface
      3. 4.1.3 USB to UART
      4. 4.1.4 MCU Programming and Debug
      5. 4.1.5 MSP430FR2355 MCU
      6. 4.1.6 MCF8315 3-Phase Sensorless FOC Integrated Driver
      7. 4.1.7 Buck Regulator
      8. 4.1.8 Status LEDs
      9. 4.1.9 Switches and Speed Input
    2. 4.2 PCB Layouts
    3. 4.3 Bill of Materials (BOM)
  11. 5Additional Information
    1.     Trademarks

Using the eZ-FET to Program the MSP430FR2355

The MSP430FR2355 on the MCF8315EVM comes pre-programmed with the firmware necessary for communicating with the Motor Studio GUI and the MCF8315. To reprogram or flash custom code on the MSP430FR2355, you will need an external MSP430 LaunchPad™that includes the eZ-FET Debug Probe. In this example, we use the MSP-EXP430FR2355 LaunchPad Development Kit to provide the debug probe.

The eZ-FET Debug Probe on the MSP430FR2355 LaunchPad uses a SPI-by-Wire JTAG interface to program the MSP430FR2355 MCU on the MCF8315PWPEVM. 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 MCF8315PWPEVM as shown in Table 4-1 and Figure 4-3.
  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 3-1 SPY-BI-Wire Connections Needed to Program MSP430FR2355

MSP430 LaunchPad™ (eZ-FET Debug Probe Side) (J101)

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

GND

GND

3V3

3.3V

SBWTDIO

SBWTDIO

SBWTCK

SBWTCK

MCF8315PWPEVM MSP430 LaunchPad eZ-FET Probe Connected to MCF8315PWPEVMFigure 3-3 MSP430 LaunchPad™ eZ-FET Probe Connected to MCF8315PWPEVM