Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
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
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