This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can I use ADPCM to record audio on my MSP430

Other Parts Discussed in Thread: MSP430F5529

Hi Everyone,

I'm working on a project now that requires me to record audio and save it with an MSP430.  I'm using a MSP430F5529 on the MSP-EXP430F5529 development board which has 128kb of flash.

I've been trying to capture with the ADC12 but I am having trouble saving the results into flash memory.  I've been searching around for other ways of saving audio with the MSP430 and I found a TI application report about sound compression and decompression that used Adaptive Differential Pulse Code Modulation (ADPCM) http://www.ti.com/lit/an/slaa361/slaa361.pdf

The example at the end said to use the code I had to #include"ADCPM.h" but when I do that I get an error that Code Composer Studio cannot find the file.  

Does anybody have any advice for how I could make this work or additional resources I could look at?

Thank you.

  • http://www.ti.com/lit/ml/slap122/slap122.pdf is a pretty good start and contains all of the necessary code. You can also read http://ww1.microchip.com/downloads/en/AppNotes/00643c.pdf to get a better idea what you're doing. This is more or less the IMA reference implementation of this codec.


    But even with compression you can only record about half a minute before your flash is full, so writing to an external flash chip or SD card (raw or FAT) via SPI could be necessary.

**Attention** This is a public forum