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.

[参考译文] TAS5805M:根据 PPC3、[TAS5805M]寄存器不起作用

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

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1053621/tas5805m-tas5805m-register-is-not-work-according-to-ppc3

器件型号:TAS5805M

您好,团队

我们希望通过 PPC3启用一些配置。

我们还可以在 PPC3中获取报头文件。

但是、当我们根据头文件配置代码时、它不会生效。

实例:

我们更改了音量 ,需要将以下寄存器更改为头文件:

{ 0x00、0x00 }、
{ 0x7f、0x00 }、
{0x00、0x2a}、
{0x25、0x28}、
{0x26、0x7a}、
{0x27、0x27}、
{0x29、0x28}、
{0x2a、0x7a}、
{0x2b、0x27}、

但从代码看、寄存 器地址正确、但书籍不正确。

//w 58 00 00 00
regmap_write (tas5805m->regmap、TAS5805M_REG_00、TAS5805M_PAGE_00);
/w 58 7f 8c
regmap_write (tas5805m->regmap、TAS5805M_REG_7F、TAS5805M_book_8C);
/w 58 00 2a
regmap_write (tas5805m->regmap、TAS5805M_REG_00、TAS5805M_PAGE_2A);
//w 58 24 xx xx xx xx xx xx
regmap_write (tas5805m->regmap、TAS5805M_REG_24、字节4);
regmap_write (tas5805m->regmap、TAS5805M_REG_25、字节3);
regmap_write (tas5805m->regmap、TAS5805M_REG_26、byte2);
regmap_write (tas5805m->regmap、TAS5805M_REG_27、字节1);
//w 58 28 xx xx xx xx xx xx
regmap_write (tas5805m->regmap、TAS5805M_REG_28、字节4);
regmap_write (tas5805m->regmap、TAS5805M_REG_29、字节3);
regmap_write (tas5805m->regmap、TAS5805M_REG_2A、字节2);
regmap_write (tas5805m->regmap、TAS5805M_REG_2B、字节1);

请帮您检查。

谢谢

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

    尊敬的 Zhi强:  

    当我使用 PPC3将音量设置为-10dB 时、日志显示如下;

    W 58 00 //转至0x00页
    w 58 7f 8c //将书籍更改为0x8c
    w 58 00 2a //转至书籍0x8c 的0x2a 页
    W 58 24 00 28 7a 27 //将寄存器24~27写入值0x00 0x28 0x7A 0x27
    宽58 00 00
    宽58 7f 8c
    宽58 00 2a
    宽58 28 00 28 7a 27

    当我转储到头文件时、如下所示、这与 PPC3日志相匹配。 请检查您的配置。