嗨支持团队,
我有da7217评估套件,我有以下问题:
首先,我通过I2C设置编解码器和音频路径。然后,我反复通过I2S播放音调。
我通过I2S发挥音调的前几次,它按预期工作。但是,在多次播放音调后,编解码器也播放具有高频率和卷积的另一个音调。
多次播放几次后,高频音得太大了。此外,此时,编解码器开始使用更多电流(0.03A而不是0.01A),即使我不玩任何东西。
我的设置:
IO电压:3.0V
PLL:旁路模式,仅在通过I2S传输某些东西时应用MCLK。
I2C设置(从0到255寄存器):
[0x1,0x0,0x0,0x0,0x23,0x39,0x4,0x0,0x0,0x0,0x0,0xAA,0x2,0x0,0xF,0x35,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x0,0x0,0x80,0x77,0x77,0x7,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x48,0x3,0x48,0x3,0x0,0x0,0x0,0x3f,0x3f,0x0,0xff,0x71,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x7f,0x0,0x0,0x24,0x0,0x10,0x1,0x31,0x11,0x1,0x74,0x1,0x1,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x4,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x20,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x10,0x1c,0x1c,0x10,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x4,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x90,0x10,0x0,0x0,0x1,0x14,0x0,0x1,0x14,0xb,0x60,0x4,0x0,0x0,0x0,0x12,0x0,0x0,0x0,0x0,0x0,0x0,0x55,0x15,0x0,0x55,0x15,0x0,0x40,0x0,0x2,0x1,0xb7,0x4d,0x0,0xb7,0x4d,0x0,0xF0,0x11,0x0,0x0,0x0,0x80,0xf,0x0,0x40,0x1,0x0,0x0,0x40,0x1,0x0,0x0,0x0,0x80,0x0,0x0,0x7,0x7,0x0,0x0,0x0,0x0,0x0,0x0,0x8,0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x3,0x80,0x3,0xa8,0x3b,0xa8,0x3b,0x0,0x1,0x44,0x0,0xb,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x1c,0x0,0x1,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6f,0x6f,0x6f,0x6f,0x6f,0x6f,0x0,0x0,0x0,0x0,0x0,0x0]
我怎样才能解决这个问题?
另一个问题:
在评估板附带的示例脚本中,在DAC到HP.txt中,我看到以下行:
写DA7217 0xcc 0x01 // mixOut_l启用
写da7217 0xce 0x01 // mixOut_r启用
但是,数据表表示这些位保留。在示例脚本中或在数据表中是一个错误吗?
问候,
亚伯
你好,
如果您正在获得其他谐波和增加的电源电流,似乎是供应时钟的问题。
关于“MCLK的评论”仅在通过I2S传输时才应用的评论,只需确保您再次传输前一段时间。
你用的是什么MCLK和WLCK?
可以使用以下比特: -
写DA7217 0xcc 0x01 // mixOut_l启用
写da7217 0xce 0x01 // mixOut_r启用
你好,
我的MCLK是11.2MHz。每个BCLK都有8个MCLEK,每个WCLK都有32个BCLKS(16倍BCLK,当WCLK为ON时,WCLK OFF时为16倍)。
问候,
亚伯