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.

C5535 stereo recording

Hi,

we doing some evaluations with C5535 eZdsp starter kit. I have downloded some examples like the c55_caf_02.00.02.04. Now I'm trying to use the demoboard as a stereo recording device. I enabled the ENABLE_STEREO_RECORD in the psp_i2s.h (c55x5_drivers\inc).

I build a .wav-file with two diffrent channels (left music, right speech). I use a PC-Soundcard and a Media Player to feed the eZdsp which is connected to a laptop. If I try to recorde the 16kHz audio stream (Tool: audacity) I only get the left channel.

I use the CCS5.3 to build the project. (There are also the following tools: bios 5.42.00.07, xdias 7.21.01.07, xdctool 3.24.05.48).

Where is my fault?

Thanks a lot

  • Hi Marcus,

    We do apologise for late response.

    This query needs to be handled by software development team and we have sent an email seperately to the respective team to move forward.

    Kindly wait for your response and we will update you once we get input from the development team.

    We appreciate your patience.

    Thanks & regards,
    Sivaraj K
  • Hi,

    I have still the same problem.
    In the meantime I try a fall back option and use the DSP as a "I2S tunnel". I use the aic3204 test project which comes with the CCSv4 for the ezdsp5535.
    It works fine until I stay on the first board. I feed the eZdsp STEREO IN from a PC-soundcard and on the STEREO OUT I use a headset.
    Now I open an other I2S port (port 1) to connect a seconde eZdsp. The connection between the boards works. I can hear the sound but again only the left channel on both sides.


    Here the I2S1 configuration:

    Master:
    hwConfig_1.dataType = I2S_STEREO_ENABLE;
    hwConfig_1.loopBackMode = I2S_LOOPBACK_DISABLE;
    hwConfig_1.fsPol = I2S_FSPOL_LOW;
    hwConfig_1.clkPol = I2S_RISING_EDGE;
    hwConfig_1.datadelay = I2S_DATADELAY_ONEBIT;
    hwConfig_1.datapack = I2S_DATAPACK_ENABLE;
    hwConfig_1.signext = I2S_SIGNEXT_DISABLE;
    hwConfig_1.wordLen = I2S_WORDLEN_32;
    hwConfig_1.i2sMode = I2S_MASTER;
    hwConfig_1.dataFormat = I2S_DATAFORMAT_LJUST;
    hwConfig_1.fsDiv = I2S_FSDIV8;
    hwConfig_1.clkDiv = I2S_CLKDIV8;
    hwConfig_1.FError = I2S_FSERROR_ENABLE;
    hwConfig_1.OuError = I2S_OUERROR_ENABLE;

    Slave:
    hwConfig_1.dataType = I2S_STEREO_ENABLE;
    hwConfig_1.loopBackMode = I2S_LOOPBACK_DISABLE;
    hwConfig_1.fsPol = I2S_FSPOL_LOW;
    hwConfig_1.clkPol = I2S_RISING_EDGE;
    hwConfig_1.datadelay = I2S_DATADELAY_ONEBIT;
    hwConfig_1.datapack = I2S_DATAPACK_ENABLE;
    hwConfig_1.signext = I2S_SIGNEXT_DISABLE;
    hwConfig_1.wordLen = I2S_WORDLEN_32;
    hwConfig_1.i2sMode = I2S_SLAVE;
    hwConfig_1.dataFormat = I2S_DATAFORMAT_LJUST;
    hwConfig_1.FError = I2S_FSERROR_ENABLE;
    hwConfig_1.OuError = I2S_OUERROR_ENABLE;

    As well tried some different setting for the AIC3204 (I2S mode, left justified, master / slave) but nothing works.

    Has anyone a solution to transfer real stereo sound over a I2S connection.


    Thanks and best regards,
    Marcus