AnsweredAssumed Answered

I2S mono audio capture

Question asked by sunny on Sep 10, 2012
Latest reply on Mar 21, 2013 by Clive One
I have an application where I have a digital mic/codec combination transmitting PCM 16-bit samples over I2S to an STM32F217 at 16kSps (Phillips I2S standard). I am trying to use DMA to capture this audio stream, however I only wish to capture one single channel on I2S e.g. when LRCLK is low only, while ignoring the sample when LRCLK is high. Right now I have the DMA capturing all samples, i.e. when LRCLK is low and when high, and that requires extra handling once the write buffer is filled to copy out all the samples from one channel.
Is there a way to configure the I2S DMA capture to only capture one sample per LRCLK cycle, i.e. mono capture instead of stereo capture?

Outcomes