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.

TMS320C6657: Getting started with UPP

Part Number: TMS320C6657
Other Parts Discussed in Thread: TMDSEVM6657

Dear Sirs,
We have developed a custom board which is plug-in on the 80-pins expansion connector of the TMDSEV6657 evaulation board.
This board has an ADC and a DAC connected to the UPP port of the evaluation board. We want to use one channel of the UPP
to transmit data to the DAC and the other channel to read from de ADC.
The first thing that I would like to do is to test the evaluation board on LoopBack mode. Diving in the forums I have found the example 2350.upp_dlb_test.zip
which I attached also here for reference. It seems that this example is good enought to start the test (thank you to the author!).
I have unzipped the file and inside CCS9.3, Project>Import CCS Project. When building de project I have several errors (see attached picture).
Can someone help me to solve this problem? Any idea?
Is there any way to get start with UPP? Is there any other ready-to-use example?
Thanks in advance,
Joaquin.

2350.upp_dlb_test.zip

  • Joaquin,

    Upp support is very thin in the Forum support.

    However, 

    The following are my observations.

    1. I could remember some UPP examples under the older MCSDK package - Download link - MCSDK 3_01_04_07 - TI.com

    Please download, install and check whether Upp is available.

    2. As per  your screenshot, the error says, it could not find the file, csl_bootcfg.h under csl folder.

    May be once you install the MCSDK in step 1, you may get the csl folder and try searching for the file, csl_bootcfg.h....

     

    "2350.upp_dlb_test.zip" may not help unless we know which version of MCSDK or Processor SDK is used while creating this sample upp test program...

    Regards

    Shankari G. 

  • Hi Shankari,

    Thank you for your repply.

    (1) I have downloaded MCSDK 3_01_04_07 and installed. I can not see any example regarding UPP in any directory under C:\ti\mcsdk_bios_3_01_04_07\examples.

    In any case it seems that is not compatible with C6657. See next picture of the web link download page

    (2) I have found several places in the TI directory where "csl_bootcfg.h" file exist and also other needed files. Most of the .h files that the project needs are in C:\ti\pdk_c665x_2_0_16\packages\ti\csl

    How can I add this include in the project so when building it finds everything?

    (3) I am using CCS 9.3.0.00012 and " processor_sdk_rtos_c665x_6_03_00_106". Next picture shows how my C:TI directory looks like:

    I would be great if I can start with UPP in an example, so that is my interest in the example I found in the forums (2350.upp_dlb_test.zip). Any other example would be also OK. Otherwise coulde be a hard task. Any help would be welcome. 

    Thank you n advance.

    Joaquín.

  • Joaquín,

    Question : 

    (2) I have found several places in the TI directory where "csl_bootcfg.h" file exist and also other needed files. Most of the .h files that the project needs are in C:\ti\pdk_c665x_2_0_16\packages\ti\csl

    How can I add this include in the project so when building it finds everything?

    --

    Answer

    In CCS , right click on the project, go to project properties-->C6000 compiler --> Include option-->search path option -->

    Regards

    Shankari G

  • Hi Shankari,

    I have added the paths and now I have the problems in other identifiers (see picture below)

    Do you have any idea on how to solve the problem?

    Dont you have a valid example to test UPP?

    Thanks in adavance,

    Joaquin.

  • Joaquin,

    The best bet would be to search the upp program as a part of any older SDKS/MCSDKs.

    Please go to this link and click the previuos versions and keep on going back.... until we get the upp example.

    https://software-dl.ti.com/processor-sdk-rtos/esd/C665x/latest/index_FDS.html - click on Previous Release

    And again click on previous release until we land up on MCSDK versions and open up the release notes and check...

    ---

    Let me also do the same for you and revert....

    Regards

    Shankari. 

  • Hi Shankari,

    Thank you for your prompt reply.

    I am not sure If I understand. Should I install previous version of processor SDK  and once installed try build to see if it is solved?

    If so, have I do change something in the project to have into account the new software installed?

    Regarding "Let me also do the same for you and revert....", are you going also to do this and tell me the results?

    Regards and thanks in advance,

    Joaquin

  • Joaquin,

    No.

    Not to install anything.....

    Do not install any SDK...

    ---

    This is an attempt to search the upp example....

    ----

    Go to this link https://software-dl.ti.com/processor-sdk-rtos/esd/C665x/latest/index_FDS.html 

    Click on Previous release in the same link

    It will pop up the release page previuos to it.

    Again click on the previous release option.

    Continue the same, until you get the name of the package as MCSDK....

    And then check the software manifest or the release notes about the occurence of upp.

    Regards

    Shankari G 

     

  • Shankari,

    I have done so and check the relases notes of all the versions until 2.0.0...none of them UPP is mentioned.

    Any idea?

    The example I leave in my first post ,I think was created by an user, it wasnt a "TI" example, I think.

    Regards,

    Joaquin.

  • Joaquin,

    Not to lose hope.

    Let me check and revert.

    Regards

    Shankari G

  • Joaquin,

    Sorry...

    Unfortunately, there is no software existing for uPP peripheral. What we have is just the " Low level register configuration" at the path ----

     ti/csl/src/ip/upp/V0/cslr_upp.h in the package, 

     PROCESSOR-SDK-RTOS-C665x 06_03_00_106 - http://software-dl.ti.com/processor-sdk-rtos/esd/C665x/latest/index_FDS.html

    --

    https://www.ti.com/cn/lit/ug/spruhg9/spruhg9.pdf is the application note for the uPP peripheral for which the user may have to write their own software.

    Regards

    Shankari G

  • Hi Shankary,

    Thank you very much for your help.

    I assume that I have to do my own software. I would appreciate If you can guide me throuhg the process and solve my doubts.

    I will follow step-by-step procedure page 2-14 of "spruhg9.pdf".

    To start, what project template should I use of the following?

    Then, following with the step-by-step , first point (1)  pin multiplexing,  is there any multiplexin utility or how I configure the pin multiplexing for UPP?

    Regards,

    Joaquin.

  • Hello Shankary,

    Well, I have created my on project from a template and find in the datasheet (Section 8.3.21) the control register to mux between UPP and EMIF: PIN_CONTROL_1 register.

    If I dont understand bad, I have to write 0x00000001 to select UPP.

    In the next figure, I show how I am doing it. My problem is that I am not able to see the change in this register when I go over this function step by step...Am I doing somethin wrong?  Should I see how it change?

    Thanks in advance,

    Joaquin.

  • Joaquin,

    May, be a Good news for you.

    I am able to build the sample UPP code with slight project properties settings.

    Only few includes and soc definition like SOC_C6657.

     Screenshot of successful build of 2350.upp_dlb_test.zip

    Steps:

    Unzip and copy the code into C:\ti folder.

    1. Go to project properties --> C600 compiler -> Include options -->C:\ti\pdk_c665x_2_0_16\packages

    2. Go to project properties --> C600 compiler --> Command file pre-processing --> SOC_C6657

    step1 - screenshot

    step 2 screenshot

    These two changes are sufficient to build the sample code.

    Hope this helps for you.

    Regards

    Shankari G

  • Hi shankary,
    Thank you for your effort and support.
    I did not succeed.
    I unzip the file example in muy workspace and in CCS, Project>Import CCS Projects, browse to the directory with the optios "Automaticall import..."and "Copy projects into workspsce" enabled.
    Then chage the options in properties leaving exactly as you did, and I get the following error:

    Any idea of the problem?

    Regards,

    Joaquin

  • No worries.

    Will post you videos.

    -shankari G

  • Hi Shankari,

    I am able to build the project if I use the pdk of the original CD software of the evaluation kit TMDSEVM6657:

    I will try to test UPP with this example.

    I also I would like to update the example for the "pdk_c665x_2_0_16" just to have everything with the same software.

    Please, could you answer to my question regarding PIN_CONTROL_1 register?.

    If you dont mind, or if you consider this good, I am not to close this post so I can ask new questions regarding UPP here, or dont you think so?

    Regards,

    Joaquin.

  • Joaquin,

    If you are able to build, please close this post by clicking verified/resolved button.

    Because, new queries gets more attention than the older ones.

    It is better to open a new in future.

    --

    Request you to open up a new one for PIN_CONTROL_1 too...

    --

    Regards

    Shankari G

  • Thank you very much for your support.

    Joaquin.