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.

[参考译文] RTOS/TLV320AIC3105:TLV320AIC3105编解码器:显示系统时钟(SYSCLK)为0

Guru**** 2420410 points
Other Parts Discussed in Thread: TLV320AIC3105

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

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/702805/rtos-tlv320aic3105-tlv320aic3105-codec-showing-system-clock-sysclk-as-0

器件型号:TLV320AIC3105

工具/软件:TI-RTOS

您好、技术团队、

我们已经将 TLV320AIC3105与定制处理器相连接。  当我使用"aplay"($ aplay song.wav)播放 wav 文件时 、我没有获得系统时钟(SYSCLK)、它显示为0、最终回放不成功。 在 tlv320aic3x.c 编解码器驱动程序 aic3x_hw_params()中,显示无法设置 PLL 和 hw_params :-22错误。 我已将 debugs 置于同一函数中(请参阅下面的内容)

在播放期间、我收到以下错误、

aic3x_hw_params 启动--- !!!!!!!!!!!!!
aic3x_hw_params --宽度= 16!!!!!!!!!!!!!
aic3x_hw_params -- data==0!!!!!!!!!!!!!!!!
Aic3x_hw_params case16!!!!!!!!!!!
aic3x_hw_params 数据= 0!!!!!!!!!!!!!!!!!!!!!!!
aic3x_hw_params -- fssref-- 44100!!!!!!!!!!!!!!!!!
aic3x_hw_params -- aic3x->SYSCLK -- 0!!!!!!!!!!!!!!!!!!!
aic3x_hw_params():无法设置 PLL
tlv320aic3x-codec 1-0018:asoc:无法设置 tlv320aic3x-hifi HW 参数:-22
aic3x_set_dai fmt!!!!!!!!!!!!!!
aic3x_set_dai tdm_slot!!!!!!!!!!!!!!!!
aic3x_set_dai fmt!!!!!!!!!!!!!!
ALSA lib ./../../alsa-lib-1.1.2/src/pcm/pcm_direct.c:1054:(snd1_pcm_direct_initialize_slave)无法安装 HW 参数
ALSA lib ./../../alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1053:(snd_pcm_dmix _open)无法初始化从设备
aplay:main:805:音频打开错误:无效参数

请任何人指导我解决上述错误。

提前感谢。  

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

    您能否共享有关设备配置的更多信息? 您能否共享 AIC3x_HW_params 调用? 看起来 SYSCLK 设置为0会阻止您设置 PLL……

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

    您好!

    感谢您的回答。

    正如我在   下面给出的驱动程序代码中看到 aic3x_hw_params()被 aic3x_di_ops()调用,

    静态常量结构 snd_soc_da_ops aic3x_da_ops ={
    hw_params = aic3x_hw_params、
    .prepare = aic3x_prepare、
    digited_mute = aic3x_mute、
    .set_SYSCLK = aic3x_set_dai SYSCLK、

    我随附了 tlv320aic3x.c 编解码器和我的机器驱动程序 IMX_tlv320.c 代码、以了解更多信息。

    谢谢、

    等待您的回复。  e2e.ti.com/.../imx_2D00_tlv320.c

    e2e.ti.com/.../7115.tlv320aic3x.c

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

    Jayalaxmi

    似乎您没有将 SYSCLK 设置为值。  您必须在此处提供您的 SYSCLK 频率。  

    此致、  

    -Steve Wilson