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.

TMS320C6424: chip support libraries and EDMA3 libraries

Part Number: TMS320C6424

I am learning about TI-RTOS and the install instructions for the Chip Support Libraries fail:

Dependencies:

Code Composer Studio 6.2

xdctools 3.31.3.43

SYS/BIOS 3.31.3.43

EDMA3 1.5.0.1

DM648 BIOPSP drivers version 1.10.03 

the build failed when I added 

-l C:\pspdrivers\pspdrivers_1_10_03\packages -l C:\ti\edma3_lld_1_05_00\packages 

to the project properties.

Where can I find the Chip Support Libraries and Registers and EDMA3 drivers so I can complete Lab 2 from the TI training TI-RTOS workshop series?  I'm referring to include file 

#include <ti/csl/cslr_gpio.h>

Thank you,

  • Laura,

    If the TI-RTOS workshop was not adapted specifically to the C6424 or its family, the exact file names and function calls may vary for the C6424 from what is shown in the TI-RTOS workshop.

    The general CSL page is at Chip support library, which has a link to the webpage where you can download the DM648 PSP, but it looks like you have already done that. Were the EDMA3 LLD and CSL files not included in that PSP installation?

    What board are you using? A TI EVM or your own custom board?

    Regards,

    RandyP

  • The board is my own custom board but my question is about the DM648_BIOSPSP_RELEASE_01_10_03's Installation Guide found in pspdrivers_1_10_03\docs\dm6437\PSP_User_Guide.pdf

    What install instructions should I use instead?  I'm working with Code Composer Studio version 6.2 instead of 3.3.

  • Laura,

    I think you are using the right PSP, assuming it is the latest.

    The TI-RTOS training material may be referring to files that are not part of the DM648 PSP. That is my suspicion for this problem. You may need to find a different header file or a different way of handling the GPIOs. The older DM648 PSP might not use the csl/cslr method; cslr is for register-level operations, and those may be contained in the standard CSL instead and might not include the same macro definitions.

    Regards,
    RandyP
  • Oh ok,

    Where do I "find a different header file or a different way of handling the GPIOs" ? Where do I find the "standard CSL" for the C6424?

    Thank you,

  • Laura,

    As I said above, I think you are using the right PSP even though it says DM648 on it. If you can go to the download site to confirm you have the latest release of it, then you will know you are using the right files.

    Since the TI-RTOS training material was not written to directly support the C6424 (and related devices, like DM648) there is no direct guidance for you to tell you which files to use.

    You will benefit starting with the example files that are part of your PSP installation. You will find the directory structure detailed in the documentation, which will help a lot. After learning how the peripherals can work and can build those examples, then you will be better able to migrate to the TI-RTOS examples, which will require some of that experience with the examples.

    Have you tried searching your PSP installation for a file called cslr_gpio.h? Perhaps the PSP uses a different folder architecture. But I still worry that the same macros might not be there even if you find a file by the same name.

    Sorry that I cannot tell you more precisely what to do and where to look.

    Regards,
    RandyP
  • yes, cslr_gpio.h exists in DM648_BIOSPSP_RELEASE_01_10_03\pspdrivers_1_10_03\pspdrivers_1_10_03\packages\ti\sdo\pspdrivers\soc\c6424\dsp

    where DM648_BIOSPSP_RELEASE_01_10_03 is a .zip file

    and pspdrivers_1_10_03 is a .tar file

    Thank you,

  • Laura,

    Does setting a search path to find that and other *.h files solve your problem and allow you to build the project now?

    Regards,
    RandyP