Searching \ for 'FFT engine in Hi-Tech C' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/logic/dsps.htm?key=fft
Search entire site for: 'FFT engine in Hi-Tech C'.

Truncated match.
PICList Thread
'FFT engine in Hi-Tech C'
1999\09\02@192109 by Steve Thackery

flavicon
face
Colleagues,

Following on from recent topics, I'm going to try to convince my
colleague/boss to move the PIC 17C44-based project we're working on from
MPASM to Hi-Tech PIC C because I need to do some fairly heavy duty 32-bit
maths and, frankly, we are already running late with the development
activity.

I do have one problem.  I need to do an FFT on a short sound bite (1024
samples).  I originally chose to develop this project in assembly language
(MPASM-compatible) because Microchip publish an assembly language FFT
module.

However, I find that Hi-Tech's assembler won't assemble Microchip's FFT
module due to endless minor syntactical and lexical differences.  Nor will
Hi-Tech's linker work with MPASM object files, so I can't mix Microchip
assembler source with Hi-Tech C source.

So, it looks like I'm knackered unless I can find an FFT module that will
integrate with Hi-Tech C.  It doesn't matter if it's in Hi-Tech-compatible
assembler, C source or even an object file.  I just need an FFT module that
I can use in a Hi-Tech C project.

Can anyone help?  Is there such a module?  I'm sure I can't be the first
person to want to do this!

Thanks in anticipation.

Steve

Steve Thackery
Suffolk, England.
Web Site: http://www.btinternet.com/~stevethack/

1999\09\02@200452 by Bob Drzyzgula

flavicon
face
Steve,

Undoubtedly someone else on this list will simply have
the exact source code that will compile up and do the
job under Hi-Tech C, but as a general matter of course,
two excellent places to look for this kind of thing are:

 http://www.netlib.org/

and

 http://math.nist.gov/gams/

Also, I did a search on http://www.google.com for the
words "FFT source code", and came up with 3299 hits,
So I tried "FFT source code PIC" and got 241 hits.
"FFT source code PIC Microchip" gave 26, although
a good half of them were PICLIST posts :-) Among
those last 26 posts, I found the following article
which you may find interesting...

http://www.edtn.com/embapps/emba035.htm

--Bob

On Fri, Sep 03, 1999 at 12:18:14AM +0100, Steve Thackery wrote:
> Colleagues,
> ...
> So, it looks like I'm knackered unless I can find an FFT module that will
> integrate with Hi-Tech C.  It doesn't matter if it's in Hi-Tech-compatible
> assembler, C source or even an object file.  I just need an FFT module that
> I can use in a Hi-Tech C project.
> ...

--
============================================================
Bob Drzyzgula                             It's not a problem
spam_OUTbobTakeThisOuTspamdrzyzgula.org                until something bad happens
============================================================

1999\09\02@235754 by Tjaart van der Walt

flavicon
face
Steve Thackery wrote:
>
>
> However, I find that Hi-Tech's assembler won't assemble Microchip's FFT
> module due to endless minor syntactical and lexical differences.  Nor will
> Hi-Tech's linker work with MPASM object files, so I can't mix Microchip
> assembler source with Hi-Tech C source.

It will work with MPC. (would have worked?)
I've used some Mchip asy samples with MPC before.

Geez are you guys *ever* going to learn? <G> Take it away, Andy! ;)

--
Friendly Regards           /"\
                          \ /
Tjaart van der Walt         X ASCII RIBBON CAMPAIGN
.....tjaartKILLspamspam@spam@cellpt.co.za / \ AGAINST HTML MAIL
|--------------------------------------------------|
|  GSM Technology for Positioning and Telematics   |
|  Cellpoint Systems SA    http://www.cellpt.com   |
|    http://www.wasp.co.za/~tjaart/index.html      |
| WGS84 -26.0124 +28.1129  Voice +27 (0)11 2545100 |
|--------------------------------------------------|

1999\09\03@004427 by Dennis Plunkett

flavicon
face
At 06:05 3/09/99 +0200, you wrote:
>Steve Thackery wrote:
>>
>>
>> However, I find that Hi-Tech's assembler won't assemble Microchip's FFT
>> module due to endless minor syntactical and lexical differences.  Nor will
>> Hi-Tech's linker work with MPASM object files, so I can't mix Microchip
>> assembler source with Hi-Tech C source.
>
>It will work with MPC. (would have worked?)
>I've used some Mchip asy samples with MPC before.
>
>Geez are you guys *ever* going to learn? <G> Take it away, Andy! ;)

Perhaps you should threaten them at gunpoint <G>
But I don't think taht even the bigest stick will help. But one has to ask,
why would you want to mix gold with lead?

Dennis


{Quote hidden}

1999\09\03@052218 by Steve Thackery

flavicon
face
> >It will work with MPC. (would have worked?)
> >I've used some Mchip asy samples with MPC before

> Perhaps you should threaten them at gunpoint <G>
> But I don't think taht even the bigest stick will help. But one has to
ask,
> why would you want to mix gold with lead?
OK, I get the hint.  What is MPC?  Will it support 32-bit data types?
Anyone got a URL?

I'm not sure what the gold and lead question means.  To reiterate: I need a
C compiler which fully supports 32 bit data types and floating point maths,
supports the 17C44, and will either:

1/ assemble MPASM-compatible assembly code
2/ link MPASM-generated object code

The reason for the fixation with MPASM is simply that I intend to use their
published FFT module.

I'm absolutely happy to use a different FFT module - would prefer it, even,
if I could get one in C source for the appropriate compiler.

Hi-Tech C gets damn close, but it won't assemble much MPASM assembler due to
a number of small syntactical and lexical differences.

Steve Thackery
Suffolk, England.
Web Site: http://www.btinternet.com/~stevethack/

1999\09\03@052221 by Steve Thackery

flavicon
face
Bob,

That was exceptionally helpful.  Those first two links are amazing.

Steve Thackery
Suffolk, England.
Web Site: http://www.btinternet.com/~stevethack/


{Original Message removed}

1999\09\03@055207 by Tjaart van der Walt

flavicon
face
Steve Thackery wrote:
>
> > >It will work with MPC. (would have worked?)
> > >I've used some Mchip asy samples with MPC before
>
> > Perhaps you should threaten them at gunpoint <G>
> > But I don't think taht even the bigest stick will help. But one has to
> ask,
> > why would you want to mix gold with lead?
> OK, I get the hint.  What is MPC?  Will it support 32-bit data types?
> Anyone got a URL?

Hehehe. http://www.bytecraft.com
Ask Walter (.....walterKILLspamspam.....bytecraft.com) if you get 32-bit support.

--
Friendly Regards           /"\
                          \ /
Tjaart van der Walt         X ASCII RIBBON CAMPAIGN
EraseMEtjaartspam_OUTspamTakeThisOuTcellpt.co.za / \ AGAINST HTML MAIL
|--------------------------------------------------|
|  GSM Technology for Positioning and Telematics   |
|  Cellpoint Systems SA    http://www.cellpt.com   |
|    http://www.wasp.co.za/~tjaart/index.html      |
| WGS84 -26.0124 +28.1129  Voice +27 (0)11 2545100 |
|--------------------------------------------------|

1999\09\03@101904 by Andy Kunz
flavicon
face
>But I don't think taht even the bigest stick will help. But one has to ask,
>why would you want to mix gold with lead?

It makes the lead go farther before you run out?

Andy

==================================================================
Andy Kunz               Life is what we do to prepare for Eternity
------------------------------------------------------------------
andyspamspam_OUTrc-hydros.com      http://www.rc-hydros.com     - Race Boats
@spam@andyKILLspamspammontanadesign.com  http://www.montanadesign.com - Electronics
==================================================================

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...