Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | fft on c6x problem?


Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

fft on c6x problem? - Author Unknown - Nov 12 13:24:00 1999

In fft radix4 code that given by TI,
No overflow protection or detection is performed!!

Therefore, as the numpoints N are increased,
inverse fft do not make correct answer.

I tried N=64, N=256.

In my thinking, the reason is overflow in radix4 routine.

Please, give me some advice.
How can I solve this problem?

Thanks in advance..



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

Re: fft on c6x problem? - Ralph Weir - Nov 15 10:41:00 1999

This is the classic problem with FFTs on fixed point machines! It also
bites floating point machines - just you only start to worry on much bigger
transforms.

I haven't looked at the FFT code, but what I've had to do in the past is
scale the data down before putting it into the FFT. Your data will double
after each FFT pass - so if you've got a 1K FFT, there are 10 passes - you
need to scale the data down by 10 bits. Leaving you a whopping 6 bits of
accuracy...

A better approach is to scale the data after each pass, but that means
modifying TI's code. What you do here is implement the first pass then
divide the data down by 1 bit, repeat after the second pass and so on...

Hope this helps!
Ralph

********************************************************
Ralph Weir mailto:
Hunt Engineering http://www.hunteng.co.uk
Office: +44 (0)1278 760188
Fax: +44 (0)1278 760199

Direct: +44 (0)1283 819991
Mobile: +44 (0)403 472329
Direct Fax: +44 (0)1283 819992

********************************************************

> -----Original Message-----
> From: [mailto:]
> Sent: 12 November 1999 13:24
> To:
> Subject: [c6x] fft on c6x problem? > In fft radix4 code that given by TI,
> No overflow protection or detection is performed!!
>
> Therefore, as the numpoints N are increased,
> inverse fft do not make correct answer.
>
> I tried N=64, N=256.
>
> In my thinking, the reason is overflow in radix4 routine.
>
> Please, give me some advice.
> How can I solve this problem?
>
> Thanks in advance.. >


______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



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