您好,团队
我们希望通过 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);
请帮您检查。
谢谢