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.

CC2640: Processing a 16 TDM Microphone Array with a CC2640 without a codec

Part Number: CC2640
Other Parts Discussed in Thread: TLV320AIC3268, CC2642R, CC3200AUDBOOST

Hi dear people,

I hope I am not on the wrong forum. Actually I wanted to post this on the audio forum, but, somehow, the system wants me here...

I am developing a 32 mic array using 2 daisy-chains of 16 TDM mics.

The data coming from the arrays should be processed (equalizer, gain, effects, etc) and sent to BT or IOT

I have narrowed the list of potential candidates to make this to the TLV320AIC3268 Codec and the CC2640R2F SimpleLink Wireless MCU

and I still have two maybe silly questions, but I am not really finding the answers I need:

- Do I really need the codecs to do this? I see that the cc2640r2f can deal with I2S, but I cannot see if it also understand TDM. Anyway, the codec looks like overkill...

- Can I use the AIC PurePath Studio Graphical Development Environment (GDE) with the CC2640R2F ?

Thanks a lot in advance and have a nice day,

Gustavo

  • Hi Gustavo,

    The I2S module of the CC2640R2F can sample data in "DSP mode". This mode allows 2 inputs with 8 TDM microphones on each (so 16 microphones in total). That being said, the amount of RAM required to store the data received would be quite huge (CC2640R2 has only 28kB of RAM). It might be interesting to consider CC2642R with its larger RAM and its M4F core.

    - The codec might be required if you need a very specif audio clock for the microphones (CC26XX I2S clock is a bit limited). Other interesting features can be covered by the codec such as filtering, audio processing... If you were not aware, TI provides a boosterpack (CC3200AUDBOOST) using the TLV320AIC3254 (not the same as the one you are using). This boosterpack might be very helpful in the development process.

    -  AIC PurePath Studio Graphical Development Environment can be used as long as the codec has a min DSP (and TLV320AIC3268 has a mini DSP). So yes, you can use this SW :)

    To finish, if you are planning to do some audio streaming, I strongly recommend to have a look to the audio plugin.

    Best regards,

  • Thank you Clément for the quick answer.

    I need 32 mics in my design, so using only the CC2640R2F for it will not be enough if I can only process 16.

    Regarding the TLV320AIC3254, can I manage 2 x 16 TDM mics with it?

    There are two Audio serial data bus data inputs on it and I need a clock of 24.576 MHz, which I suppose it would be possible.

    Do you think I can manage 16 mics per input and feed the processed results to the CC2640R2F to further processing?

    This would make things very easy for me.

    Best regards,

    Gustavo