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.

AM5718: Regarding Codec TLV320AIC3268.

Part Number: AM5718
Other Parts Discussed in Thread: TLV320AIC3268

Hi,

we are using codec TLV320AIC3268 with AM5718 processor and implementing through linux(sdk 06.00.03.106). I need your help in configuring the codec. Is there any steps or related code that helps to understand the codec.

If possible related code for codec.

Thanks & regards,

Bhardwaj

  • Hi Bhardwaj,

    Are you looking for technical documentation for TLV320AIC3268? Documentation can be found on this page: TLV320AIC3268 data sheet, product information and support | TI.com

    Thank you,

    Fabiana Jaimes

  • Hi Jaimes,

    I refer the datasheet of TLV320AIC3268 but i didn't get clarity on how to read or write a register of codec. In our custom design, we connected sitara AM5718 to a vocoder AMBE-4020(uart) and vocoder to an external codec(i2c). We are able to communicate with vocoder through uart interface from sitara and we are trying to read/write  registers of codec from sitara uart connected to vocoder (sitara  -->(uart) vocoder -->(i2c) codec). But in codec there are books ,pages and registers.

    Reference from AMBE-4020 user manual pg.no:81.

    Example :

    PKT_WRITEI2C field writes to an I2C device such as a codec.
    { PKT_WRITEI2C = 0x44, (NW) 8 , (ADDR) 8 , (REG) 8 , (D 0 ) 8 , ... (D NW-1 ) 8 } => { PKT_WRITEI2C, 0x00 }

    sitara to vocoder - codec through i2c write.

    command write to vocoder-codec: {0x61,0x00,0x05,0x00,0x44,0x01,0x30,0x00,0x01}

    Response: {0x61,0x00,0x02,0x00,0x44,0x00}

    command read to vocoder-codec: {0x61,0x00,0x04,0x00,0x45,0x01,0x30,0x00}

    Respone: {0x61 0x00 0x03 0x00 0x45 0x01 0xff}

    In TLV320AIC3268 datasheet register map book no 0x00, pg.no 0x00, register no 0x00 is a page select register, read write access given to this register. In above command read and write written 0x00 in page select register and response was 0xFF.

    We are only accessing register not book and page number. So, please guide us whether the followed process is correct or incorrect.

    Thanks & regards,

    Bhardwaj.

  • Hello Bhardwaj,

    I am reviewing your question and will need some time due to bandwidth. 

    Thank you for your patience.

    In the meantime, Have you looked at the following resources for TLV320AIC3268?

    As well as section 8.3.9.1.1 I2C Control Mode on the Datasheet?

    Regards,

    -Josue