DSPRelated.com
Forums

Sine on 218x (preferably 2186)

Started by Martins Pukitis July 15, 2002
Could anyone send me asm code for calculation of 24 (or 32) bit sine
(simple fixed point) or tell me in how many processor cycles he managed to
stuff it in?
TIA.




>From: Martins Pukitis <>
>To:
>Subject: [adsp] Sine on 218x (preferably 2186)
>Date: Mon, 15 Jul 2002 21:24:26 +0300
>
>Could anyone send me asm code for calculation of 24 (or 32) bit sine
>(simple fixed point) or tell me in how many processor cycles he managed to
>stuff it in?
>TIA.
>

The applications book has code for this. Not sure where it is, but you can
download it from the ADI web site. Leon
--
Leon Heller, G1HSM Tel: +44 1327 359058 Email:
My web page: http://www.geocities.com/leon_heller
My low-cost Altera Flex design kit: http://www.leonheller.com _________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


At 01:24 PM 7/15/2002, Martins Pukitis wrote:
>Could anyone send me asm code for calculation of 24 (or 32) bit sine
>(simple fixed point) or tell me in how many processor cycles he managed to
>stuff it in?
>TIA.
>

I wrote an article on this subject that was published in the ADI DSP
Connection 2002. The basic routines are available at
http://www.danvillesignal.com/applications/generator.htm. One of the
examples is a 1 Hz resolution generator using 48kHz sampling with double
precision (32 bit) math.

We have the application running on our ADSP-2186M based DSP-8300 DSP
function module. It is available as part of our DSP-8300 developers kit.

Al Clark
Danville Signal Processing, Inc.
--------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com