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.

TM4C123GH6PM: Integrate AAC decoder on TM4C MCU without external chip (DSP)

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: CC2564, , TLV320AIC3254

Hello everyone,

I'm currently working on an application using MCU TM4C123GH6PM, a bluetooth chip (CC2564), and an audio codec (TLV320AIC3254).

For the moment I only use a SBC decoder in my application , and it's working well. The problem is that I would like to integrate an AAC decoder  without adding any external DSP chip. I run through some library but all seems to need a lot of computaion ressources.

Do I really can add an AAC decoder on my TM4C123GH6PM or i'll just reach the limit of my product design ? 

If yes, do you provide some TI codec library that I could use fro my application ?

Thanks in advance ! 

  • Mickael Ben soussan said:
    Do I really can add an AAC decoder on my TM4C123GH6PM or i'll just reach the limit of my product design ? 

    Looking at https://www.ittiam.com/wp-content/knowledge-center/publications/2010/Audio_on_ARM_Cortex-M_processors.pdf for Ittiam’s proprietary AAC decoder optimised for a Cortex-M4 reports a typical CPU load of 6% for a Cortex-M4 running at 150 MHz decoding stereo mode and 44.1 kHz sampling rate, for a 128kbps data rate. For a TM4C123 running with 80MHz clock that would equate to an approx 12% CPU load.

    Therefore, a TM4C123 should have the processing power to implement an AAC decoder, on the assumption that use a decoder which has been optimised for use on a Cortex-M4.

    How much spare memory and CPU is there in your existing design?

  • Hi Chester,

    Thanks for your very quick answer, the article you sent is very interesting but I didn't yet implement a way to measure CPU load.
    I was initially looking for free licensed aac decoder but I suppose I will need to order license for ARM optimised audio decoder or use my bare hand to modified existing stuff.

    Thanks a lot, I'll keep you aware if I success in my implementation !