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.

[参考译文] TIDA-01454:如何更改 CMB 中的默认采样率?

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

https://e2e.ti.com/support/tools/simulation-hardware-system-design-tools-group/sim-hw-system-design/f/simulation-hardware-system-design-tools-forum/1119965/tida-01454-how-to-change-default-sampling-rate-in-the-cmb

器件型号:TIDA-01454
主题中讨论的其他器件:PCM1864

您好!

默认情况下、CMBS 工作频率似乎为96KHz、我可以使用 I2C 配置更改它吗?

0x94 0x00 0x00 // Change to Page 0
0x94 0x01 0x40 // PGA CH1_L to 32dB
0x94 0x02 0x40 // PGA CH1_R to 32dB
0x94 0x03 0x40 // PGA CH2_L to 32dB
0x94 0x04 0x40 // PGA CH2_R to 32dB
0x94 0x05 0x86 // Enable SMOOTH PGA Change; Independent Link PGA;
0x94 0x06 0x41 // Polarity: Normal, Channel: VINL1[SE]
0x94 0x07 0x41 // Polarity: Normal, Channel: VINR1[SE]
0x94 0x08 0x44 // Polarity: Normal, Channel: VINL3[SE]
0x94 0x09 0x44 // Polarity: Normal, Channel: VINR3[SE]
0x94 0x0A 0x00 // Secondary ADC Input: No Selection
0x94 0x0B 0x44 // RX WLEN: 24bit; TX WLEN: 24 bit; FMT: I2S format
0x94 0x10 0x03 // GPIO0_FUNC - SCK Out; GPIO0_POL - Normal
0x94 0x11 0x50 // GPIO3_FUNC - DOUT2; GPIO3_POL - Normal
0x94 0x12 0x04 // GPIO0_DIR - GPIO0 - Output
0x94 0x13 0x40 // GPIO3_DIR – GPIO3 - Output
0x94 0x20 0x11 // MST_MODE: Master; CLKDET_EN: Disable



0x96 0x00 0x00 // Change to Page 0
0x96 0x01 0x40 // PGA CH1_L to 32dB
0x96 0x02 0x40 // PGA CH1_R to 32dB
0x96 0x03 0x40 // PGA CH2_L to 32dB
0x96 0x04 0x40 // PGA CH2_R to 32dB
0x96 0x05 0x86 // Enable SMOOTH PGA Change; Independent Link PGA;
0x96 0x06 0x41 // Polarity: Normal, Channel: VINL1[SE]
0x96 0x07 0x41 // Polarity: Normal, Channel: VINR1[SE]
0x96 0x08 0x44 // Polarity: Normal, Channel: VINL3[SE]
0x96 0x09 0x44 // Polarity: Normal, Channel: VINR3[SE]
0x96 0x0A 0x00 // Secondary ADC Input: No Selection
0x96 0x0B 0x44 // RX WLEN: 24bit; TX WLEN: 24 bit; FMT: I2S format
0x96 0x10 0x00 // GPIO0_FUNC – GPIO0; GPIO0_POL - Normal
0x96 0x11 0x50 // GPIO3_FUNC - DOUT2; GPIO3_POL - Normal
0x96 0x12 0x00 // GPIO0_DIR - GPIO0 - Input
0x96 0x13 0x40 // GPIO3_DIR – GPIO3 - Output
0x96 0x20 0x01 // MST_MODE: Slave; CLKDET_EN: Enable

为了获得44kHz 的频率、我需要在这里进行哪些更改?

提前感谢

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

    您好、Mikel、

    您需要参考 PCM1864数据表才能配置每个器件。 在从机模式下、您不需要任何寄存器配置、只需馈入44kHz 时钟即可。 在主控模式下、需要 PLL 配置、您可以在表9和表10中找到该配置。 如果 CLKDET_EN 为高电平、这应该自动发生。 但是、这些表格将向您展示如何在需要时手动执行。 请注意、48kHz 采样的比率与44.1kHz 采样的比率相同。 第 9.3.9.4.2节提供了有关时钟树的更多信息。  

    此致、

    Jeff