Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Getting started - horacio_devega - Jul 6 10:37:49 2006



Hi everybody!

We have bought a 21161N Ez-kit lite to control some servo motors and
as there is nobody in our company with experience in DSP boards the
task has fallen to the last in arrive (actually, that=E2=80=99s me).

After some initial problems with software configuration it=E2=80=99s finall=
y
running properly and we have started to code the first basic examples.

I started by only C and only assembler programs and continued by some
mixed codes (C & assembler) with basic interrupts (timer, IRQs...)
just to get familiarized.=20

The next step I=E2=80=99d like to take is making an easy example of externa=
l
ports handling (transmit or read something from an external port or to
send a tone to the stereo out) but I=E2=80=99m a bit blocked.

Could you please send me a code or recommend me an easy manual where
to find clear examples of codes like this?=20

Thanks a lot,
Hori

=20



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Getting started - Mike Rosing - Jul 6 15:40:08 2006

On Thu, 6 Jul 2006, horacio_devega wrote:

> Hi everybody!
>
> We have bought a 21161N Ez-kit lite to control some servo motors and
> as there is nobody in our company with experience in DSP boards the
> task has fallen to the last in arrive (actually, that=E2=80=99s me).
>
> After some initial problems with software configuration it=E2=80=99s fina=
lly
> running properly and we have started to code the first basic examples.
>
> I started by only C and only assembler programs and continued by some
> mixed codes (C & assembler) with basic interrupts (timer, IRQs...)
> just to get familiarized.
>
> The next step I=E2=80=99d like to take is making an easy example of exter=
nal
> ports handling (transmit or read something from an external port or to
> send a tone to the stereo out) but I=E2=80=99m a bit blocked.
>
> Could you please send me a code or recommend me an easy manual where
> to find clear examples of codes like this?
>

A good place to start is the "talk through" program.  This reads a codec
and writes to it as well.  I'm not sure if that board has it on a serial
port or the external bus, but it does use DMA.  You can modify it slightly
to see how things change - a good one is to create a wave table and
replace sending it out instead of the codec input.  That will teach you
something about how fast things run and what frequencies you can work
with, or how fast you need to change the external ports for your
application compared to the clock speed of the processor.  The talk
through program should be in the examples section of your Ez-kit.

Patience, persistence, truth,
Dr. mike

=20



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )