Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Smallest Audio Band Spectrum analyzer TI TMS320 DSP FFT Implementation with 96×16 OLED display

Smallest Audio Band Spectrum analyzer TI TMS320 DSP FFT Implementation with 96×16 OLED display

In this quick little demo i will show you real time 256 point audio band spectrum analyzer, i will be using ezdsp5502 board , which has TMS320VC5502 and for input signal sampling we are using onboard audio codec TLV320AIC3204B to sample input signal at 48Khz sampling rate. its  post is not going to be tutorial for FFT , the scope of this post is only to show how to get contentious input sampling ,FFT calculation and display on the little FFT Display.

Hardware,

i have used ezdsp board and onboard codec, there was no extra hardware required. ezdsp schematic available online.  i am using my MDO3000 Arbgen to generate test signals. at around 2Vpp.

Firmware 

There is no magic in the firmware, i am setting up mcbsp in i2s mode , and initialize TLV320AIC3204 as I2S master , which give interrupt on every I2S word reception , i put all samples into buffer. and as buffer fills up , i calculate 256 point in place FFT , after this i calculate absolute value for each FFT point output. then plot the output to the OLED screen.

Source 

All source code is available on this github repo.
https://github.com/circuitvalley/TMS320_DSP

Read more Here

 

More Articles to Read

ESP8266 Weather Station Projects
ESP8266 Weather Station Projects
Single tube Lethal Nixie clock
Single tube Lethal Nixie clock
How to make a simple 1 watt audio amplifier (LM386 based)
How to make a simple 1 watt audio amplifier (LM386 based)
Flashing Binaries to DRA7xx Factory Boards Using Device Firmware Upgrade
Flashing Binaries to DRA7xx Factory Boards Using Device Firmware Upgrade
Dot² isn’t your typical coffee table
Dot² isn’t your typical coffee table
Debugging ARM Cortex-M0+ HardFaults
Debugging ARM Cortex-M0+ HardFaults
EMP Jammer build
EMP Jammer build
A 3D-printed e-drum pad
A 3D-printed e-drum pad
Interactive geodesic LED dome = extreme geometric fun!
Interactive geodesic LED dome = extreme geometric fun!
Guide to build your 3.3v power supply
Guide to build your 3.3v power supply

Top




Shares