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.

[参考译文] TLV320ADC3100:右通道启动问题

Guru**** 2390755 points
Other Parts Discussed in Thread: TLV320ADC3100

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1204038/tlv320adc3100-right-channel-bring-up-issues

器件型号:TLV320ADC3100

您好!

我正在设计中使用 TLV320ADC3100、无法获得正确的通道来发送数据。 但是、我成功地从左声道获得了音频。

该设计针对左通道使用 IN2L 和 IN3L 的差分设置、并针对右通道使用 IN2R 和 IN3R 的差分设置。 输入与设置为 VCC/2的共模电压直流耦合。

使用 PLL 从 BCLK 中提取时钟。 将 BCLK 和 WCLK 馈送到 IC、并发送 SDATA。

这是用于初始化芯片的启动代码。

  // Set register page to 0
  i2c_write (ADD_ADC, 0x00, 0x00);
  // Reset ADC
  i2c_write (ADD_ADC, 0x01, 0x01);
  pca_2_wait(1 * PCA_TICKS_PER_MS);

  // Setup ADC PLL
  // Set PLL to multiply BCLK by 8
  i2c_write (ADD_ADC, 0x04, 0x07);
  i2c_write (ADD_ADC, 0x05, 0x18);
  i2c_write (ADD_ADC, 0x06, 0x01);
  i2c_write (ADD_ADC, 0x07, 0x00);
  i2c_write (ADD_ADC, 0x08, 0x00);

  // Power up PLL
  i2c_write (ADD_ADC, 0x05, 0x98);

  // Set ADC clock dividers
  // NADC = 2
  i2c_write (ADD_ADC, 0x12, 0x82);
  // MADC = 2
  i2c_write (ADD_ADC, 0x13, 0x82);
  // AOSR = 128
  i2c_write (ADD_ADC, 0x14, 0x80);
  // BCLK N = 8
  i2c_write (ADD_ADC, 0x1E, 0x84);

  // 24-bit i2s, BCLK in, WCLK in, No tri-stating of DOUT
  i2c_write (ADD_ADC, 0x1B, 0x20);

  // Switch to page 1
  i2c_write (ADD_ADC, 0x00, 0x01);

  // Setting MICBIAS to Unused
  i2c_write (ADD_ADC, 0x33, 0x00);

  // Setting ADC routing and gain
  // Differential Left
  i2c_write (ADD_ADC, 0x34, 0x3F);
  // Differential Right
  i2c_write (ADD_ADC, 0x37, 0x3F);
  // Left 0dB
  i2c_write (ADD_ADC, 0x3B, 0x00);
  // right 0dB
  i2c_write (ADD_ADC, 0x3C, 0x00);

  // Power up ADC
  // Switch back to page 0
  i2c_write (ADD_ADC, 0x00, 0x00);
  // Power up left/right ADC
  i2c_write (ADD_ADC, 0x51, 0xC2);
  // Unmute ADC
  i2c_write (ADD_ADC, 0x52, 0x00);

是否缺少某些设置或配置以便从正确的通道中获取音频?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您能否告知我您正在向 IC 提供的输入时序?

    此外、您是否可以向我发送左侧和右侧输入引脚上可见的波形的示波器快照?