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.

TLV320AIC3104-Q1: TLV320AIC3104-Q1 register setting

Part Number: TLV320AIC3104-Q1
Other Parts Discussed in Thread: TLV320AIC3104

Hi team,

Could you please help to check attached register setting for aic3104 is OK?

The input signal is 16Bit, PCM is 8KHz, and MCLK is 19.2MHz.

00: 00
01: 80
02: aa
03: 91
04: 14
05: 12
06: c0
07: 0a
08: 00
09: 40
0a: 01
0b: 01
0c: 00
0d: 00
0e: 00
0f: 20
10: 20
11: ff
12: ff
13: 00
14: 78
15: 78
16: 00
17: 78
18: 78
19: 00
1a: 00
1b: fe
1c: 00
1d: 00
1e: fe
1f: 00
20: 18
21: 18
22: 00
23: 00
24: 00
25: c0
26: 00
27: 00
28: 00
29: 00
2a: 00
2b: 2f
2c: 2f
2d: 2f
2e: 2f
2f: af
30: 00
31: 00
32: 00
33: 0d
34: 2f
35: 2f
36: af
37: 00
38: 00
39: 00
3a: 05
3b: 00
3c: 00
3d: 00
3e: 2f
3f: 2f
40: af
41: 0d
42: 00
43: 00
44: 00
45: 2f
46: 2f
47: af
48: 05
49: 2f
4a: 2f
4b: af
4c: 2f
4d: 2f
4e: af
4f: 09
50: 2f
51: 2f
52: af
53: 00
54: 00
55: 00
56: 09
57: 00
58: 00
59: 00
5a: 2f
5b: 2f
5c: af
5d: 09
5e: 00
5f: 00
60: 00
61: 00
62: 00
63: 00
64: 00
65: 00
66: 02
67: 00
68: 00
69: 00
6a: 00
6b: 00
6c: 00
6d: 00

Thanks!

  • Hello Fery,

    This configuration has a correct PLL settings for an MCLK of 19.2MHz, the word length is set to 16bit, and the data format is DSP.
    Is your customer experiencing problems?

    best regards,
    -Steve wilson
  • Hi Steve,

    Customer feedback that the input I2S signal is normal, and I2C communication work fine. But no output at the AIC3104, could you please help to check if any register I needs to set?

    Thanks!

  • Fery,
    Note that the audio format is set for "DSP MODE" not "I2S". If the customer would like to use I2S, they need to select this mode.

    please changed register 09 to 0x00

    Can you tell me which output they want to use?

    -Steve Wilson
  • Hi Steve,

    customer is using HPROUT and HPLOUT as output. Any register needs to set for it?


  • Fery,

    please review the settings for registers 43 and 44  they are currently set programed with a value of 0x2F  try setting them to 0x00. also,

    registers 47 and 65 there currently they are set to 0xaF,  try setting them to 0x80 to see if that helps.  HPROUT and HPLOUT are both powered up, and unmuted

    There is an excellent application report on the TLV320AIC3104 called "programming the TLV320AIC3104 made easy" that document is very helpful.  please take a look.

    I've also created this functional block diagram with registers,  that helps a lot when programming this device.

    best regards,

    -Steve Wilson

    2318.TLV320AIC3104_Functional_block_Diagram_With_Registers.pdf

  • Hi Steve,

    We have modified register 43/44 as 0x2F, and register 47/65 (should be register 64?) as 0x80 as you recommend.

    And found there is output on HPLOUT as below, but still no output at HPROUT.

    I also sent you the customer SCH through Email.

    HPLOUT

    HPROUT

  • Fery,

    Yes, should be Register 64 set to 0x80 and Register 65 set to 0x09

    that will enable the HPROUT.

    -STeve
  • Hi Steve,

    Customer have modified the register 64/65 accordingly, and still have NO output at HPROUT. Please check attached register setting, thanks!

    00: 00
    01: 80
    02: aa
    03: 91
    04: 14
    05: 12
    06: c0
    07: 0a
    08: 00
    09: 40
    0a: 01
    0b: 01
    0c: 00
    0d: 00
    0e: 00
    0f: 20
    10: 20
    11: ff
    12: ff
    13: 00
    14: 78
    15: 78
    16: 00
    17: 78
    18: 78
    19: 00
    1a: 00
    1b: fe
    1c: 00
    1d: 00
    1e: fe
    1f: 00
    20: 18
    21: 18
    22: 00
    23: 00
    24: 00
    25: c0
    26: 00
    27: 00
    28: 00
    29: 00
    2a: 00
    2b: 00
    2c: 00
    2d: 2f
    2e: 2f
    2f: 80
    30: 00
    31: 00
    32: 00
    33: 0d
    34: 2f
    35: 2f
    36: af
    37: 00
    38: 00
    39: 00
    3a: 05
    3b: 00
    3c: 00
    3d: 00
    3e: 2f
    3f: 2f
    40: 80
    41: 09
    42: 00
    43: 00
    44: 00
    45: 2f
    46: 2f
    47: af
    48: 05
    49: 2f
    4a: 2f
    4b: af
    4c: 2f
    4d: 2f
    4e: af
    4f: 09
    50: 2f
    51: 2f
    52: af
    53: 00
    54: 00
    55: 00
    56: 01
    57: 00
    58: 00
    59: 00
    5a: 2f
    5b: 2f
    5c: af
    5d: 01
    5e: 00
    5f: 00
    60: 00
    61: 00
    62: 00
    63: 00
    64: 00
    65: 00
    66: 02
    67: 00
    68: 00
    69: 00
    6a: 00
    6b: 00
    6c: 00
    6d: 00
    

  • And we have try to set register 7 as 0x14, then HPROUT have output signal, but HPLOUT have No output.
    And if we set register 7 as 0x0c, then both HPROUT/HPLOUT have output signal.
    Is it means the right channel input data have problem? And how should we fix it?

    Thanks!
  • Fery,

    Set register 7 to 0x0a. left channel plays left data, right channel plays right data.

    or also try setting register 7 to 0x17. both Left and right DACs play a mono mix of left and right data.

    best regards,
    -Steve Wilson
  • Hi Steve,

    When we set register 7 as 0x17, only HPROUT have output signal.

    When we set register 7 as 0x0a, only HPLOUT have output signal.

    When we set register 7 as 0x0c, both HPROUT/HPLOUT have output.

    Please check attached register setting.

  • Fery,
    it seems like only your Left Data channel is functioning. Are you sure you have right channel Data? can you give me a screen shot of the digital audio signals?

    best regards,
    -Steve Wilson
  • Hi Steve,

    Double check about the input audio signal, they don't have right channel data on the DSP output, only left channel data.

    Thanks for your help on this case!