SBAU485 July   2025

 

  1.   1
  2.   Description
  3.   Applications
  4.   Features
  5.   5
  6. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
    3. 1.3 Specification
    4. 1.4 Device Information
  7. 2Hardware
    1. 2.1 BP-AMC0106-LMG-MD PCB Overview
    2. 2.2 Board Configuration Information
    3. 2.3 Header Information
    4. 2.4 EVM Setup
  8. 3Software
    1. 3.1 Software Description
    2. 3.2 Importing the Project to Code Composer Studio
    3. 3.3 Universal Servo Drive Example Modifications
    4. 3.4 Change PWM Frequency and Dead Time
    5. 3.5 Running the Motor
  9. 4Hardware Design Files
  10. 5Additional Information
    1. 5.1 Trademarks
  11. 6Related Documentation

Importing the Project to Code Composer Studio

Start with importing the project to Code Composer Studio™ (CCS) by following these steps:

  1. Open CCS (version 12.8.1), and set up the workspace if prompted
  2. Go to File->Import->Code Composer Studio->CCS Projects and click next
  3. Browse for the search directory with the universal_servo_drive at C:\ti\c2000\C2000Ware_MotorControl_SDK_5_04_00_00\solutions\universal_servo_drive on Windows® machines
  4. Select the universal_servo_drive project in the discovered projects window
  5. Click finish to import the project to the workspace

Continue with setting the proper build configuration for the EVM. Right click on the imported project, go to Build Configurations and under Set Active, choose BXL_AMC0106_LMG_MD as shown in BP-AMC0106-LMG-MD Development Kit. Now, go to Project->Build Project. Make sure the compiler successfully builds the project without any errors or warnings. Make sure the target configuration TMS320F28P650DK9.ccxml is active, if not, right click TMS320F28P650DK9.ccxml and click Set as Active Target Configuration.

BP-AMC0106-LMG-MD Select the Correct Build
                    Configurations Figure 3-1 Select the Correct Build Configurations

Go to Run->Debug to run the demo software. When running the project for the first time, the CCS asks to select the CPUs to load program on. Disable the CPU2 as shown in Figure 3-2. After confirming, the debugger uploads the binary to the C2000 LaunchPad.

BP-AMC0106-LMG-MD Disable CPU2 Figure 3-2 Disable CPU2

In the debugger interface, go to Expressions window, right-click and select Import... In the dialog, search for the universal_servo_drive_expressions.txt file that is in common\debug folder in the universal_servo_drive project folder. Click Open to import all important expressions at once. These expressions control and monitor the servo drive system.