SPRADI0 July   2024

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 Getting Started
  5. 2Model-Based Design of eCompressor
    1. 2.1 General Texas Instruments High Voltage Evaluation (TI HV EVM) User Safety Guidelines
    2. 2.2 Block Diagram
    3. 2.3 Hardware, Software and Testing Requirements
      1. 2.3.1 Hardware setup
      2. 2.3.2 Software setup
      3. 2.3.3 Test Procedure
  6. 3 Simulink Configuration Settings
    1. 3.1 Simulink Tool Optimization
      1. 3.1.1 Optimum Code Generation
    2. 3.2 C2000 Specific Optimization
      1. 3.2.1 Using TMU Through Simulink
      2. 3.2.2 Using Software Libraries Through Simulink
      3. 3.2.3 Running Code From RAM
    3. 3.3 Performance Comparison
  7. 4 Profiling Using Simulink
    1. 4.1 Processor-in-loop (PIL) Method
    2. 4.2 C2000 Timer-Based Profiling
    3. 4.3 Code Composer Studio tools
  8. 5Summary

Code Composer Studio tools

The Code Composer Studio (CCS) IDE also allows to profile the execution cycles for application code. The clock tool available with CCS allows to get the point-to-point cycle count information. To use the CCS for profiling, import the MATLAB generated project in the CCS environment by opening CCS and selecting Import CCS project under the Project tab. Browse to the MATLAB project folder location and import the project. Once imported, the project should be available in the Project Explorer in CCS window. Connect the hardware and debug the project to load the .out file on the C2000 device.

Once the project is loaded, the clock tool can be enabled for use. Detailed description on how to use the Code composer studio for profiling is given in the link - Profiling on C28x Targets.