AnsweredAssumed Answered

STM32F7 Discovery: need help in getting SAI/I2S to work to receive microphone data

Question asked by 123abc.abc123 on Aug 23, 2015
Latest reply on Sep 23, 2015 by delaney.sam
Hello Everyone.

As the title suggest, I am trying to receive data from the two digital microphones that are on the STM32F7 discovery board. Since the microphones are connected to the audio codec, I need to interface with the code to receive the data. I am using DMA to automatically transfer the data from SAI to memory.

I have looked at the examples provided and have managed to get it to work partially.The problem is with the data received.
Here is a pic of the data I am getting when there is little to no sound
Capture1
As you can see, it fluctuates between either really high or really low values.

Please see the attached file for code.

Attachments

Outcomes