Question
STM32F4-Discovery's Microphone
Posted on November 04, 2012 at 20:08
Hi,
I want to do a very simple project using FreeRTOS alongside with STM32F4-Discovery. I want to create a task to read from a microphone, another one will filter the mic's data and a final task would output the filtered data to the headphone output.I decided to start by the input side and, for so, I took a look at the audio playback and record demo that came with the kit.But it is actually confusing me more than helping.I wanted to simply get the data from the mic and store it in a buffer. But it seems that I must use the SPI interruption. I wanted to make it simpler than that.Also, I tried copying waverecorder's functions to my project but I am having a really hard time with the pdm filter. The linker always complains that it can't find the functions defined in pdm_filter.h, even though I have added pdm_filter.h and libPDM_filter_IAR.a to my project.I have looked on the internet and on forums for help, but I couldn't get much of it. Also, the documentation is not clear enough on this aspects.Thanks in advance #stm32f4-discovery-microphone