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.

TMS320C6747: PING PONG buffer delay

Part Number: TMS320C6747


Sir/madam,

I am using Codec AIC3106 and ADC6140 interfaced DSP TMS320C6747 via McAsp1 and McAsp0 ports.

Codec  or ADC samples are read/written using EDMA peripheral. EDMA will generate interrupt after collecting/sending one frame of data i.e. 32 samples @16k Sampling rate i.e. frame duration is 2 msec.

I am using PING PONG buffer concept, hence I expect total absolute delay of 4 msec between audio input to audio output. 

0th instant--> PING buffer is filled

2msec-->PING buffer processed and PONG buffer filled

4msec-->PING buffer filled and PONG buffer processed.

But, when I measured, I am getting absolute delay of 6.5 msec. This additional 2.5 msec delay is not understood. Please explain?

Measurement method.

Input: AM modulation with 50 Hz modulating input and 1 kHz carrier input and 90% modulation depth.

Difference between input peak to output peak is measured.

Snapshot of measurement is attached