SDAA184 June   2026 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Power Stage Overview
  6. 3Software Overview
    1. 3.1 Software Architecture
      1. 3.1.1 Devcie Initialization
        1. 3.1.1.1 Analog Peripherals Initialization
        2. 3.1.1.2 Control Peripherals Intialization
          1. 3.1.1.2.1 EPWM Initialization
          2. 3.1.1.2.2 CLB Initialization
        3. 3.1.1.3 System Peripherals Initialization
      2. 3.1.2 Interrupt Structure
    2. 3.2 PowerSuite Usage
  7. 4Lab Structure
    1. 4.1 Hardware Setup
    2. 4.2 Lab1
    3. 4.3 Lab2
    4. 4.4 Lab3
    5. 4.5 Lab4
  8. 5Summary

Devcie Initialization

In this project, the TI SysConfig tool is utilized for the initialization and configuration of all device peripherals. The board_init() function, invoked within the "AHB_main.c" file, links the application software with the configuration parameters defined in the "c2000.syscfg" file.

The SysConfig file is device-specific to the F28P55x family and serves as the central repository for all peripheral and pin assignments. Through this configuration, both analog and control peripherals are initialized in a consistent and maintainable manner.

Specifically, the following modules are configured using SysConfig:

  • Analog peripherals: ADC, ASYSCTL, CMPSS

  • Control peripherals: ePWM, CLB

  • System peripherals: GPIO, X-BAR, Interrupt, and CPU Timer

This approach ensures deterministic initialization at startup, reduces manual register configuration errors, and provides a graphical interface for easy modification of peripheral mappings. Detailed descriptions of each configured peripheral and its role in the control architecture are provided in the subsequent sections.