cancel
Showing results for 
Search instead for 
Did you mean: 

Hi Using a STM32F767ZI for sampling audio with multiple microphones in order to find the time difference on arrival.

AitchJee
Associate II

In this case i am wondering if the STM32F767ZI ADC is sufficient for sampling audio with the frequency range of 20-40kHz?

5 REPLIES 5
berendi
Principal

It depends on the required accuracy, i.e. the time difference that you would like to be able to detect, which might require much higher sampling rate than the audio signal frequency.

The maximal ADC sampling rate can be found in the datasheet.

AitchJee
Associate II

Thank you for a quick answer!

If you want the samples to occur at same instant you'll need to use multiple ADC, either Dual or Triple simultaneous mode.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
AitchJee
Associate II

I am assuming that using three ADCs simultaneously is possible with STM32F767Zi, since there is 3x12 bit ADC on the board. Is that a correct assumption ? I am completely new to microcontrollers, especially STM32, so any advice is taken with gratitude.

Regards AitchJee

Dvorak.Peter
Senior II

At 40 kHz your biggest error source is going to be the microphone, filter or amplifier phase shift.

The 2.4 MPS ADCs are more predictable and can be calibrated out.