cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 discovery microphone example not working: I2S interrupt service routine not executing

eigenroot
Associate II
Posted on October 08, 2015 at 04:18

I see someone had a similar problem on the forum before but it hasn't been addressed yet. I am trying to get audio data from the on-board microphone on STM32F4 discovery board, and do some post-processing. As the first step, I just want to see whether I can get the data. So I write code and paste it in the following link: 

http://pastebin.com/Yg2eYBN7

The code doesn't do anything really useful. But if it runs correctly the I2S or SPI interrupt service routine should be executed and I should see the audio data in InternalBuffer array. However, after setting a breakpoint in I2S ISR, I never hit this breakpoint in debugging. I will really appreciate if anyone can point out what I did wrong. 

#stm32f4-discovery-microphone
0 REPLIES 0