DSPRelated.com
Forums

spectrum analyzer

Started by Farayi Zinatsa April 26, 2005
hie
i'm developing a spectrum analyser on a tms320c5x using the fft
algorithim.now i'm trying to analyse a frequecy range of around 4khz
thats about 8khz of sampling rate for speech.
i want to get data from say a microphone (the chip has an RCA jack
for "mikes")into memory space for processing by the fft codewhich i
made (digital stage) and then output it to an oscilloscope in analogue
form.
question 1
how can i poissbly do it ?

i know that # of samples,N = T * Fs

were T = sampling period
Fs = sampling frequency

question 2
what duration of sampling period T do i need in order to get good
results and how is this done on the processor? i mean do i have to do
it in code (initialisation)or else?
pliz help u may not be familiar with the c5x but u can tell me how one
can generally do this, HAVING THE FFT and of course the sampling period
problem.
regards
farayi




hie
i'm developing a spectrum analyser on a tms320c5x using the fft
algorithim.now i'm trying to analyse a frequecy range of around 4khz
thats about 8khz of sampling rate for speech.
i want to get data from say a microphone (the chip has an RCA jack
for "mikes")into memory space for processing by the fft codewhich i
made (digital stage) and then output it to an oscilloscope in analogue
form.
question 1
how can i poissbly do it ?

i know that # of samples,N = T * Fs

were T = sampling period
Fs = sampling frequency

question 2
what duration of sampling period T do i need in order to get good
results and how is this done on the processor? i mean do i have to do
it in code (initialisation)or else?
pliz help u may not be familiar with the c5x but u can tell me how one
can generally do this, HAVING THE FFT and of course the sampling period
problem.
regards
farayi