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

Discussion Groups | Analog Devices DSPs | complex FFT for the 21992?

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

  

Post a new Thread

complex FFT for the 21992? - Jaime Chait - Aug 18 22:02:00 2004



Has any body tried Cfft2_2191.ASM found in ADSP-219x Complex Rad2 FFT.zip at the AD website

http://www.analog.com/processors/processors/ADSP/technicalLibrary/codeExamples/219x_si ngle_core.html ?

I don’t get correct results, I’m using the EVA board 21992.

Any other ones out there?. I rather use an assembly  one

Thanks in advance.






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

Re: complex FFT for the 21992? - duhlynn - Aug 19 18:56:00 2004

What kind of problems are you running into? ie What were you
expecting versus what you got?

The c/c++ library functions had some issues in past
issues. Make sure to get the latest updates from ADI.
http://www.analog.com/processors/resources/crosscore/toolsUpgrades.html

--- In , "Jaime Chait" <jchait@c...> wrote:
> Has any body tried Cfft2_2191.ASM found in ADSP-219x Complex Rad2
FFT.zip at the AD website http://www.analog.com/processors/processors/ADSP/technicalLibrary/codeExamples/2\
19x_single_core.html
?
>
> I don't get correct results, I'm using the EVA board 21992.
>
> Any other ones out there?. I rather use an assembly one
>
> Thanks in advance.




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

Re: Re: complex FFT for the 21992? - Jaime Chait - Aug 19 22:26:00 2004

I finally got it working.

First I had to change the order of the Dual Memory Read (in about 4 places)
to get rid of the assembly errors. I still get about 10 warnings, regarding
with multi functions.

The main issue is gain. I need to keep my input signal to less than 7 bits.
(I was using a pure tone for these testing so all the energy would be on one
spectra line).

The FFT size is 1024 and I was using the twiddle tables provided in the link
below. If the test signal is over 7 bits, I get multiple harmonics,
non-linearity, etc.. (just what you would except)

A while ago I used one for the AD2181 that had auto-scaling, I wish they
would do the same for this one.
Thanks,
----- Original Message -----
From: "duhlynn" <>
To: <>
Sent: Thursday, August 19, 2004 11:56 AM
Subject: [adsp] Re: complex FFT for the 21992? >
> What kind of problems are you running into? ie What were you
> expecting versus what you got?
>
> The c/c++ library functions had some issues in past
> issues. Make sure to get the latest updates from ADI.
> http://www.analog.com/processors/resources/crosscore/toolsUpgrades.html
>
> --- In , "Jaime Chait" <jchait@c...> wrote:
> > Has any body tried Cfft2_2191.ASM found in ADSP-219x Complex Rad2
> FFT.zip at the AD website
> >
> >
>
http://www.analog.com/processors/processors/ADSP/technicalLibrary/codeExamples/2\
19x_single_core.html
> ?
> >
> > I don't get correct results, I'm using the EVA board 21992.
> >
> > Any other ones out there?. I rather use an assembly one
> >
> > Thanks in advance. >
>
> _____________________________________
> /groups.php3
>
> Yahoo! Groups Links





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

IPRx register description for the 21992? - Stéphane GOUEL Arbos - Oct 14 11:21:00 2004


Hi

Is there anybody know where I can find description of IPRx register for
ADSP-21992. I can't find it in the Hardware reference manual, and it's
different from 219x! Thanks in advance.





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

Re: IPRx register description for the 21992? - Mike Rosing - Oct 14 13:29:00 2004

On Thu, 14 Oct 2004, [iso-8859-1] Stéphane GOUEL Arbos wrote: >
> Hi
>
> Is there anybody know where I can find description of IPRx register for
> ADSP-21992. I can't find it in the Hardware reference manual, and it's
> different from 219x!

Words but no pictures:

of the ADSP-21992 contains eight, 16-bit Interrupt Priority
Registers (Interrupt Priority Register 0 (IPR0) to Interrupt
Priority Register 7 (IPR7)).
Each Interrupt Priority Register contains a four 4-bit codes; one
specifically assigned to each peripheral interrupt. The user may
write a value between 0x0 and 0xB to each 4-bit location in order
to effectively connect the particular interrupt source to the cor-
responding user assignable interrupt of the ADSP-219x core.

Taken from page 12 of

www.analog.com/UploadedFiles/ Data_Sheets/52993570ADSP-21992_0.pdf

(and that space is really there!!)

Patience, persistence, truth,
Dr. mike




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

RE: IPRx register description for the 21992? - Krieger,Alex - Oct 14 19:26:00 2004


Hello, (?bonjour?),

the information is in the ADSP-2199x Hardware Ref. Manual, Ch. 13. The PIC
(Peripheral Int. Ctrlr) registers IPR0 to IPR7 are at I/O page 1, addresses
200-207, and are also summarized on p. 23-4

As well, here is a C function I found which simplifies setting up the
appropriate IPRx register and bit fields (note: the code below refers to macros,
ex. io_read and io_write, and IPR0):

void PIC_init (int iSrc, int iIntNo)
{ // Based on the int source ID: iSrc, this determines the corresponding IPR
// register and bit field, and then writes iIntNo (4 bits) in that bit field.
// Ex. call PIC_init (TMR0_IRQ, 6); // Set Timer0 to trig. Int. 6

int IPR_reg = IPR0 + ((iSrc >> 2) & 0x7) , // Actual IPR address
IPR_shift = (iSrc & 3) * 4 , // Determine bit field
IPR_field = ~(0xF << IPR_shift) , // ex. 0xFF0F
iTmp ;

// Temp. calculations easier to inspect with debugger:
iIntNo = (iIntNo - 4) << IPR_shift ;
sysreg_write (sysreg_IOPG, IntCtrl_Page);
iTmp = (io_read(IPR_reg) & IPR_field) + iIntNo ; // Temp. value

io_write (IPR_reg , iTmp);
} // PIC_init()

Maybe you could also help me: how to operate the ADSP-21992 SPORT for
asynchronous communications? There are some significant differences from the
previous ADSP-21xx family devices that have got me stumped a bit, especially
concerning receiving characters. Also, for a first try, I want to have two
simple functions, in C, operating in polled mode, i.e. no interrupts, one to
send just one character (that proved simple enough; and another to wait for, and
get a single character; that is proving to be more challenging). Or are there
others you know who work with this ADSP-21992 device who might know?

Thanks very much,

AWK
-----Original Message-----
From: Stéphane GOUEL Arbos [mailto:]
Sent: October 14, 2004 5:22 AM
To:
Subject: [adsp] IPRx register description for the 21992?

Hi

Is there anybody know where I can find description of IPRx register for
ADSP-21992. I can't find it in the Hardware reference manual, and it's
different from 219x! Thanks in advance.






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

EIZ and EIS input on the 21992? - Stéphane GOUEL Arbos - Oct 14 22:12:00 2004


Hello

Is there somebody who could give me the difference between these two
signals on the EUI : EIZ and EIS (input of EIU). Compare to ADMC300,
EIZ is the same and EIS don't exist

Thanks in advance





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