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.

TMS320F28379S: PowerSuite Migrating From F2837xD to F28379S Single Phase Inverter Example

Part Number: TMS320F28379S
Other Parts Discussed in Thread: POWERSUITE, TIDM-HV-1PH-DCAC, SFRA, CONTROLSUITE

Customer has been using PowerSuite Single Phase Inverter example with F28379D Control Card TIDM-HV-1PH-DCAC but now wants to migrate to their own custom board using F28379S.  Was not clear what is the best way of migrating their project to their custom board.  Suggestion?

  • Lawrence,

    I would suggest starting with the F28379D project, by selecting through the solution adapter and saving it in a folder of customers choice.

    we are not using the second core hence the change to F28379S should be straight forward,

    They will primarily need to then change the CMD file and also point to the F2837xS header files instead of F2837xD, and also change the Global Variables.c file etc that are in the project for the F28379D to F28379S

    The core project files i.e. <solution>.c/h, <solution>_board.c/h should not change between the two devices and nor should the settings.h file that powerSUITE generates.

    They will still not be able to change the name that they see on the CFG page, but other than that everything should work on F28379S correctly.  

  • Request from customer - Is it possible that TI can help to create that files as soon as possible?
    It is holding up their board testing. They tried modifying it themselves, but they are still not familiar with the files and setup environment.
  • Lawrence,

    All our code if released as source to help customer change and modify things,

    unfortunately we do not have the bandwidth to support such requests and the customer will have to do them on their own,

    we can help with any specific issue they find while porting and making these changes, 

    regards
    Manish Bhardwaj

  • I made the following changes to reference the F2837xS files

    But when attempting to build, the main.cfg has the following error:

    **** Build of configuration F2837x_RAM for project voltageSourceInverterLCFltr ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all

    'Building file: ../main.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_31_00_24_core/xs" --xdcpath="C:/ti/controlSUITE/powerSUITE/v_1_07_00_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p devkits.platform -r debug -c "C:/ti/ccsv6/tools/compiler" -Dxdc.cfg.tsort.policy=fast -Dxdc.cfg.gen.metadataFiles=false -Dxdc.cfg.SourceDir.verbose=7 --compileOptions "-v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --vcu_support=vcu2 -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path=\"C:/ti/ccsv6/tools/compiler/include\" --include_path=\"C:/ti/controlSUITE/libs/app_libs/solar/v1.2/float/include\" --include_path=\"C:/ti/controlSUITE/device_support/F2837xS/v170/F2837xS_headers/include\" --include_path=\"C:/ti/controlSUITE/device_support/F2837xS/v170/F2837xS_common/include\" --include_path=\"C:/ti/controlSUITE/libs/math/IQmath/v160/include\" --include_path=\"C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/Float/include\" --advice:performance=all --define=\"_DEBUG\" --define=\"F28x_DEVICE\" --define=\"CPU1\" --define=\"LARGE_MODEL\" -g --diag_warning=225 --quiet -k --asm_listing " "../main.cfg"

    making package.mak (because of package.bld) ...

    making package.mak (because of package.bld) ...

    subdir_rules.mk:91: recipe for target 'configPkg/linker.cmd' failed

    js: "./config.bld", line 10: Error: Can't find the target named 'ti.targets.C28_float' along the path 'C:/ti/controlSUITE/powerSUITE/v_1_07_00_00/packages;C:/ti/xdctools_3_31_00_24_core/packages;..;': please check the spelling of the target's name and that it exists along this path.

    js: "./config.bld", line 10: Error: Can't find the target named 'ti.targets.C28_float' along the path 'C:/ti/controlSUITE/powerSUITE/v_1_07_00_00/packages;C:/ti/xdctools_3_31_00_24_core/packages;..;': please check the spelling of the target's name and that it exists along this path.

    gmake.exe: *** No rule to make target `.configuro'. Stop.

    js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    gmake: *** [configPkg/linker.cmd] Error 1

    gmake: Target 'all' not remade because of errors.

    Suggestion on how to resolve this?

  • Lawrence,

    Because powerSUITE does not have the F2837xS project i would suggest you try with keeping the device name F28377D under the General->Main->Variant

    the other changes look ok to me.