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.

C5505 I2S with CSL library

Hello!

I'm using EZdsp C5505 USB stick board to debug my project.

I tried build my project : sound loopback (LINE in -> HEADPHONE) using I2S (DMA mode) with CSL Library. But I can't send/receive data  from dsp to codec AIC32.  

When I send test data (sine 1 Khz) I2s in master mode without DMA using CSL - from HEADPHONE hear noise, but when I send same test data (sine 1 Khz) I2s in slave mode without DMA using CSL - from HEADPHONE only silence though I2S must be slave mode and AIC32 master mode.

AIC32 Codec initialization in my project is true as I can write the test data using a direct recording in registers I2S. - hear 1khz tone.

Maybe mistake in CSL Library? or my errors?

What is right way to send/receive via I2S (mode DMA) for AIC32 codec using CSL library? I don't know why the codec does not play the data sent to it via I2S using CSL library. Could you please provide me with possible causes of such a behavior?

thx.

  • Hi,

    I will start working with the CSL tomorrow. Regarding the aic3204 initialization, did you check if you are setting up the chip in the same way as e.g. in the "AudioFilter"-example or in the examples from spectrum digital? Maybe you should try another mode, to ensure that the DMA configuration is not the problem.

    By the way, did you just change one of the samples that come with the CSL as it is suggested in the application notes? Or did you set up a whole new program? I would like to make a copy of one of the examples to work with, but I didn't find a good way without having to deal with all these include paths and dependencies so far...

    Regards,

    Raphael