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.

TLV320AIC3254: TLV320AIC3254IRHBR

Part Number: TLV320AIC3254

Hello:

About Audio codec TLV320AIC3254 application problems:

1.  Audio codec TLV320AIC3254 output 1kHz sin wave, Audio codec 3254 how to control the 1kHz sine wave volume and adjust the volume size? (very important)

2. Audio Codec TLV320AIC3254 output 1kHz sin wave, after amplifier amplification, it will not distortion

Best Regards
Leon
 

Mobile:(86)159 8985 2994
Tel:(86)755-26743880 Ext:6643
Fax:(86)755-26743990

  • Hi, Leon,

    In order to adjust the sine wave volume, you would need to modify the Page 0 /Register 65-66.

    Could you provide your register configuration, please? This is to have a better approach to this issue.

    Thank you.

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

    Thank you for your support

    We are using the TLV320AIC3254 EVM test to adjust the 1kHz sine wave, 3254 output normal.

    But, the use of our design board(monitor) test, Audio codec(3254) is set to 1kHz sin wave mode, audio codec no 1kHz waveform output.

    The following is TI provides audio codec I2C command, please help check. 

    Ch1/Ch2 Select IIC Command

    This channel option determines the B&O sound switch

    Ch1 without B&O sound

    Ch2 with B&O sound

    B&O Effect OFF

    B&O Effect ON

    # Set page address to 2C

    w 30 00 2C

    B&O Effect OFF

    w 30 24 00

    > 00

    > 01

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2C

    B&O Effect OFF

    w 30 24 00

    > 00

    > 01

     

     

    # Set page address to 2C

    w 30 00 2C

    B&O Effect ON

    w 30 24 FF

    > FF

    > FF

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2C

    B&O Effect ON

    w 30 24 FF

    > FF

    > FF

     

     

     

     

     

    Ch1/Ch2 Select IIC Command

    This channel options to achieve audio self-test function

    Ch1 to achieve Audio Self-Test function

     

    Ch2 Normal sound output

     

    test tone ON

    test tone OFF

    # Set page address to 2C

    w 30 00 2D

    test tone ON

    w 30 64 00

    > 00

    > 01

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2D

    test tone ON

    w 30 64 00

    > 00

    > 01

     

     

    # Set page address to 2C

    w 30 00 2D

    test tone OFF

    w 30 64 FF

    > FF

    > FF

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2D

    test tone OFF

    w 30 64 FF

    > FF

    > FF

     

     

     

     

    For headphone and speaker, we suggest to control the following amp gain setting instead of the volume inside DSP.

    For headphopne control register, it is in page 1 register 16 and page 1 register 17.

    For line out speaker path, it is in page 1 register 18 and page 1 register 19.

    Best Regards
    Leon
    WT Group

     Mobile:(86)159 8985 2994
    Tel:(86)755-26743880 Ext:6643
    Fax:(86)755-26743990

     

  • Hi, Luis Fernando Rodríguez
    Attch 1 is  TI provides audio codec I2C command, please help check and Block diagram
    Attch 2 is  the System block diagram. F.Y.I
    Best Regards
    Leon
    文晔集团
    广东省深圳市南山区科技园科发路3
    长城计算机大厦1#2B段东
    Mobile:(86)159 8985 2994
    Tel:(86)755-26743880 Ext:6643
    Fax:(86)755-26743990
     
    寄件者: zhao zhaoyong [mailto:bounce-1817528@mail.e2e.ti.com]
    寄件日期: 201736 17:08
    收件者: AudioConvertersForum@mail.e2e.ti.com
    主旨: Audio Converters Forum: TLV320AIC3254: TLV320AIC3254IRHBR
     

     

    A Message from the TI E2E™ Community

     

    zhao zhaoyong replied to TLV320AIC3254: TLV320AIC3254IRHBR.

    Hello

    Thank you for your support

    We are using the TLV320AIC3254 EVM test to adjust the 1kHz sine wave, 3254 output normal.

    But, the use of our design board(monitor) test, Audio codec(3254) is set to 1kHz sin wave mode, audio codec no 1kHz waveform output.

    The following is TI provides audio codec I2C command, please help check. 

    Ch1/Ch2 Select IIC Command

    This channel option determines the B&O sound switch

    Ch1 without B&O sound

    Ch2 with B&O sound

    B&O Effect OFF

    B&O Effect ON

    # Set page address to 2C

    w 30 00 2C

    B&O Effect OFF

    w 30 24 00

    > 00

    > 01

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2C

    B&O Effect OFF

    w 30 24 00

    > 00

    > 01

     

     

    # Set page address to 2C

    w 30 00 2C

    B&O Effect ON

    w 30 24 FF

    > FF

    > FF

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2C

    B&O Effect ON

    w 30 24 FF

    > FF

    > FF

     

     

     

     

     

    Ch1/Ch2 Select IIC Command

    This channel options to achieve audio self-test function

    Ch1 to achieve Audio Self-Test function

     

    Ch2 Normal sound output

     

    test tone ON

    test tone OFF

    # Set page address to 2C

    w 30 00 2D

    test tone ON

    w 30 64 00

    > 00

    > 01

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2D

    test tone ON

    w 30 64 00

    > 00

    > 01

     

     

    # Set page address to 2C

    w 30 00 2D

    test tone OFF

    w 30 64 FF

    > FF

    > FF

    # set page address to 08

    w 30 00 08

    # Swap Buffer

    w 30 01 05

    # Wait 200 ms

    d 200 # (prefer wait for D0 to clear)

    # Set page address to 2C

    w 30 00 2D

    test tone OFF

    w 30 64 FF

    > FF

    > FF

     

     

     

     

    For headphone and speaker, we suggest to control the following amp gain setting instead of the volume inside DSP.

    錯誤! 尚未指定檔名。

    For headphopne control register, it is in page 1 register 16 and page 1 register 17.

    錯誤! 尚未指定檔名。

    For line out speaker path, it is in page 1 register 18 and page 1 register 19.

    錯誤! 尚未指定檔名。

    Best Regards
    Leon
    WT Group

     Mobile:(86)159 8985 2994
    Tel:(86)755-26743880
    Ext:6643
    Fax:(86)755-26743990

     

     

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.

     
  • Hi, Zhao,

    The documentation that you attached seems to refer to a PurePath Studio process flow. Could you send me the process flow that you are using? It is a .pfw file that works on PurePath Studio. This is to have a better approach to this issue.

    Thank you.

    Best regards,
    Luis Fernando Rodríguez S.