cancel
Showing results for 
Search instead for 
Did you mean: 

ADC select sampling rate

CReze.1
Associate II

Hey guys, I am using a STM32 nucleo f446re board and I have a waveshare sound sensor v2 that I want to use. So basically just want to record audio and store it on an SD card. I want to sample audio at 44100 Hz using 8 bits, should I use a timer to generate an interrupt every 1/44100 seconds to do the conversion or is there a better way to implement an exact sample rate. Thank you

1 REPLY 1
KnarfB
Principal III

The ADC can betriggered by a timer without using an interrupt or zthe ARM core at all. Check "Trigger ADC Conversion with a Timer" and similar discussions in the forum.