TIDUE53J March 2018 – February 2025 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1
Set the project to Lab 1 by changing the Lab Number in the
<tinv_settings.h> or main.syscfg file,
(this is changed with the powerSUITE GUI when using the powerSUITE project). Most
users can skip to Lab 2 to begin test
flow.
#define TINV_LAB 1All the other options can be left at
default, for now, in the user_settings.h
file
#if TINV_LAB == 1
#define TINV_TEST_SETUP TINV_TEST_SETUP_RES_LOAD
#define TINV_PROTECTION TINV_PROTECTION_DISABLED
#define TINV_SFRA_TYPE TINV_SFRA_CURRENT
#define TINV_SFRA_AMPLITUDE (float32_t)TINV_SFRA_INJECTION_AMPLITUDE_LEVEL2
#define TINV_POWERFLOW_MODE TINV_INVERTER_MODE
#define TINV_DC_CHECK 0
#define TINV_SPLL_TYPE TINV_SPLL_SRF
#endifFigure 3-4 shows the software diagram when the code is running.