Question
STM32F746G Sampling Error
I use the BSP functions to record audio. The sampling frequency is set to 8000 Hz and the buffer size to save the recorded data into is set at 8000 elements long.
It would make sense if the time to fill up the buffer is 1s. However it takes exactly 500ms.
I cannot figure out why this is the case. I use one channel for recording and the DMA is set to take in half-words.
Any ideas as to why this is the case?