Reply by Sergio Garcia Castillo May 18, 20062006-05-18
Could you please send the code you are using... it will be easier to check
the problem,

Sergio
------------
>From: a...@wipro.com
>Reply-To: a...@wipro.com
>To: a...
>Subject: [adsp] Test for loop back in 21262
>Date: Thu, 18 May 2006 04:57:45 -0400
>
>hello all,
>
>can any one tell me how to do loop back programing and how to set hardware
>for this in ADSP 21262.
>i tried to configure SPORT0 for tx. and SPORT 1 to rx. but i am geting
>error saying: "core access to SPORT/LINK port is hung at PC:0x080286"
>
>Please tell me solution for this.
>
>Thanks
>Abhi
Reply by Mike Rosing May 18, 20062006-05-18
On Thu, 18 May 2006 a...@wipro.com wrote:

> can any one tell me how to do loop back programing and how to set hardware for this in ADSP 21262.
> i tried to configure SPORT0 for tx. and SPORT 1 to rx. but i am geting
>error saying: "core access to SPORT/LINK port is hung at PC:0x080286"

Sounds like an attempt to read or write is locking up the processor.
This will happen if you try to read an empty input register or write to a
full transmit register. Disassemble location 80286 (strange, reminds me
of a very old processor...) and see which it is. Most likely you have to
check a status register first, then do the operation only if data is
available for a read.

You probably want to put in a time out as well - if you don't get any data
after x milliseconds, figure there's no more coming.

Patience, persistence, truth,
Dr. mike
Reply by abhi...@wipro.com May 18, 20062006-05-18
hello all,

can any one tell me how to do loop back programing and how to set hardware for this in ADSP 21262.
i tried to configure SPORT0 for tx. and SPORT 1 to rx. but i am geting error saying: "core access to SPORT/LINK port is hung at PC:0x080286"

Please tell me solution for this.

Thanks
Abhi