2020-01-05 10:09 AM
In this case i am wondering if the STM32F767ZI ADC is sufficient for sampling audio with the frequency range of 20-40kHz?
2020-01-05 10:53 AM
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.
2020-01-05 01:01 PM
Thank you for a quick answer!
2020-01-05 01:01 PM
If you want the samples to occur at same instant you'll need to use multiple ADC, either Dual or Triple simultaneous mode.
2020-01-05 01:09 PM
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
2020-01-05 03:12 PM
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.