The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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.

TAS2559: TAS2559

Part Number: TAS2559

Hi Team,

We are using the TAS2559 codec which is connected to a microcontroller via I2C Interface. Currently, we are using the PPC3 Tool for flashing the binary file and configuration files. But we need to flash the binary and config file via I2C Interface. We have read the TAS2559 End system Integration document. But the document has the android driver example code. Could you please provide an example code and procedure to flash via the I2C Interface of the microcontroller?

  • Hi,

    I will see if we have such a code example, and post back early next week.

    Regards,

    Arthur

  • Hi Arthur,

    Any update for our query.

  • Hi Manikandan,

    we do not have a specific code example in this case. 

    from the exported end system integration file the debug_cfg directory contains several .CFG files. the file "combined_configuration_0....cfg" will contain all the I2C writes necessary to load the configuration onto TAS2559.

    the syntax of the .cfg files is 

    single byte write:

    w [device address] [register address] [data]

    e.g. w 98 7f 64

    multi byte write:

    w [device address] [register address] [data]

    >[data]

    >[data]

    >[data]

    e.g. w 98 70 7f
    > 2a
    > 3b
    > 94

    delay :

    d [delay in ms]

    e.g. d 10

    you will likely need to write some code for the MCU that can take these .cfg files and perform the necessary writes and delays.

    Regards,

    Arthur