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.

TLV320AIC1110: I want to know any software is there for linux to configure this audio codec which is connected through SPI interface to FPGA?

Part Number: TLV320AIC1110
Other Parts Discussed in Thread: TLV320AIC10

Do i need to configure only through I2c interface or can i configure it by SPI interface. How do i configure ? Using which software? Do i need to write code ? From where i need to learn to code for tlv? Please guide.

  • Hi, Vijaylaxmi,

    Welcome to E2E and thank you for your interest in our products!

    The TLV320AIC1110 only supports I2C protocol. So, all its configuration only can be made via I2C.

    I would recommend to take a look at the I2C bus protocols section for details:

    www.ti.com/.../tlv320aic1110.pdf

    This sections contains all the I2C protocol details and the registers map information.

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

    Thank you for confirming tlv320aic1110 configurable only through I2C protocol.

    If i want to use default configuration, no programming is required right? I want to interface TLV320AIC1110 audiocodec with NexyS4 DDR board. How to do handshake communication between these two? How i will come to know from my PC that Nexy s4 ddr board is connected to my TLV320AIC1110 daughter module?

  • Hi, Vijaylaxmi,

    You are right, the default configuration doesn't require of additional settings as mentioned in page 34 of datasheet. If an additional function is required, you would need to configure it via I2C.

    www.ti.com/.../tlv320aic1110.pdf

    Regarding your question about the board connection, the audio codec doesn't have a flag to determine if it is connected or not. However, I would recommend to verify that all the registers values are configured in default (or voice) mode as the datasheet mentions. This will ensure that the coded is fully configured.

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

    Thank you for your fast response. I further have a query about TLV320AIC1110. Can i connect tlv320aic1110 to communicate with microprocessor or FPGA board which has SPI interface? If yes then tlv320aic1110 is by default SPI interface(because by default it is in slave mode and listens to its master)? If i connect pins of PCMO and PCMI and PCMSYNC and PCMCLK pins to FPGA and external RESET and MCLK=2.048Mhz does this work as a by default SPI interface? I have gone through slaa109.pdf and slaa158.pdf documents to clear my doubts.

    In slaa109.pdf on pg no: 8 block diagram of tlv320aic10/11 is given and SCLK, FS, DOUT,DIN SIGNALS ARE COMMING FROM EXTERNAL MICROPROCESSOR. In similar manner can i connect my audio codec tlv320aic1110 and my pc would be able to recognize it at transport as well as application layer?

    In slaa158.pdf of TI, it is stated on page no:2 in section 2 as bellow:

    Software Interface
    For the interaction between the DSP and the codec, a set of software routines is available.
    These include the DSP initialization routine for both the McBSP and the complex programmable
    logic device (CPLD) registers, and the interrupt service routines for the DSP/codec handshake.
    This software package is available for download at www.ti.com. The user can adapt this
    software package for whatever application he chooses to implement. In addition, shell programs
    or templates for customizing application software programs are also available at [5].

    but i coudn't find anything which is related to DSP/codec handshake. Please if you can provide the link or directly send me those routines might help.

    Please guide.

    Thanks

    Vijaylaxmi Bhat

    slaa109.pdf

  • Hi, Vijaylaxmi,

    Unfortunately, it is not possible to connect the TLV320AIC1110 via SPI. The TLV320AIC1110 only supports I2C. So, all the communication is made with a two-wire serial interace.

    If you are looking to connect your PC to one of our audio codecs, I would recommend to take a look at the PCM29xx or PCM27xx devices. These devices are designed to connect to the devices via USB. Additionally, the PC would be able to recognize the PCM device. Normally, the TLV320 devices are designed for portable applications. Typically, they are powered by battery applications and they not require a PC to interface with the audio codecs. By other hand, the PCM devices such the PCM29xx and PCM27xx are designed for line applications and the PC can be used as digital interface.

    Regarding the software that the document mentions, it is the Code Composer Studio software. It is an IDE that is used to develop C/C++ code on the microcontroller and embedded processors portfolio:

    www.ti.com/.../ccstudio

    Best regards,
    Luis Fernando Rodríguez S.
  • Hi, Luis,
    Thank you.
    Regards
    Vijaylaxmi