If you have access to a logic analyzer or a storage scope you might track the signals to see if you can spot anything unusual at the lockup point like pulses too close together or a runt pulse. You could use a flag line generated in a DMA interrupt routine to trigger the capture. Also, you might be able to check the DMA status to look for clues. Be sure to check the anomalies list also for the 60. Signal integrity issues can also result in many problems. Use a very short ground on your scope and see if you are getting ringing or overshoot on any of the signals. At 04:13 AM 10/13/2004, sandeep kumar wrote: >Hi everyone, > i have implemented a Digtal PLL using SHARC ADSP 21060. i >am reading 1 bit data from serial port 1 and tracking it continously. >i have used chained DMA for the real time implemenation. >basically Costas loop is implemented. > > It's working very finely. but sometimes it looses >track,which i can later on see in the plot after halting the >processor.My problem is that i dont know how to debug the problem >encountered in real time. means i can not find out why the tracking >loop lost track of the signal. is it due to some data miss while >collection,or some filter parameters, or finite word lentgh effect or >something else > > My question is how can i debug such kind of problems. >my program works perfectly well in MATLAB.i can not run MATLAB >program in real time mode. so how can i detect this problem. > >please guide me. My project is stuck at this point > >Thanks in Advance >Regards >sandeep kumar >_____________________________________ >Note: If you do a simple "reply" with your email client, only the author >of this message will receive your answer. You need to do a "reply all" if >you want your answer to be distributed to the entire group. > >_____________________________________ >About this discussion group: > >To Join: Send an email to > >To Post: Send an email to > >To Leave: Send an email to > >Archives: http://groups.yahoo.com/group/adsp > >Other Groups: http://www.dsprelated.com/groups.php3 > >Yahoo! Groups Links > > Steve Holle Link Communications, Inc. 1035 Cerise Rd. Billings, MT 59101 |