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.

TAS3204 Analog Input Control (0x12) and other i2c registers

Other Parts Discussed in Thread: TAS3204

There is a discrepancy between the I2C_addr.addr file generated by PurePath Studio and the TAS3204 data sheet. Here is a section from my I2C_addr.addr file:

 

Application:  PurePath Studio Graphical Development Environment

File Name:    I2C_addr.addr

Date:         7/26/2011 11:31:30

Version:      1.88 build 5

================================================================================


0x0 0x4 ! (TAS3204AudioApp_1) Clock and SAP control

0x1 0x4 ! (TAS3204AudioApp_1) Application version information

0x2 0x4 ! (TAS3204AudioApp_1) Status Register

0x3 0x4 ! (TAS3204AudioApp_1) Reserved

0x4 0x8 ! (TAS3204AudioApp_1) Memory Load Control Register

0x5 0x8 ! (TAS3204AudioApp_1) Memory Load Data Register

0x6 0x4 ! (TAS3204AudioApp_1) Peek/Poke Address

0x7 0x8 ! (TAS3204AudioApp_1) Peek/Poke Data

0x8 0x4 ! (TAS3204AudioApp_1) Reserved

0x9 0x4 ! (TAS3204AudioApp_1) Reserved

0xA 0x4 ! (TAS3204AudioApp_1) Reserved

0xB 0x4 ! (TAS3204AudioApp_1) PC Start Address

0xC 0x4 ! (TAS3204AudioApp_1) GPIO

0xD 0x4 ! (TAS3204AudioApp_1) Master Mute

0xE 0x4 ! (TAS3204AudioApp_1) Reserved

0xF 0x4 ! (TAS3204AudioApp_1) Master Download

0x10 0x4 ! (TAS3204AudioApp_1) Reserved

0x11 0x4 ! (TAS3204AudioApp_1) Common to all Volume Controls

0x12 0x4 ! (TAS3204AudioApp_1) Reserved

0x13 0x4 ! (TAS3204AudioApp_1) Volume Busy

0x14 0x4 ! (TAS3204AudioApp_1) Reserved

0x15 0x4 ! (TAS3204AudioApp_1) Reserved

0x16 0x4 ! (TAS3204AudioApp_1) Reserved

0x17 0x4 ! (TAS3204AudioApp_1) Reserved

0x18 0x4 ! (TAS3204AudioApp_1) Reserved

0x19 0x4 ! (TAS3204AudioApp_1) Reserved

0x1A 0x4 ! (TAS3204AudioApp_1) Reserved

0x1B 0x4 ! (TAS3204AudioApp_1) Reserved

0x1C 0x4 ! (TAS3204AudioApp_1) Reserved

0x1D 0x4 ! (TAS3204AudioApp_1) Reserved

0x1E 0x4 ! (TAS3204AudioApp_1) Reserved

0x1F 0x4 ! (TAS3204AudioApp_1) DEM bit toggle for ADC DWA

Registers highlighted in yellow are different from Table 12-1 of the Data Manual. Registers highlighted in red are not even in the Data Manual. I am primarily interested in register 0x12, Analog Input Control. Is this register actually 0x12? Which list of registers is the real list?

  • Jeff - the engineer who needs to study/answer your query is out of office this week.  I hope we can provide an answer early next week.  Regards, Lester Longley

  • Jeff,

    I just did a quick check, Analog Mux is 0x12.  For everything else, let me take a closer look.  Will get back to you later.

    Susan 

  • Susan,

    Any new information on this? Thanks.

     

  • Jeff,

    Just started looking into this.  Where did you get this I2C_addr.addr file? or how did you generated it?  Frankly, I couldn't find this file in my build folder, there must be some option that you selected that I never used before.

    But I looked at the regester info you copied and pasted in your first post, it looks really old.  After you build your project, go to tools->I2C overview to get the real list if you don't trust the manual.

    Susan

  • There is a button at the bottom of the I2C Overview tool window that says "Generate .addr file". It takes the register list and writes it to the I2C_addr.addr file, a text file. This file exactly matches what I see on the I2C Overview tool display. The first 31 registers (0x00 -> 0x1F) are TAS3204 registers. The components from my design start at register 32 (0x20).

    Page 49 of the manual says to not trust the 12-1 table of registers in the manual as the registers may be remapped when using the PurePath GDE. However the registers in table 12-1 in the manual don't show up anywhere in the I2C Overview display after I build my project. I'm a bit confused.

  • Jeff,

    I just generated a .addr file as you instructed, since it's just the duplicate of what I2C Overview tool, I've never used it, not sure whether it's useful in any way., guess just a record keeping thing.

    Here is my version of the .addr file, looks quite different from yours:

     

    Application:  PurePath Studio Graphical Development Environment
    File Name:    test.addr
    Date:         16/08/2011 7:07:45 PM
    Version:      1.88 build 5
    ================================================================================

    # 0 4 ! (TAS3204AudioApp_1) Clock and SAP control
    # 1 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 2 4 ! (TAS3204AudioApp_1) Status Register
    # 3 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 4 8 ! (TAS3204AudioApp_1) I2C Memory Load Control
    # 5 8 ! (TAS3204AudioApp_1) I2C Memory Load Data
    # 6 4 ! (TAS3204AudioApp_1) Peek/Poke Address
    # 7 8 ! (TAS3204AudioApp_1) Peek/Poke Data
    # 8 4 ! (TAS3204AudioApp_1) Application Version
    # 9 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 10 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 11 4 ! (TAS3204AudioApp_1) DSP PC Start Address
    # 12 4 ! (TAS3204AudioApp_1) GPIO Control via I2C
    # 13 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 14 4 ! (TAS3204AudioApp_1) Treble/Bass Slew Rate
    # 15 4 ! (TAS3204AudioApp_1) Master Download
    # 16 4 ! (TAS3204AudioApp_1) Analog Central Power Down
    # 17 4 ! (TAS3204AudioApp_1) Analog Individual Power Down
    # 18 4 ! (TAS3204AudioApp_1) ADC Mux Control
    # 19 4 ! (TAS3204AudioApp_1) ADC DEM Control
    # 20 4 ! (TAS3204AudioApp_1) ADC2 Current Control 1
    # 21 4 ! (TAS3204AudioApp_1) ADC2 Current Control  2
    # 22 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 23 4 ! (TAS3204AudioApp_1) ADC1 Current Control 1
    # 24 4 ! (TAS3204AudioApp_1) ADC1 Current Control 2
    # 25 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 26 4 ! (TAS3204AudioApp_1) DAC Current Control
    # 27 4 ! (TAS3204AudioApp_1) DAC Chopper Control
    # 28 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 29 4 ! (TAS3204AudioApp_1) Reserved by Texas Instruments
    # 30 4 ! (TAS3204AudioApp_1) ADC/DAC Reset
    # 31 4 ! (TAS3204AudioApp_1) DEM bit toggle for ADC DWA

    Just wondering whether you had an older version before, but the PPS 1.88 b5 got messed up during installation.  Can't explain why your files are different from mine.  Usually, framework I2C registered are reserved, they won't get remapped, but still, always trust the numbers in I2C overview window, which are the ones being used.

    Susan

  • Susan,

    I completely removed then reinstalled PurePath Studio. Then I completely rebuilt my project from scratch. I now get the same reserved registers you have. I'm good to go for now. Thanks for your help.

    Jeff