DSPRelated.com
Forums

EZ-LAB, 21065L, CODEC1819 and (random) delays

Started by albert cesari August 19, 2002
Hi group!

I'm asking you for help this time.

I'm working with the EZ-LAB, programming ONLY in C, and I'm experiencing
some troubles (I think) with the codec.

I'm doing feedback with the DSP: I put a signal (stored in memory) from
the DSP to the CODEC (Tx) and this signal comes again to the CODEC (Rx)
to be delivred to the DSP....it's a sort of inverse "talk thru"...

Put in few words, my problem is that I see a delay between the RIGHT and
LEFT channels. Even worst, this delay sems to be random, beeing 1 or 2
samples, depending on the signal, the moment, and the sample rate of the
codec...

The other main headache I have is the absolute value of the delay, i.e.
the amount of time for a sample passed from the DSP to the CODEC (to be
transmitted) untill the SAME sample goes again into the DSP after the
feedback (sample received). I'm measuring values of 25 or 26 samples,
random again!!!!!

I want the delays to be PREDICTIVE, not random, and avoid the delay
between the channels...
(for the initialization of the CODEC I'm taking the "talk thru" files,
and you can think of my program as a talk_thru.c without de "idle"s
instructions..putting the "idle"s is even worster!!!)

Anyone could help me?
Lots of thanks for the advance!!!!!! Albert Cesari