This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSRSLVR Setup and Initialization

Other Parts Discussed in Thread: TMS320F28035, CONTROLSUITE

I just purchased the Resolver to Digital Conversion Kit for a school project. I purchased the TMS320F28035 ControlCARD to go along with the kit. I am having a hard time finding documentation on the setup and initialization of the system to work as a RD converter. Any direction would be a great help. Thanks!

  • Ian,

    The majority of C2000's software and collateral can be found within controlSUITE.  This installer can be found at the below address:
    http://www.ti.com/controlsuite


    Thank you,
    Brett

  • Got it. Documentation is in controlSUITE under Motor -> Resolver to Digital Conversion. Thanks Brett.

  • I am getting a few errors when trying to build the example projects provided under the Resolver folder in controlSUITE. I was able to correct all of them but one. The final error is:

    gmake: *** No rule to make target `C:/Users/libs/app_libs/motor_control/libs/resolver/v100/lib/Resolver_Lib_Fixed.lib', needed by `Resolver_03x_cpu_flash.out'.

    This is an invalid path. How can I change the path in CCS to point to the correct directory (assuming that this is what's causing this error)? 

    Thanks!

  • Do you have the following folder on your machine

    C:\ti\controlSUITE\libs\app_libs\motor_control\libs\resolver\v100 ?

  • Yes I do have that folder. I am using CCS6.0.

     

    Thanks

  • I just installed CCS5.5 and I still have the same errors. I have tried to build this example project on Windows XP, Windows 7 and Windows 8. All have failed on each OS/ machine. Resolver F28035 is the example project.

  • Ian, 

    Can you post a picture of the project explorer view under CCS where it shows all the files..

    In particular expand to see if all the include paths are resolved. 

    Also Can you try compiling the other projects i.e. Resolver_F28027 etc and see if they compile..

    Also attach the console output in a text file that shows the compile error

  • When I try to build the project straight out of the example page, I get 5 errors. 4 of them are because of invalid include paths. I have attached a screenshot of before I correct the paths and after. None of the other resolver projects will build either.

    Before:

    After:

    And here is the console output:


    **** Build of configuration F2803x_FLASH for project Resolver_f28035 ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../DLOG4CH.asm'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DLOG4CH.pp"  "../DLOG4CH.asm"
    'Finished building: ../DLOG4CH.asm'
    ' '
    'Building file: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_CodeStartBranch.pp"  "C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm"
    'Finished building: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm'
    ' '
    'Building file: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_GlobalVariableDefs.pp"  "C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c"
    'Finished building: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c'
    ' '
    'Building file: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_usDelay.asm'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_usDelay.pp"  "C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_usDelay.asm"
    'Finished building: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_usDelay.asm'
    ' '
    'Building file: C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/C/PWM_1ch_Cnf.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="PWM_1ch_Cnf.pp"  "C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/C/PWM_1ch_Cnf.c"
    'Finished building: C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/C/PWM_1ch_Cnf.c'
    ' '
    'Building file: ../Resolver-DevInit_F2803x.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="Resolver-DevInit_F2803x.pp"  "../Resolver-DevInit_F2803x.c"
    'Finished building: ../Resolver-DevInit_F2803x.c'
    ' '
    'Building file: ../Resolver-Main.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="Resolver-Main.pp"  "../Resolver-Main.c"
    'Finished building: ../Resolver-Main.c'
    ' '
    'Building file: ../Resolver.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -O4 --opt_for_speed=1 --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.2.0/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/libs/resolver/v100/include" -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="Resolver.pp"  "../Resolver.c"
    'Finished building: ../Resolver.c'
    ' '
    gmake: *** No rule to make target `C:/Documents and Settings/libs/app_libs/motor_control/libs/resolver/v100/lib/Resolver_Lib_Fixed.lib', needed by `Resolver_03x_cpu_flash.out'.
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • Ian,

    Can you right click on Resolver_Lib_Fixed.lib in the project explorer view, where it shows a question mark and delete it.

    Then right click on the project name -> go to add files  , now browse to the resolver library folder 

    C:\ti\controlSUITE\libs\app_libs\motor_control\libs\resolver\v100\lib

    and add the .lib file, you can choose to copy or link the file..  

    and see if it compiles then..

    The project looks to be setup correctly in controlSUITE, but i am still not sure why there are build errors on your machine.. ...

  • I still get the same error. This problem occurs on Windows XP, 7 and 8 using both CCS6.0 and CCS5.5. Could it be an issue with the project? Does this example project build for you?

    Thanks

  • Ian, 

    I think importing to CCS6 is one way, you cannot go back to CCS5, there will be issues.

    Are you using a clean project before you tried to import it in CCS6 when testing with CCS5.

    I have not tested with CCS6 but on CCS5 we are not seeing any issues and we have checked it on multiple machines..

    Also one more thing to try is to make the build options for linker and specify the library path explicitly