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 :
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->bufSize = BUFSIZE;
ptr += BUFSIZE / sizeof(uint32_t);
i++;
}
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.