DSPRelated.com
Forums

Host interface on ADSP-21065L

Started by tube...@interia.pl December 20, 2006
Hello

i'm new one on this group :]

I'm projecting simle dsp system for audio aplication i want to use
adsp 21065L audio codec ad1819b and eprom for booting , but i also want to use (its very important to me ) Host interface so i can run and test sipmle programs with this module . I want connect a Host interface thru level shifters buffers with pc parell port i think it will be very flexible.
I 've found on analog.com EE209 engeeniering note about using host interface for booting it's says that host interface is asynchronus port so i'can load the data with small speed interface like centronics (LPT).

has anybody doing something like that ?
is it possible ?
Lucas K.
Hi Lucas,

I built a LPT to IDMA port adaptor for the ADSP-2181. I think the 21065 host
port is fairly similar to the IDMA. The problem is that the LPT port is only
8 bits wide but the DSP host port is 16 bits wide. Analog Devices have an
app note that shows how to do the conversion using an 8255 PIO chip. I found
their circuit was very slow and unreliable (though it might have been
inefficient code in the PC driver I wrote for it to blame...) so I scrapped
it and made a RS232 to IDMA port adaptor using a PIC microcontroller.

This worked a lot better, and was plenty fast enough for my application, if
I operated the RS-232 side at 115200bps. Once I had the adaptor working, I
wrote software to let me upload code from the EZ-Kit assembler into the DSP,
run it, download memory dumps for debugging, and burn code into the flash
ROM that I added to the DSP for standalone operation.

Unfortunately I can't publish the details because it was a commercial
project.

Steve Conner
http://www.optosci.com
http://www.scopeboy.com
Hello
Thx for ansewing my question.

As I worte i'm newbie in DSP and main problem for me is that i don't have to much money for experiments :) . I've readed something about 'anomalies'
ex. booting form eprom may be a trouble (ADSP 21065L can't work with slow Proms ) and this is the main reason of this post (what if i don't know something about HOST interface )

I can build a simple logic ciruit to expand a LPT to "30 bit data " or something so I can acces all linies needed to use HOST interface 8 bit data 16 adress linies and some control linies. I'll draw schematic in protel99se (i have 30 day trial version so i must do it quickly :P )
(if this will work i can build something more complicated ex. USB or rs232 interface with atmel uP like atmel ARM or Amtega8L or 89s52 etc. )

main objective is :
1.do it very flexible (booting from Eprom and Host interface)
2.do it as siple as it possible
3.this must be a 'low cost' application

i'll look for IDMA datasheet , and AD 8255 app note as You wrote

i'll post the schematic on website when i finish it.

Lucas Kopka
(sorry for my english ,is not good but i'm working on it.)
Hi Lucas,
>
>I built a LPT to IDMA port adaptor for the ADSP-2181. I think the 21065 host
>port is fairly similar to the IDMA. The problem is that the LPT port is only
>8 bits wide but the DSP host port is 16 bits wide. Analog Devices have an
>app note that shows how to do the conversion using an 8255 PIO chip. I found
>their circuit was very slow and unreliable (though it might have been
>inefficient code in the PC driver I wrote for it to blame...) so I scrapped
>it and made a RS232 to IDMA port adaptor using a PIC microcontroller.
>
>This worked a lot better, and was plenty fast enough for my application, if
>I operated the RS-232 side at 115200bps. Once I had the adaptor working, I
>wrote software to let me upload code from the EZ-Kit assembler into the DSP,
>run it, download memory dumps for debugging, and burn code into the flash
>ROM that I added to the DSP for standalone operation.
>
>Unfortunately I can't publish the details because it was a commercial
>project.
>
>Steve Conner
>http://www.optosci.com
>http://www.scopeboy.com
Hi Lucas,

Is this a hobby project? If so, great! If you are on a tight budget, the
first thing to do is to try and find a free assembler for the SHARC. You'll
not be wanting to pay $8000 or whatever it is for VisualDSP nowadays, and
the free version has a time limit.

This seems to be the most promising source of free tools, but it's for
Linux:

http://www.kvaleberg.com/g21.html

BTW, I notice you mentioned Protel 99 SE. I used to use the full version of
this until I moved to a new job and had to change to Eagle. There is a free
student version of Eagle that lasts forever, but has a limit to the size of
circuit you can draw. You might want to try that instead.

Steve Conner