Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | Spectrum from the RFFT

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

Spectrum from the RFFT - Guilherme Martinhon - Feb 7 16:05:00 2006



Hello people! I´pm working with the RFFT function and I´m testing my program with a sinusoidal signal with some number of samples and different FFT length. But I noticed that the frequency resulting of the DSP is different from the nominal frequency, from the signal generator (seeing on the osciloscope, I can affirm that the generator is not the problem). In some cases, the difference reaches 12%. Someone of you had reach some similar result?
 
Thank you
 
Guilherme
_____________________
Guilherme Martinhon
Engenheiro Eletricista
Mestrando em Engenharia Elétrica
Área: Instrumentação Eletrônica
Laboratório de Ultra-Som
UNESP - Campus de Ilha Solteira




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

RE: Spectrum from the RFFT - ten9...@yahoo.com - Feb 17 11:58:00 2006

Guilherme, The relationship of your sampling rate and FFT size is one that will determine
the frequency resolution. I have used the TI RFFT at various resolutions and sampling rates and
have validated performance against spectrum analyzer outputs. In general your frequency
resolution will be SAMPLING_RATE/FFT_SIZE .

If this is all not news to you, then also performing the sum of squares on the rfft result
vector, or just the sum to experiment.

From TI's 54x DSP Lib Document:
"
On output x will contain the FFT(x) = y in the following format:
y(0)Re y(nx/2)im ? DC and Nyquist
y(1)Re y(1)Im
y(2)Re y(2)Im
"

I think I did one of the following,
Ignoring the DC y(0) and y(1),
FFTout(0) = y(2)^2 + y(3)^2
FFTout(1) = y(4)^2 + y(5)^2
etc..

Also try,
FFTout(0) = y(1)^2 + y(2)^2
FFTout(1) = y(3)^2 + y(4)^2
etc..

Ten

Spectrum from the RFFT 
Guilherme Martinhon - Feb 7 16:05:00 2006
	Hello people! I´pm working with the RFFT function and I´m testing my program with a sinusoidal
signal with some number of samples and different FFT length. But I noticed that the frequency
resulting of the DSP is different from the nominal frequency, from the signal generator (seeing
on the osciloscope, I can affirm that the generator is not the problem). In some cases, the
difference reaches 12%. Someone of you had reach some similar result?
 
Thank you
 
Guilherme
_____________________
Guilherme Martinhon
Engenheiro Eletricista
Mestrando em Engenharia Elétrica
Área: Instrumentação Eletrônica
Laboratório de Ultra-Som
UNESP - Campus de Ilha Solteira
	


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