Hi,
I have an issue.
My SOC codec AIC3204 is configured at 192 Khz sampling / playback rate.
I want to demodulate 42 Khz carrier DSB-SC modulated signal. I Use FFT / IFFT strategy that is very efficient and sharp, because the spectrum of the original signal can be shifted to 0 (demodulation) with 1024 points FFT.
So the problem is if the carrier is 32768 Hz, because the spectrum cannot be shifted to 0 using an integer number of 1024 pts FFT bins.
This can be accomplished by changing the codec frequency to 187455 Khz in real time.
When i change the codec freq, the signal is distorced.
My questions are:
- What is the correct procedure to reconfigure the codec at runtime? I should reset it and remake all the the config also of ADC and DAC?
- How can I reset the DMA?
Thanks
Paolo