AnsweredAssumed Answered

how to implement signal Delay on ADSP-21375

Question asked by PeterYang on Dec 1, 2010
Latest reply on Dec 1, 2010 by jeyanthi.jegadeesan

hi,

 

I want to implement signal delay,but i meet some difficult.


  could  you give me some advice or example code ?

 

  
my code:

   delay[240] //define circular buffer  fs=48000
   b5=delay;
   L5=@delay;
   M6=1;
   .......
/////////////////////////////////////////
  audioISR:   
          r0 = dm(RXSP1A);   ///get adc sample
          dm(i5,m6)=r0;

  r1=dm(delay+120);        //delay
         dm(TXSP2B) =r1;    //send to dac
/////////////////////////////////////////// 
Question:
          r1's value is not correct.

Outcomes