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.

LAUNCHXL-F280049C: Adapting the Motor Control SDK Universal Project and Lab (sysconfig version) to the LAUNCHXL-F280049C

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE, DRV8353R, DRV8353, DRV8323

Tool/software:

Hello IT Team,

I'm trying to adapt the Motor Control SDK Universal Project and Lab to the LAUNCHXL-F280049C, for this I'm following the following guide: Universal Motor Control Project and Lab User’s Guide (Rev. A), more specifically section "4.3 Porting Reference Code to New C2000 MCU". I was able to follow all the steps until step 6. When building the project, the project does not seem to recognize the specific device, I get the following error:

[0]**** Build of configuration CPU1_FLASH for project universal_motorcontrol_syscfg_f28004x ****
[1]"C:\\Users\\martin.blocher\\Software\\ti\\ccs2011\\ccs\\utils\\bin\\gmake" -k -j 28 all -O

[2]Building file: "../c2000.syscfg"
[3]Invoking: SysConfig
[4]"C:/Users/martin.blocher/Software/ti/ccs2011/ccs/utils/sysconfig_1.23.0/sysconfig_cli.bat" --script "C:/Users/martin.blocher/workspace_ccstheia/universal_motorcontrol_syscfg_f28004x/c2000.syscfg" -o "syscfg" -s "C:/Users/martin.blocher/Software/ti/C2000Ware_MotorControl_SDK_5_03_00_00/.metadata/sdk.json" -d "F28004x" -p "100PZ" -r "F28004x_100PZ" --compiler ccs
[5]subdir_rules.mk:9: recipe for target 'build-1685593665' failed
[6]Package not found: 100PZ. This package may be available in a newer version of SysConfig
[7]gmake: *** [build-1685593665] Error 1
[8]gmake: Target 'all' not remade because of errors.
[9]**** Build Finished *

I also get the following error when opening up the sysconfig within CCS. 

I already updated the sysconfig and CCS up to their latest versions. I also have installed the sysconfig within the following directory: re/ti/ccs2011/ccs/utils/sysconfig_1.23.

I've also set my build configurations in the .projectspec to the following: sysConfigBuildOptions="--product ${MCSDK_ROOT}/.metadata/sdk.json --device F28004x --package 100PZ --part F28004x_100PZ". The rest of the .projectspec I just followed the guide present in the PDF.

Is there something I'm missing?

I decided to pick this project in specific due to its great documentation and high level of detail and configurability. Moreover, in documentation it also mentions high combability with the following gate driver: DRV8353R. There is also the option of going with the Lab version and avoid this sysconfig issue, but I very much like the dynamic interface integrated within CCS.

I also know that there are some other projects ready to go besides the Universal Motor Control Lab, for instance the example: C2000Ware_MotorControl_SDK_5_03_00_00\solutions\boostxl_drv8320rs\f28004x\ccs\sensorless_foc\is07_speed_control_coff.projectspec. The final application shall use an outter position loop, so this could also be a nice fit. 

Moreover, this LAUNCH Board is just to get the project going, we intended to move to the F280041. I know that this last one does not have the CLA and CLB modules, if you could provide some help so I can already avoid those modules and develop an application which suits the final CPU I would appreciate. Also, do you think using the Universal Motor Control is a feasible option given this necessary transition?

 

Thanks a lot for your support.

Martin Blocher

  • Hi Martin,

    I already updated the sysconfig and CCS up to their latest versions. I also have installed the sysconfig within the following directory: re/ti/ccs2011/ccs/utils/sysconfig_1.23.

    A lot of the times I find you have to choose the specific version of sysconfig in the project properties, like below:

    Have you referenced this doc already? It's specifically for the C2000 Motor Control SysConfig Tool https://www.ti.com/lit/sprad68

    I decided to pick this project in specific due to its great documentation and high level of detail and configurability. Moreover, in documentation it also mentions high combability with the following gate driver: DRV8353R. There is also the option of going with the Lab version and avoid this sysconfig issue, but I very much like the dynamic interface integrated within CCS.

    The sysconfig version only supports DRV8323 boosterpacks i think. The non-syscfg (C code) version does support DRV8353 however.

    Moreover, this LAUNCH Board is just to get the project going, we intended to move to the F280041. I know that this last one does not have the CLA and CLB modules, if you could provide some help so I can already avoid those modules and develop an application which suits the final CPU I would appreciate. Also, do you think using the Universal Motor Control is a feasible option given this necessary transition?

    Yes, it should be fine. The Universal Motor Control lab does not leverage CLB or CLA.

    Best,

    Kevin