Best way to sample ADC at 48kHz for buffer manipulations (FFT, etc)?
I'm trying to make a guitar pedal using the ADC on my F767ZI. I want to be able to perform an FFT and other functions on a buffer of data sampled at 48kHz.
I wanted to use the ADC DMAs and use the equation Tconv = 12.5cycles + SampleTime, but I have not been able to generate an exact PCLK rate in CubeMX to get the ADC sample rate at 48kHz precisely.
Am I better of using a 48kHz timer interrupt to read a sample from the DMA(?) and using some sort of global FIFO buffer? I worry that that might be overkill but at least I would know the sample rate is accurate.
