Hi:
1、requirement
info:
system: linux , and use iic to connect tas2559,use <tas2559-android-driver>
1.1、When there is no player to play music ,and the speaker to be silence , I need to set tas2559 to be a low power mode .
1.2、When Player is playing music,I need to resume tas2559 to normal mode.
2、I read the pdf <TAS2559 5.7-W Class-D mono audio amplifier with class-H boost and speaker sense with
stereo processing >
3、I get the info :
"9.6.2.35 LOW_POWER (book=0x00 page=0x00 address=0x79) [reset=0h] "
3.1、low power mode :I set iic from user space
{ 0x00, 0x00 },
{ 0x7f, 0x00 },
{ 0x79, 0x80 },
if I set this data to tas2559 , I can not hear sound .
3.2、normal mode :I set iic from user space
{ 0x00, 0x00 },
{ 0x7f, 0x00 },
{ 0x79, 0x00 },
after I set step 3.1 , then I set this data to tas2559 ,the sound cat not resume , I can not hear sound too. So I will never Hear sound unless to reboot system;
(Please help me check the step 3.1 and 3.2 , is that right ? can I use the reg to get low power mode )
4、when I read driver source , and find
"#define TAS2559_SLEEPMODE_CTL_REG TAS2559_REG(0, 2, 7)"
then I can not find info from PDF。Can this reg set the device to be a sleep mode ?if can ,then how can i use it , set which date to tas2559 ,let it switch between low power mode and normal mode . can you give me a demo.
thanks!