Browse over 10,000 Electronics Projects using the Page Numbering provided at the bottom of each Page.

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

 

More Articles to Read

Single-Sided USB Charger
Single-Sided USB Charger
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Replace a microwave’s beeping with the Windows XP startup sound
Replace a microwave’s beeping with the Windows XP startup sound
A DIY Laser Scanning Microscope
A DIY Laser Scanning Microscope
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
ESP8266 LED lighting: QuinLED v2.6 PCB
ESP8266 LED lighting: QuinLED v2.6 PCB
Switching LVDS Graphics in a Laptop Computer
Switching LVDS Graphics in a Laptop Computer
Teleknitting: TV-based string art
Teleknitting: TV-based string art
DIY Bubble Machine
DIY Bubble Machine
Start your day with Nerf target practice!
Start your day with Nerf target practice!
Teardown of a Peaktech 6225A
Teardown of a Peaktech 6225A

Top




Shares