Sunday, 8 February 2015

adc - How to sample audio at Nyquist frequency with MSP430F5438?


I want to:





  1. Input an analog audio track




  2. Using the microcontroller ADC, convert it to a digital output




  3. Then have the microcontollers/boards timer sample the data at selected intervals





  4. Resample the "Sampled audio track" at twice the highest frequency content




  5. Convert it back to analog as a perfect reconstruction of the initial audio track




Using Fourier Analysis I will determine the highest frequency at which I will sample the track at.


It sounds easy enough and straight forward, but what I need is to program this in C and utilize my MSP430 chip/experimenters board to sample the track. I'm going to be using Texas Instruments CCS and Octave for my programming and debugging. I am using the MSP430F5438 Experimenter Board.


Is C the right language for this? Can I get any examples of how to sample the track at Nyquist frequency using C? What code in C will tell the board to utilize the ADC component? And any recommended information that is similar or that will help me on this project.




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...