2015-08-22 4:24 PM
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-codec2015-08-23 4:24 AM
it's two's complement data, so all are really low values.
change your data watch window to signed.2015-08-23 7:26 AM
Thank you so much.
2015-09-23 2:03 PM
Have you managed to retrieve data from both microphones at once?
The codec for the audio processor looks like it only supports one microphone or line in.We’re moving the ST Community to a new platform to give you a better and more reliable community experience.