DSPRelated.com
Forums

Fwd: RE: SPORT input HANG

Started by Al Clark September 23, 2003

>Delivered-To:
>X-eGroups-Return:
>\
om
>X-eGroups-Return:
>X-Sender:
>X-Apparently-To:
>To:
>X-Mailer: Internet Mail Service (5.5.2656.59)
>From: James Dabbs <>
>X-Yahoo-Profile: jdabbs003
>X-eGroups-Approved-By: drmike8888 <> via web; 23 Sep
>2003 19:27:30 -0000
>Mailing-List: list ; contact
>Delivered-To: mailing list
>List-Unsubscribe: <mailto:>
>Date: Tue, 23 Sep 2003 14:49:12 -0400
>Subject: RE: [adsp] SPORT input HANG
>X-Spam-Score: -1.0 (-)
>
>ADSP SPORT clock pins are sometimes extremely susceptable to any harmonics
>present in the active edge. I don't know about the 21161, but this is
>definitely the case with the 2184 -- it can just lock up the part. If you
>haven't already, you might try splicing an rc into the clock line.

I agree that it sounds like noise.

Since you mentioned two 21161s, I'm assuming you are driving from the I2S
device. The 21161 has series Rs in most of its outputs but the I2s device
probably does not.

Place a small series R (33 ohm) in series with the drivers of your I2S
device, located near the I2S device. You probably don't need the C. If this
is really impossible, try a small C (10 - 22pF) near the 21161 inputs to
ground. This is often easier since you don't have to cut a trace and can
often scrape the ground plane for the ground connection. Al Clark
Danville Signal Processing, Inc.
--------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com
>-----Original Message-----
>From: Jens Michaelsen [mailto:]
>Sent: Tuesday, September 23, 2003 12:28 PM
>To:
>Subject: [adsp] SPORT input HANG >Hello group,
>
>have this one remaining nasty behavior.
>The DSP hangs waiting for IIS data on PORT0.
>The loop works fine till it hangs waiting
>for the next sample. The done counter may
>reach several or only some thousands.
>
>Have 2 ADSP21161 listening to the same
>input stream. For the long run both fail,
>one earlier than the other.
>
>Everytime the DSP captures proper data I
>get proper results. Memory test routines
>did run for several hours with succes.
>
> >>>>>>>>>>>My init code snippet<<<<<<<<<
>#define GetIOP(addr) (* (int *) addr)
>// SPORTx rx control
>// 01000000 SPEN_B Enable Port B
>// 00000800 OPMODE i2s
>// 000001F0 SLEN 32Bit-1
>SetIOP(SPCTL0,0x010009F0); // enable PORT
>
> >>>>>>>>>>>My first code snippet<<<<<<<<<
>while(1)
>{
> left = GetIOP(RX0B); // >>>hang here<<<<<<
> right = GetIOP(RX0B);
> done++;
>}
>
> >>>>>>>>>>>My second code snippet<<<<<<<<<
>while(2)
>{
> while(!(GetIOP(SPCTL0)&0x10000000));//>>or hang here<<
> left = GetIOP(RX0B);
> right = GetIOP(RX0B);
> done++;
>}
>
>Any clue??
>ThanX
>Jens Michaelsen >
>_____________________________________
>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 >">http://docs.yahoo.com/info/terms/ >
>_____________________________________
>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 >">http://docs.yahoo.com/info/terms/