Question
ADC sampling with timer?
I am using stm32f4 discovery board. I will record sound approximately at 5.56 kHZ. So i use 10 bit resolution 480 clock cycle PCLK2 at 21Mhz . When i press the button it will take sample for 10 seconds. Sampling frequency is okay. For 10 seconds record i couldn't create an algorithm how should i go further? How will i combine timer and adc sampling?