TIDUEG2C March   2019  – March 2020

 

  1.   96

Setting Software Options for Lab 2

  1. To get started, open the CCS project, as outlined in Section 3.1.2.1. If using the powerSUITE page, go to step 2, otherwise jump to step 3.
  2. Open the SYSCFG page and select under the “Project Options” section:
    • “Lab 2: Open Loop PWM with Protection, Prim to Sec Power Flow” for the Lab
    • Under “Tuning”, select SFRA to run on the voltage to measure the voltage loop plant.
    Save the page.
  3. The following defines are set in the "settings.h" file for this build. These will be set by the powerSUITE page automatically.
  4. #if CLLLC_LAB == 2 #define CLLLC_CONTROL_RUNNING_ON C28x_CORE #define CLLLC_POWER_FLOW CLLLC_POWER_FLOW_PRIM_SEC #define CLLLC_INCR_BUILD CLLLC_OPEN_LOOP_BUILD #define CLLLC_TEST_SETUP CLLLC_TEST_SETUP_RES_LOAD #define CLLLC_PROTECTION CLLLC_PROTECTION_ENABLED #define CLLLC_SFRA_TYPE CLLLC_SFRA_VOLTAGE #define CLLLC_SFRA_AMPLITUDE (float32_t)CLLLC_SFRA_INJECTION_AMPLITUDE_LEVEL2 #endif