Hello,I am trying to use STM32F1 to receive audio data from a digital microphone.But I am bad with I2S,I cannot receive correct data but I don't know why!Could you help me?
Thank you, I have solved my problem. Previously, I set the I2S sampling rate to 8KHz, and I wrote the printf function inside the interrupt callback function. Because my buffer was set too small, it lost half of the sampling points. Now, I have set up two buffers of size 5120 to implement double-buffered DMA, and this has resolved the issue.Do you have an oscilloscope and or a logic analyzer?