There are three projects for F28002x, F28003x and F280013x separately, the projectspec file for F28002x based reference design is in the directory below<install_location>\solutions\tidm_02010_dmpfc\f28002x\ccs\sensorless_foc, the projectspec file for F28003x based reference design is in the directory below<install_location>\solutions\tidm_02010_dmpfc\f28003x\ccs\sensorless_foc, projectspec file for F280013x based reference design is in the directory below<install_location>\solutions\tidm_02010_dmpfc\f280013x\ccs\sensorless_foc
Import the project within CCS and select the right
build configurations by right-clicking on project name as shown in Figure 3-3. Select the right build configuration for the HVAC reference design. The
"HVAC_REV3P2_3SC_LIB" build configuration supports three-shunt current sensing
method, the "HVAC_REV3P2_1SC_LIB" supports single-shunt current sensing method.
Configure the project to select the supporting functions in project by using either one of the following two ways:
Navigate to
<install_location>\solutions\tidm_02010_dmpfc\f28002x\ccs\sensorless_foc
for F28002x,
<install_location>\solutions\tidm_02010_dmpfc\f28003x\ccs\sensorless_foc
for F28003x, or
<install_location>\solutions\tidm_02010_dmpfc\f280013x\ccs\sensorless_foc
for F280013x. Open the project specs file with a text editor utility, select the
right predefined symbols for the system as shown in Figure 3-4. The pre-define symbol is active or disabled by removing or adding the "_N"
in the name. For example, enables field weakening control by removing the "_N"
in "MOTOR1_FWC_N" to "MOTOR1_FWC", disables field weakening control functions
for motor 1 (Compressor) by changing "MOTOR1_FWC" symbol name to "MOTOR1_FWC_N".
After set the pre-define symbols in
"tidm_02010_dmpfc_002x/003x/0013x.projectspec", import the project by clicking
"Project → Import CCS Projects" to select the project based the hardware board
in the related folder.
Click "Project → Import CCS Projects", and browse
to
<install_location>\solutions\tidm_02010_dmpfc\f28002x\ccs\sensorless_foc
to import the project into CCS for F28002x based reference design or
<install_location>\solutions\tidm_02010_dmpfc\f28003x\ccs\sensorless_foc
for F28003x based reference design, or
<install_location>\solutions\tidm_02010_dmpfc\f280013x\ccs\sensorless_foc
for F280013x based reference design, and then right-click on the imported
project name, click "Properties" command to set the pre-define symbols for the
project as shown in Figure 3-5.
Figure 3-3 Select the Correct Build Configurations
Figure 3-4 Select the Correct Pre-define Symbols in ProjectSpec File
Figure 3-5 Select the Correct Pre-define Symbols in Project Properties