Question
I2S mono audio capture
Posted on September 10, 2012 at 22:37
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? #stm32-audio-dma #metoo-maybe