SDAA184 June 2026 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1
This is the default lab and is intended to run on the hardware for validating the complete end-to-end solution. This includes closed-loop regulation across a wide input and output operating range, adaptive soft start, fast load transition response, and ZVS diagnostics to ensure reliable ZVS operation. To enable this lab, set the project to Lab 4 by updating the Lab Number in AHB_user_settings.h. All other configuration parameters can remain at their default values for this stage.
The primary purpose of this lab is to validate the PWM behavior under different load conditions and to observe the closed-loop voltage regulation by adjusting the output reference variable. This lab allows users to verify real-time response, stability, and protection behavior of the converter while operating under practical load and voltage scenarios.
Hardware Connection:
Plug external bias supply of 12V to "J4" and 5V to "J5" connector on the board.Short J3 with jumper
Connect DC Source of Input voltage should be in the range of 300-400V
Connect CC Load (preferbly electornic load) with current limit of 12A and output voltage expected would be in the range of 9 to 28V
Building and Loading the Project and Setting up Debug Environment
Right-click on the project name and click Rebuild Project.
The project will build successfully.
In the Project Explorer, make sure the correct target configuration file is set as Active under targetConfigs
Then, click Run → Debug to launch a debugging session.
The project will then load on the device and the CCS debug view will become active. The code will halt at the start of the main routine.
To add the variables in the watch/expressions window, click View → Scripting Console to open the scripting console dialog box. In expressions window, right click -> choose import option and guide to import project folder in the workspace and open "AHB_Lab4Expressions.txt". This will populate the watch window with the appropriate variables needed to debug the system.
Click the Continuous Refresh button on the watch window to enable continuous update of values from the controller. The watch window appears as shown in Figure
Running the Code
Run the project using the Run button in the CCS debug window
In the Watch view, verify that PWMISR_count and TimerISR_count increment continuously.
Confirm that LabStatus.type displays “Closedloop”.
Connect the DC input source and power up the board with 320 V input. The default reference output voltage is 9 V.
Modify AHB_VsecRef_volts variable within the 9 V to 28 V range to observe fast and stable closed-loop voltage regulation.
View the waveform to confirm dynamic adjustment of output voltage corresponding to changes in the reference variable. (Ch1: Output Voltage, Ch3: Auxilary node, Ch4: Primary Current)
When operating under light load, the firmware automatically adjusts the target ZCD count based on output voltage, improving efficiency; detailed efficiency data is available in the test report.
The figure also illustrates the adaptive soft start behavior and undervoltage lockout (UVLO) response.
Figure 4-9 Output voltage adjusting 9V->15V->20V->28V->20V->15V->9V with 370V input 9A cc load.
Figure 4-10 Soft start and under voltage protection operation with 320V Input, 15V@9A CC load condition.