embed-rs / stm32f7-discovery

Apache License 2.0
30 stars 23 forks source link

Audio interrupts not working #74

Open phil-opp opened 5 years ago

phil-opp commented 5 years ago

I tried to enable audio interrupts, so that we get an interrupt whenever there is new audio data from the microphone. I did everything in the same as it's done in the official STM32Cube_FW_F7_V1.2.0 code:

But I still don't receive any audio interrupts. The H-15 pin is always 1, even directly after reading out data, when the register bit that the pin mirrors is 0. So there is a bug somewhere.

For now I just read the audio data on idle as a workaround, but it would be nice if we could get the actual audio interrupts working.