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.

[TAS5713EVM] I2C data format inquiry

Other Parts Discussed in Thread: TAS5713

Dear TI developers,

I have some questions would like to ask regarding the I2C data format:

Q1. I read the TAS5713 datasheet regarding the I2C format, I would like to know if it is possible to send the data format below to TAS5713 and it can acknowledge the data i sent?

Data format:

START BIT -> SLAVE ADDR -> SUBADDRa -> DATAa -> SUBADDRb ->DATAb -> ... ... ->SUBADDRz -> DATAz ->STOP BIT

where the subaddress I sent is not in sequence for some register, as I wish to send all the data for initialization.

Q2. Is it a must that the Trim register need to write 1st before configure the DAP via I2C?

Q3. Is that ok

 

 

 

  • Han,

    For Q1, you will want to modify the sequence as shown below (insert the additional Start condition & Slave Address for each transaction)

    START BIT -> SLAVE ADDR -> SUBADDRa -> DATAa -> START BIT -> SLAVE ADDR -> SUBADDRb ->DATAb -> ... ...-> START BIT -> SLAVE ADDR -> SUBADDRz -> DATAz ->STOP BIT


    For Q2...Yes, trim register 0x1B should always be the first register to be written to.

    For Q3, can you please elaborate on the context "that" is referring to?

    - Ravi


  • Dear Ravi,

     

    Thanks for your prompt reply.

    Sorry that Q3 is imcomplete question, just dunno why the text box only shown few words in Q3.

    I wanted to asked in Q3 is, Is that ok to follow the sequence in the I2C config file to send the data to TAS5713? Or it is only use for GDE as there are some registers are not set in the config file?

    I've inserted the default config file of TAS5713 3.3V build 8.

    2330.default.cfg

     

    Thanks.

    Chan

  • Chan,

    For initializing the TAS5713, the I2C file can be kept to a minimum of just three lines.

    X1B 00

    X05 00

    X07 (Desired Volume Setting)

    1.) Register 0x1B 00 (This trim's the device)

    2.) Register 0x05 00 (This brings the device out of shut-down)

    3.) Register 0x07, set desired volume level setting. (for example, writing x30 sets the master volume to 0dB).

    - Ravi