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.

TLV320AIC3120: I2S Recording

Part Number: TLV320AIC3120
Other Parts Discussed in Thread: CC2640

how i can play a audio, So that data are capture from I2S protocol by using controller.

i,e

codec -> (->i2s) controller(UART->) -> PC.   

controller process the audio data ,i,e recive audio  from codec through i2s, and send it over uart for a PC,I stored the data in Text file.Whats my next step to play a audio from PC.?any software tool to cross check?

from PC how i can play a data ,to confirm that played out is stored.

  • Hi, Abhishek,

    I would recommend a similar configuration than our Audio Evaluation Modules such the TLV320AIC3120EVM-U. Our Evaluation Modules use a connection codec (I2S) -> processor (USB) -> PC. Basically, the I2S data is sent to the processor/controller. Then, this processor converts the I2S data stream into USB data, which is sent to the USB port of the PC. The PC recognizes our evaluation modules as recording/playback devices. So, the data transmission can take place.

    Best regards,
    Luis Fernando Rodríguez S.
  • Dear Louis,

    I am using the same EVM what you suggested, In that we have only codec IC. I don't have knowledge on how we can develop code for application to interact with codec here you all used a USB audio streamer IC (i,e TAS1020BPFB ), I wont feel i can program in this IC,much similar as other controller, Now i am using cc2640 as  a controller. Which document tell how I can store i2s data, or program such a way that I can store in pc and I can play out at any time.please help me out. At  the end i am planning for BLE audio output from CC2640.

    And also from EVM I am facing problem to record audio output from EVM. Which might be in PCM output so that i can store,so that i can visualize the raw data. 

  • Hi, Abhishek,

    You would require an Audio software such Audacity in order to record the audio output from the EVM.

    Regarding the CC2640 configuration, I would recommend to visit our Bluetooth low energy Forum. They should have more experience on these devices:

    e2e.ti.com/.../538

    Best regards,
    Luis Fernando Rodríguez S.
  • Hi  Luis,

    Thanks luis, audacity helped me to record EVM output.

    Still i need a information on , How i can play out i2s output ? Is there any frame format or I can say on what way i need to capture I2S output ? so that, then I can play with audacity.

  • Hi, Abhishek,

    In order to play sounds from the EVM output, you would require to send audio via I2S. You would need to select the EVM as default playback device and select the proper sampling rate in the playback devices options. Once all these things are configured, the EVM can be used as playback device and you would only need to play any audio file from the PC.

    Best regards,
    Luis Fernando Rodríguez s.
  • Hi luis,

    I am interested in capturing mic data from codec,By using host processor/controller. How can it be possible,Please help me out.
  • Hi, Abhishek,

    You would need a host processor/controller that supports I2S lines. The processor/controller should be able to send/receive I2S clocks and data. If your device supports this protocol, you would be able to read/write audio data. Additionally, you would need a memory to store the audio data.

    Best regards,
    Luis Fernando Rodríguez S.