AnsweredAssumed Answered

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

Question asked by ER on Oct 8, 2015
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. 

Outcomes