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_DMAExample Problem



Hi there,

I'm trying to run the CSL_I2S_DMAExample provided with the latest CSL on an C5515 eZDSP, however whenever I run it I get the following:

CSL I2S DMA MODE TEST!

I2S Module Instance opened successfully

I2S Module Configured successfully

I2S Reset Successful

I2S Close Successful

I2S Read & Write Buffers doesn't Match!!!

CSL I2S DMA MODE TEST FAILED!!

I haven't made any changes to the code, and I have ensured that the correct chip version is defined in csl_general.h. Could someone please advise me as to why an our of the box test is not working?

Kind Regards

James

  • Hello James,

    Just want to quickly verify, you changed both the chip version and platform version in csl_general.h

    Regards.

  • Hey Steve,

    I think so - I've attached my csl_general.h if you wouldn't mind checking?

    Cheers

    James

    6646.csl_general.h.zip

  • I looked at the test in detail. The csl_i2s_DmaExample is running in loopback mode. So it should work on both platforms.

     So, I ran the CSL_2.50 version on my C5515 EzDSP tp confirm this.

    It works without defining the platform as EzDSP.

    CSL I2S DMA MODE TEST!

    I2S Module Instance opened successfully
    I2S Module Configured successfully
    I2S Reset Successful
    I2S Close Successful
    I2S Read & Write Buffers Match!!!

    CSL I2S DMA MODE TEST PASSED!

    Here, I changed the platform in csl_general.h.

    #if (!(defined(CHIP_VC5505) || defined(CHIP_VC5504)))

    //#define C5515_EVM

    #if (!(defined(C5515_EVM)))
    #define C5515_EZDSP
    #endif


    It works also. I added a print statement to confirm the platform definition.

    CSL I2S DMA MODE TEST!

    I2S Module Instance opened successfully
    I2S Module Configured successfully
    C5515_EZDSP!
    !I2S Reset Successful
    I2S Close Successful
    I2S Read & Write Buffers Match!!!

    CSL I2S DMA MODE TEST PASSED!

    Can you double check?

    Regards.

  • Hey Steve,

    I doubled checked my csl_general.h and tried again but still no success. I tried on a different computer also with the same result. The only thing I can think of that may be affecting it is that the mp3player demo program has been written to the flash of the board - how can I erase this and restore the board to it's original ROM? Or would this not make a difference?

    Cheers

    James

  • James,

    Attached is a binary file to clean up flash content. Try to program your flash with it.

    http://e2e.ti.com/cfs-file.ashx/__key/CommunityServer-Discussions-Components-Files/109/4784.cleaner.bin

    Regards.