Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TMS320C5505: fft frequency doesnot match with the actual signal frequency

$
0
0

Part Number:TMS320C5505

Dear ,

to calculate frequency from HWAFFT output i followed ur instructions as mentioned below by :

The FFT transforms a time-domain signal into the frequency domain (and visa versa). The FFT operates with a power-of-2 number of bins each representing a range of frequencies. The width of each bin depends on the sampling rate that was used to capture the time-domain signal and the number of FFT bins: each bin width = Sampling rate / number of bins. Take for example a 16-pt FFT of a signal that was sampled with a sampling rate of 1MHz. Each bin of the 16-point FFT is 62.5 kHz wide (1MHz / 16), starting at 0Hz (DC) going all the way to the sampling rate 1MHz.

I am using the sampling frequency as 2MHz by setting *SARCLKCTRL = 0x0031; and 1024point FFT.

so by calculation ,  Bin frequency= 2MHz/1024=1953.125 Hz.

i get the maximum magnitude at 511th bin then frequency should be 511*1953.125=998046.87 Hz

but the problem is my actual signal frequency is 48.12Hz 

so the actual signal frequency does not match with the frequency by FFT,..

kindly consult me..am i on the right path??

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>