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.

TCI6630K2L: Does C6630K2L support DSP big-endian with ARM big-endian ?

Part Number: TCI6630K2L

Hi all,

I think so. But when I read MCSDK user guide (v3.1.4.7) on page 69, It says “IS NOT Big endian ARM” and "IS NOT Big endian DSP with ARM Little endian configuration". I am shocked.

My question is, as title, Does C6630K2L support DSP big-endian with ARM big-endian ?

And how to config ARM as big-endian? GPIO15? GPIO0?

Thank you very much!

  • Hi Eric,

    The latest ti releases for TCI6630K2L are called Processor SDK available for download here:
    www.ti.com/.../processor-sdk-k2l
    You should refer to the RTOS and Linux software developers guides:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Software_Developer_Guide
    processors.wiki.ti.com/.../Processor_SDK_Linux_Software_Developer’s_Guide

    And, yes they support big endian.
    And how to config ARM as big-endian? GPIO15? GPIO0?

    I'll refer to the RTOS GPIO example projects. You should take the following steps (using K2H release for the example, but the steps are similar for K2L release):
    x0155517@mms:~$ cd ti/pdk_k2hk_4_0_3/packages/
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$ source pdksetupenv.sh
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$ ./pdkProjectCreate.sh K2H all little gpio dsp

    Then you should import the created project (located in ~/ti/pdk_k2hk_4_0_3/packages/MyExampleProjects) in CCS, build it & run it on the DSP (in this case). If you point arm as the cpu then you can run the project from arm.

    The last command ./pdkProjectCreate.sh K2H all little gpio dsp can be decoded as:
    pdkProjectCreate.sh [soc] [board] [endian] [module] [processor]

    Hope this helps.

    Best Regards,
    Yordan
  • maybe I didn't make myself clearly understood. I want know how to setup the chip (hardware) to work on big-endian mode when it is power up or power-on-reset.
    I know that, for DSP-core, setting the GPIO0 to "1" to make the chip work on little-endian, otherwise, "0" as big-endian. But the GPIO0 setting does NOT work for ARM-core. I've tried testing on TCIEVMK2LX (i.e. C6630). No matter which endian option of the project is set, after program loading, CCS always shows "LE" in the status bar, which means little-endian. (on Windows operation system) And the relationship between address and value of the variable showing via Memory Browser says that it is little-endian as well.

    So, I am looking for the way to set the ARM-core to work on big-endian mode.

    Thank you very much!
  • Hi Eric,

    It seems I've misled you, sorry for that. You need to setup the project for arm core, i.e.:
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$ ./pdkProjectCreate.sh K2H all big gpio arm

    However, when I executed the above command I got:
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$ ./pdkProjectCreate.sh K2L all big gpio arm
    =========================================================================
    Configuration:
    SOC : K2L
    BOARD : all
    ENDIAN : big
    MODULE : gpio
    PROCESSOR : arm
    PDK_SHORT_NAME : /home/x0155517/ti/pdk_k2hk_4_0_3/packages
    =========================================================================
    Checking Configuration...
    ERROR: The K2L soc's processor's do not support big endian
    Exiting...

    It seems the big endian support is NOT implemented for ARM core after all, regardless the statement in K2L documentation (www.ti.com/.../tci6630k2l.pdf):
    "5.3.4 Endianess
    The ARM CorePac can operate in either little endian or big endian mode. When the ARM CorePac is in little endian mode and the rest of the system is in big endian mode, the bridges in the ARM CorePac are responsible for performing the endian conversion."

    I am also looping the TCI66x team to elaborate further.

    Best Regards,
    Yordan