Associate II
August 22, 2015
Question
STM32F7 Discovery: need help in getting SAI/I2S to work to receive microphone data
- August 22, 2015
- 3 replies
- 933 views
Posted on August 23, 2015 at 01:24
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
http://pasteboard.co/4uu899x.png
As you can see, it fluctuates between either really high or really low values.
Please see the attached file for code.
#stm32f7 #sai-audio-codec