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.

Need help on audio file reading from SD card in TM4C123GH6PGE

Hi All,

I have taken the sample code from TI web for reading the audio file from SD card and playing thru I2S interface and i did some changes in it, but i am  able to read only the audio file from SD card and not able to play thru I2S interface in TM4C123 controller. please find below the SD card coding portion. kindly need your help to sort this out.

https://docs.google.com/file/d/0B8zvQdNhT-bqM3VBeF81cVFwQTg/edit?pli=1

Regards,

Aravind

  • Hi,

    The problem is the TM4C123 does not have an I2S interface. Instead, you may read this document to find out how to emulate such interface with two SPI interfaces, available on your micro.

    An audio codec is supposed to be present also.

    Petrei

  • Hello Aravind

    The I2S interface does not exist on TM4C devices. You can however refer to the application note on emulates I2S using SSI which is there in the TM4C application notes

    Regards

    Amit

  • Hi Amit Ji,

    Yes i know that Tiva dont have I2S, already we paralled two SPI to create I2S according to the application which we have taken from TI web, but still i am not able to play the audio file thru I2S. why is it so?

    Kindly help on this

    Regards,

    Aravind.