Summary: This lab introduces FFT implementations on the 56002 through the construction of a real-time spectrum analyzer using the 56002EVM and an oscilloscope.
This lab introduces FFT implementations on the 56002 through the construction of a real-time spectrum analyzer using the 56002EVM and an oscilloscope.
Read and understand the fft2.asm macro in Chapter 8
of El-Sharkawy's book. This algorithm automatically
down-scales by a factor of two the outputs of all of the
butterflies within the FFT to prevent loss of
information due to overflow. The directory
c:\ee609\lab6 contains the macros fft2.asm, sincos.asm, bitrev.asm and the associated
test program fftex2.asm. Using the data in
the book, confirm that the algorithm works as expected.
Modify fftex2.asm
to implement a real-time 512-point FFT which
takes 512 points of the signal from the ADC as input and
calculates the FFT of the 512-point signal. Build upon this
real-time 512-point FFT and design a real-time spectrum
analyzer by sending the power spectrum of the calculated FFT
through the DAC in some useful fashion,
(e.g., periodically outputting the power
spectrum). Specifically:
Several considerations need to be taken on displaying the power spectrum on the scope.
| fftex2.asm |
|---|
|
| fft2.asm |
|---|
|
| sincos.asm |
|---|
|
| bitrev.asm |
|---|
|