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.

CSL_I2S_AudioCodecDMA example with TMS320C5515 eZdsp

Other Parts Discussed in Thread: TMS320C5515, TMS320C5517, TMS320C5514, TMS320C5504, TMS320C5505, TMS320C5535

Hi,

I'm new to C5515 and CCS

I'm using TMS320C5515 eZdsp board and CCS 6. I'm trying to run demo CSL_I2S_AudioCodecDMA from c55_csl_3.0.6 library, but without success.

The code is running, but I don't hear any sound routed from my PC to Stereo Out. 

Is there any thing i can do? In Readme.txt i found only indications about C5515 evm...

Thanks In Advance

Paolo

  • Paolo,

    Please ensure that you have the correct platform specified in csl_general.h for C5515.

    Also note that there is a new version of the C55x CSL v3.07 from http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/latest/index_FDS.html

    Lali

  • Yes, in cal_general.h i have commented the line:
    //#define CHIP_C5517
    but nothing happens...
    here is the code of csl_general.h:

    ...
    ...

    #ifndef _CSL_GENERAL_H_
    #define _CSL_GENERAL_H_

    #ifdef __cplusplus
    extern "C" {
    #endif

    /*
    ******************************************************
    * CAUTION: DEFINE EITHER THE MACROS IN PART1 OR PART2.
    * DO NOT DEFINE MACROS IN BOTH PARTS.
    ******************************************************
    */

    /** ***************************************************************************
    * --------------------------------------------------
    * PART1: CHIP VERSION MACRO DEFINITION FOR PG2.1 CSL
    * --------------------------------------------------
    *
    * Below macros are used to enable the source code specific to chip version
    * TMS320C5517.
    *
    * 'CHIP_C5517' indicates TMS320C5517 DSP.
    *
    * Defining the macro below will enable the code for the DSP TMS320C5517.
    */

    /* TMS320C5517 */
    //#define CHIP_C5517


    /******************************* END OF PART1 *******************************/


    /** ***************************************************************************
    * --------------------------------------------------
    * PART2: CHIP VERSION MACRO DEFINITION FOR PG2.0 CSL
    * --------------------------------------------------
    *
    * Below macros are used to enable the source code specific to chip versions
    * TMS320C5505, TMS320C5515, TMS320C5504, and TMS320C5514.
    * Design revision(DesignRev) of the DIE ID regsiter(0x1C43 & 0x1C44) will have
    * the value '5' for this chip set.
    *
    * 'CHIP_C5505_C5515' indicates TMS320C5505 and TMS320C5515.
    * 'CHIP_C5504_C5514' indicates TMS320C5504 and TMS320C5514.
    *
    * DSPs TMS320C5505 and TMS320C5515 are similar but certain LDOs not bonded out
    * for TMS320C5505 DSP.
    * DSPs TMS320C5504 and TMS320C5514 are similar but certain LDOs not bonded out
    * for TMS320C5504 DSP.
    *
    * DSPs TMS320C55x5 and TMS320C55x4 are having the same peripherals but
    * they differ in the internal memory available. 'x' stands for 0 or 1.
    *
    * Defining any of the below macros will enable the code for all the DSPs
    * TMS320C5504, TMS320C5505, TMS320C5514 and TMS320C5515.
    * Current CSL software does not have the code that is specific to TMS320C5504
    * and TMS320C5514 DSPs.
    */

    #ifndef CHIP_C5517

    /* TMS320C5505 and TMS320C5515 */
    #define CHIP_C5505_C5515

    /** TMS320C5504 and TMS320C5514 */
    //#define CHIP_C5504_C5514

    #if ((!defined(CHIP_C5505_C5515))&&(!defined(CHIP_C5504_C5514)))

    /* TMS320C5535 or TMS320C5545 */
    #define CHIP_C5535

    #if (!defined(CHIP_C5535))
    #define CHIP_C5545
    #endif
    #endif

    #endif

    /******************************* END OF PART2 *******************************/


    /** ***************************************************************************
    * -----------------------------------------------------------
    * PART3: EVM VERSION MACRO DEFINITION FOR PG2.0 and PG2.1 CSL
    * -----------------------------------------------------------
    *
    * Below macros are used to enable the source code specific to EVM versions
    */

    #if (defined(CHIP_C5517))
    /** Macro to define platform as C5517 */
    #define C5517_EVM

    #else // (!defined(CHIP_C5517))
    #if (defined(CHIP_C5505_C5515)||defined(CHIP_C5504_C5514))
    /** Macro to define platform as C5515 */
    //#define C5515_EVM

    #if (!(defined(C5515_EVM)))
    /** Macro to define platform as C5515 eZdsp */
    #define C5515_EZDSP

    #endif // !(defined(C5515_EVM))
    #else // (!(defined(CHIP_C5517)||defined(CHIP_C5505_C5515)||(defined(CHIP_C5504_C5514))

    #if (defined(CHIP_C5535))
    /** Macro to define platform as C5535 eZdsp */
    #define C5535_EZDSP
    #endif

    #if (!defined(C5535_EZDSP))
    /** Macro to define platform as C5545 BoosterPack */
    #define C5545_BSTPCK
    #endif // !(defined(C5535_EZDSP))
    #endif // ((defined(CHIP_C5505_C5515))||(defined(CHIP_C5504_C5514)))

    #endif // (defined(CHIP_C5517))
    /******************************* END OF PART3 *******************************/

    #ifdef __cplusplus
    }
    #endif

    #endif // _CSL_GENERAL_H_
  • Paolo,

    Your csl_general.h seems correct.
    Are you able to run the board demo from here support.spectrumdigital.com/.../ ?
    There is an I2S demo that also plays a 1khz sound.

    Lali
  • Yes, but only in CCS v4.

    Thanks,
    Paolo