Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

UCD3138A64OEVM-662: Where is the referenced sample code?

Part Number: UCD3138A64OEVM-662
Other Parts Discussed in Thread: UCD3138A64, UCD3138

I have the UCD3138A64OEVM-662 board and I am trying to find the demo code and test code referenced  in the user guide.

For example in Setup-A Test in the user guide, it says go find “PWR662_Test.x0”.  That file is not on my hard drive nor can I seem to find any valid links to any downloads.. I did manage to find and download a file called sluc611b and unzipped it but the “PWR662_Test.x0” is not there either.  Is that sluc611 file the only set of examples or are there additional resources somewhere?

Thanks for your help.

  • We don't make that particular code available because it's not really a good example code.  If you are new to the UCD family, I strongly suggest using the training codes here:

    https://www.ti.com/tool/UCD-TRAINING-LABS?keyMatch=UCD3138%20TRAINING

    The introductory video which will get you familiar with the development tools as well as the board, is here:

    https://training.ti.com/getting-started-ucd3138-digital-power-controller-tools

    Normally the open loop board is used as implied by its description - to run and test power supply codes without a closed loop to test things like the PMBus interface and the DPWM configuration, among many other things.  

  • Thanks for the pointers- it answers most of my questions.  I do have another question however: The projects at that link will not build with he latest CCS download.   If I just try and change the compiler to the newer one, it won't build because COFF is no longer supported.  Do I need to download/install older tools or is there a guide to update the projects? 

  • I also tried building to elf format just for a test but the first file it tries to compile fails:

    **** Build of configuration UCD3138A64 for project Lab_1 ****

    "C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k all
     
    Building file: ../cyclone_global_variables_defs.c
    Invoking: ARM Compiler
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv4 --code_state=16 --abi=ti_arm9_abi -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/UCD3138A64_Header Files" --include_path="C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/Pmbus_common" --include_path="C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/Training_labs_source_code/Lab_01/" -g --preproc_with_compile --preproc_with_comment --define=UCD3138A64=1 --diag_warning=225 --display_error_number -k --asm_listing --pp_directory="C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/Training_labs_source_code/Lab_01/UCD3138A64"  "../cyclone_global_variables_defs.c"
    subdir_rules.mk:7: recipe for target 'cyclone_global_variables_defs.obj' failed
    process_begin: CreateProcess(NULL, C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl -mv4 --code_state=16 --abi=ti_arm9_abi -O2 --include_path=C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include "--include_path=C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/UCD3138A64_Header Files" --include_path=C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/Pmbus_common --include_path=C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/Training_labs_source_code/Lab_01/ -g --preproc_with_compile --preproc_with_comment --define=UCD3138A64=1 --diag_warning=225 --display_error_number -k --asm_listing --pp_directory=C:/temp/training_labs_20160901/traininglabs-1.0/Training-labs/Training_labs_source_code/Lab_01/UCD3138A64 ../cyclone_global_variables_defs.c, ...) failed.
     
    gmake: *** [cyclone_global_variables_defs.obj] Error 2

  • I suppose you just use the default compiler that comes with CCS. Actually, TI 5.2.5 ARM compiler is recommend for UCD3138 peojects. 

  • The easiest thing to do is to use CCS 6.2, which is available here:  

    https://software-dl.ti.com/ccs/esd/documents/ccs_downloads.html

    It already has the correct compiler version, and I know it works well, since most of the codes were developed with it.  It is possible to use later versions by installing 5.2.5, but we haven't used the newer versions of  CCS as extensively.  

  • The code now builds with this version.  If I have other questions (which I'm sure I will) I'll start another thread.

    Thanks for your help.