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.

TMS320C5535: AER/AEC Library on TMDX5535EZDSP

Part Number: TMS320C5535
Other Parts Discussed in Thread: TLV320AIC3204

Hello,

we want to build a battery powered intercom unit with the C5535/C5545 DSP together with the TLV320AIC3204 codec and do echo cancellation with AER/AEC library. We would like to buy the TMDX5535EZDSP eval board and have some questions before:

1. In AER/AEC library it is mentioned that max. sample rate is 16khz. Is that right, or is it possible to use higher sample rates (48khz)?

2. Is performance of the C5535/C5545 high enough to do the echo cancellation with AER/AEC library? There are no other tasks for the dsp. 

3. Which AER/AEC library should we use for TMDX5535EZDSP (C55X or C55x CPU V3.3)?

4. Is it possible to build a complete test intercom consisting of 2 TMDX5535EZDSP? Can we directly connect the I2S of the 2 boards or route digital audio via PC (USB)?

Thanks in advance

Marc

  • Hi Marc,

    1. Yes max sample rate is 16KHz, as stated in the AER 17_0_0_0 Fact Sheet.
    2. Yes you should be able to do echo cancellation, see 1.2 Applications in the Datasheet.
    3. Here is the link:
    www.ti.com/.../telecomlib

    Best Regards,
    Yordan
  • Hi Marc,

    1. Yes, it only support either 8khz or 16 kHz sampling rates

    2. According to the AER_Fact_Sheet.pdf, the AER Tx (AER&AGC) takes 52MIPS and Rx takes 11MIPS. C5535/45 can run at 100/120Mhz, so they are good for mono channel AER.

    3. You should download the aer_c55l_cpuv3.3_obj_17_0_0_0

    4. You can connect the I2S between the two boards via I2S, as long as you make sure one board is the I2S master and the other one is the I2S slave. To use USB host like PC is more practical, you will have two USB hosts (two PCs). Each connects to one board. Using audio cables to connect the two board via AIC3204. This way, you will not have clock issue. You can use the c55-connected-audio-framework as the start point then integrate the AER into the framework.

    Ming

  • Hi Ming,

    thanks for the response.

    2. What about stereo signals with 2 Mics? Is this possible with the C5535/45? Or do wee need a faster DSP?

    3. Is there a demo application which has AER included, which can be run on TMDX5535EZDSP Board? Is the C5517 EVM preferrable?

    4. You said "Using audio cables to connect the two board via AIC3204". Do you mean connecting the boards via analog signals and not I2S (Line Out -> Line In)?

    Thank you

    Marc

  • Hi Marc,

    2. For stereo signals, you will need to two instances of the AER which will double the MIPS. For peak MIPS, C5535 (100Mhz) is not enough, C5545 (120Mhz) is on the border line. For the average, it is OK. My guess is that with enough buffers both C5545 should be able to do it.

    3. I do not think the AER demo for C5535 exists. There are AER sample code for C5517 though. You should be able to port it over to C5535 easily.

    4. Yes. That way you can avoid the I2S clock issue.

    Ming  

  • Hi Ming,

    thanks for the detailled information!

    So running the AER/AEC on the TMDX5535EZDSP should be possible in your opinion?

    Are the memory requirements also met?

    Which version of Code Composer should we use, do you have a download link for us?

    Where can we find the AER demo code for C5517?

    Thanks and have a nice day

    Marc

  • Hi Ming,

    we want to do echo removal/cancellation. Could you please tell me where I can find sample code for AER/AEC processing? Is there a framework which already has tasks for i2s audio io where the aer algos can easily be integrated?

    Thanks in advance

    Marc