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.

[参考译文] TLV320ADC5140:TLV320ADC5140 &'t 输出 I2S DOUT、DEV_STS0 和 DEV_STS1 显示 ADC 未上电

Guru**** 2782575 points

Other Parts Discussed in Thread: TLV320ADC5140

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

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1619488/tlv320adc5140-tlv320adc5140-doesn-t-output-i2s-dout-dev_sts0-and-dev_sts1-show-adc-not-powered-up

器件型号: TLV320ADC5140

我已将 ADCx140EVM-PDK 配置为 I2S 主器件、但虽然我已通过示波器确认 FSYNC 和 BCLK 正常、但 DOUT 上不会输出数据。

我发现一些帖子似乎有相同的问题、但我仍然无法让 ADCx140EVM-PDK 输出数据。

帖子:

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1187674/tlv320adc5140-unable-to-powerup-the-input-channels-dev_sts0-and-dev_sts1-indicate-channels-are-not-powered-up

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1318765/tlv320adc5140-configuring-and-testing-tlv320adc5140-on-renesas-rzg2h-kernel-5-10-158?tisearch=e2e-sitesearch&keymatch=tlv320adc5140

我已经确认 Linux 可以接收 I2S 数据并且 TLV320ADC5140 输出 BCLK 和 FSYNC。 我还对 I2C 完全控制、因此只需配置 TLV320ADC5140、使其充当 I2S 主设备并输出数据。 目前、我只需确认硬件可配合使用、因此手动触发 I2C 可快速进行操作。

当我使用录制声音arecord -D hw:0,0 -f S16_LE -r 48000 -c 2 /tmp/test.wav时、寄存器(来自 i2cdump)如下:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 00 81 00 00 05 00 40 00 00 00 00 01 02 03 04    ..?..?.@....????
10: 05 06 07 81 48 18 10 10 04 20 02 08 00 00 02 40    ????H???? ??..?@
20: 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ."..............
30: 00 00 00 ff 00 00 40 00 80 00 00 60 00 a8 c9 80    ......@.?..`.???
40: 00 00 a8 c9 80 00 00 a8 c9 80 00 00 a8 c9 80 00    ..???..???..???.
50: 00 00 c9 80 00 00 00 c9 80 00 00 00 c9 80 00 00    ..??...??...??..
60: 00 c9 80 00 00 00 00 00 00 00 00 01 40 7b 00 00    .??........?@{..
70: e7 00 00 f0 00 e0 00 c0 00 00 ff 00 ff 8c 55 00    ?..?.?.?.....?U.
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

我找到的所有示例都是在将 GPIO1 MCLK 配置用作 I2S 主器件时使用该器件。 我尚未找到明确提到的内容、但我是否需要在主器件配置中为器件提供外部时钟源? 或者、我是否仍可以执行其他操作来将器件用作 I2S 主器件、而无需额外的硬件?

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

    尊敬的 Sami:

    是的、将 TLV320ADC5140 配置为 ASI 主器件需要将 GPIO1 配置为 MCLK。 您可以通过以下应用手册阅读完整的详细信息: https://www.ti.com/lit/an/sbaa382/sbaa382.pdf

    此致、

    Garret

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

    啊、我终于看到这句话、谢谢。

    只是为了确保:它是否需要外部时钟? 例如、我是否可以使用一些特定设置粗鲁地将 BCLK 路由到 GPIO1 并期望它正常工作?

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

    是的、它应该是外部 MCLK。

    此致、

    Garret