Other Parts Discussed in Thread: TMS320F28033, CONTROLSUITE
Hello
I was reading about offset cal in www.ti.com/.../spruge5f.pdf and I see that section 1.8 mentions two functions: Device_Cal() and AdcOffsetSelfCal(). It says that they are in the DSP2803x_Adc.c file but I'm not sure where that is. I see DSP2803x_Adc.h listed in the include files but not the .c file. When I try to build the project, I get the error below. Can someone point me in the right direction?
I am using an TMS320F28033 chip on a custom circuit board - normal ADC operation works fine. I am using Code composer studio 6.1.2, Control suite 3.3.9
**** Build of configuration F2803x_FLASH for project DABController-DPLibTemplate-F2803x ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/C/ADC_SOC_Cnf.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -g --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="ADC_SOC_Cnf.pp" "C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/C/ADC_SOC_Cnf.c"
"C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/C/ADC_SOC_Cnf.c", line 135: warning: function "Device_Cal" declared implicitly
'Finished building: C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/C/ADC_SOC_Cnf.c'
' '
'Building target: ProjectName.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 -z -m"ProjectName.map" --stack_size=0x380 --warn_sections -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --reread_libs --xml_link_info="ProjectName_linkInfo.xml" --rom_model -o "ProjectName.out" "./ADC_SOC_Cnf.obj" "./DABController-DPL-ISR.obj" "./DABController-DevInit_F2803x.obj" "./DABController-Main.obj" "./DAB_CC_Soft_Start.obj" "./DAB_STARTUP_PWM.obj" "./DAB_STARTUP_PWM_CNF.obj" "./DSP2803x_CodeStartBranch.obj" "./DSP2803x_GlobalVariableDefs.obj" "./DSP2803x_usDelay.obj" "./OVP_UVL_CNF.obj" "./PWM_1ch_Cnf.obj" "./PWM_PSFB_Cnf.obj" "./PWM_PSFB_VMC_SR_Cnf.obj" "./PWR_GOOD_CNF.obj" "C:/ti/controlSUITE/device_support/f2803x/v125/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" "../F28035_FLASH_ProjectName.CMD" "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath.lib" -l"libc.a"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_Device_Cal ./ADC_SOC_Cnf.obj
error: unresolved symbols remain
error: errors encountered during linking; "ProjectName.out" not built
>> Compilation failure
gmake: *** [ProjectName.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****