TIDUF17 November 2022 TMS320F2800152-Q1 , TMS320F2800153-Q1 , TMS320F2800154-Q1 , TMS320F2800155 , TMS320F2800155-Q1 , TMS320F2800156-Q1 , TMS320F2800157 , TMS320F2800157-Q1
The system software is gradually built up until the final system can be confidently operated. To select a particular build option, select the corresponding DMC_BUILDLEVEL option in sys_settings.h. Once the build option is selected, compile the project by right-clicking on the project name and clicking Rebuild Project.
//=============================================================================
// Incremental Build options for System check-out
//=============================================================================
#define DMC_LEVEL_1 1 // 50% duty, offset calibration and verify phase shift
#define DMC_LEVEL_2 2 // Open loop control to check sensing signals
#define DMC_LEVEL_3 3 // Closed current loop to check the hardware settings
#define DMC_LEVEL_4 4 // Parameters identification and run with InstaSPIN-FOC
#define DMC_BUILDLEVEL DMC_LEVEL_4