Sign in

Not a member? | Forgot your Password?

Search compdsp

Search tips

Free PDF Downloads

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

C++ Tutorial

Introduction of C Programming for DSP Applications

Fixed-Point Arithmetic: An Introduction

Cascaded Integrator-Comb (CIC) Filter Introduction

Discussion Groups

IIR Filter Design Software

Free Online Books

See Also

Embedded SystemsFPGA

Discussion Groups | Comp.DSP | FFT code for dsPIC

There are 3 messages in this thread.

You are currently looking at messages 1 to .

Is this discussion worth a thumbs up?


FFT code for dsPIC - charlyb - 2008-05-10 07:46:00


Has anyone written their own fft function for the dsPIC ? (NOT the
supplied library fft).

I need a fft for measuring signal in noise and not being a DSP person
would prefer to implement it rather than write it from scratch. The dsPIC
library scales the data by 1/N which limits the dynamic range of the fft.

I can post scale and run the fft again until I have a usable number - its
just a lot of extra processing.

Thanks in advance.

Re: FFT code for dsPIC - steve - 2008-05-10 18:52:00

Re: FFT code for dsPIC - DigitalSignal - 2008-05-10 19:42:00

I am not sure this is true. Before 32bit fixed point and floating
point DSP were introduced, everybody have to work on 16 bit or even 8
bit processor. Many techniques have been developed to gain high
dynamic range. Among them the most popular one is called block
floating point FFT. This method simply carefully scales each stage of
FFT to maximize its calculation dynamic range. The problem of 1/N is
naturally part of this process. Charlyb, you can find the solution on
older textbooks.