This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: DMA PING PONG BUFFER RELATED QUESTIONS

Tool/software: TI C/C++ Compiler

Hi,

I'm implementing a dsbsc demodulator using costas loop on my eZdsp c5505 SoC. (Codec AIC3204 configured correctly at 192 KHz).

The algo works well for frequencies that are multiple of 500 Hz, but the output presents a glitch for other frequencies in correspondence of the buffer-switch transitory.

I'm in trouble in understanding the cause of this problem. I think it might be the fact that ping pong buffering is not enough efficient for this type of computation.

Is there a more efficient algorithm for acquiring samples from the codec? 

I Know there exist triple-buffering algorithm, but it is not simple and i'm asking for some expert's opinion if it could be a good time investment to try implementing it to solve my problem.

Thanks a lot

Paolo