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.

CCS: I2S DMA CC3220MODASF

Tool/software: Code Composer Studio

Hi,

I use the i2secho example of SDK  cc32xx_sdk_2_10_00_04 and i want to just read continuously using DMA the audio signal from the I2S Microphone SPH0645LM4H.

In this example, the rxEchoThread thread read continuously data :

    while (1) {
        if (i == NUMBUFS) {
            ptr = rawSoundData;
            i = 0;
        }
        /*
         *  Note:  I2S_readReclaim() returns the number of bytes read.
         *  We will not check the return value for this simple example.
         */
        I2S_readReclaim(i2sHandle,&pReadDesc);
        pReadDesc->bufPtr = ptr;
        pReadDesc->bufSize = BUFSIZE;
        I2S_readIssue(i2sHandle, pReadDesc);
        ptr += BUFSIZE / sizeof(uint32_t);
        i++;
    }
How can i get the data read using DMA control the I2S communication between the SPH0645LM4H and CC3220MODASF-LUNCHXL ?
 
NB :

This 3 pins are use to establish I2S connection between the I2S audio Microphone SPH0645LM4H and CC3220MODASF:

DOUT connected to   pin64 SD0.

LRLC  connected to   pin63 WS.

BCLK  connected to   pin53 SCK.

Thank you

Best regards.