TIDUF56 January   2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Terminology
    2. 1.2 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 TMS320F28P65x-Q1
      2. 2.3.2 DRV3255-Q1
      3. 2.3.3 LM25184-Q1
      4. 2.3.4 TCAN1044A-Q1
  9. 3System Design Theory
    1. 3.1 Three-Phase PMSM Drive
      1. 3.1.1 Field-Oriented Control of PM Synchronous Motor
        1. 3.1.1.1 Space Vector Definition and Projection
          1. 3.1.1.1.1 ( a ,   b ) ⇒ ( α , β ) Clarke Transformation
          2. 3.1.1.1.2 α , β ⇒ ( d ,   q ) Park Transformation
        2. 3.1.1.2 Basic Scheme of FOC for AC Motor
        3. 3.1.1.3 Rotor Flux Position
    2. 3.2 Field Weakening (FW) Control
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Hardware Requirements
      1. 4.1.1 Hardware Board Overview
      2. 4.1.2 Test Conditions
      3. 4.1.3 Test Equipment Required for Board Validation
    2. 4.2 Test Setup
      1. 4.2.1 Hardware Setup
      2. 4.2.2 Software Setup
        1. 4.2.2.1 Code Composer Studio™ Project
        2. 4.2.2.2 Software Structure
    3. 4.3 Test Procedure
      1. 4.3.1 Project Setup
      2. 4.3.2 Running the Application
    4. 4.4 Test Results
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
      3. 5.1.3 PCB Layout Recommendations
        1. 5.1.3.1 Layout Prints
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks

Project Setup

Import the project into CCS and select the appropriate build configuration. Right-click on the project in the Project Explorer and select Rebuild Project. Confirm that the Console pane shows that the project built without any errors.

On successful completion of the build, with the tidm_02017_2w_traction_f28p65x project selected, go to RunDebug or click the Debug button on the tool bar. By default the project launches a debug session using the F28P65.ccxml file in the project. F28P65.ccxml is configured to use the Texas Instruments XDS110 USB Debug Probe onboard the TMDSCNCD28P65X controlCARD.

After clicking Debug, CCS automatically connects to the target, load the output file into the device, and change to the CCS Debug perspective. Halt the program at the start of main().

If the Expressions pane is not already open, click ViewExpressions in the CCS menu bar. Either add variables manually or import a recommended list of variables associated with this build level by right-clicking within the Expressions window, selecting Import..., and finding the file
<SDK install location>\solutions\tidm_02017\common\debug\tidm_02017_watch_window_experssions.txt. Click the OK button and the window gets populated with the variable.

Click the Continuous Refresh button in the Expressions window tool bar to configure CCS to update the data continuously at a rate defined in the CCS debug preferences.