AnsweredAssumed Answered

Sound Activated Program on STM32L053R8 using X-NUCLEO-CCA02M1 Expansion Board

Question asked by pged on Aug 24, 2015

I'm trying to write a program for the STM32L053R8 Nucleo board that can be activated using a clap or a similar loud noise. I am using the X-NUCLEO-CCA02M1 MEMS Microphone expansion board in order to pick up the sound but cannot figure out how to simply store the data from the microphone. I initialize the microphone using:
BSP_AUDIO_IN_Record(&audio_buff, 0);
however, once I start recording, it seems to lock up my entire program and I cannot seem to access the data on the audio buffer.

Does anyone have any experience using this expansion board and could point me in the right direction? Is it even possible to do what I'm trying to do with this board?