I use TPA6404 in my design,
when i run load diagnostics with the step listed in chapter 9.3.6 of TPA6404's datasheet, i found the result of dc load diagnostics and line output diagnostics is related to my actual hardware, but the result of ac load diagnostics are all zero, i have no idea about this now, need help.
herre is my step:
......other......
......dc load diagnostics......
first i read all regs checked, all are same with default value listed in datasheet
0x80->reg 0x16; 0x32->reg 0x2A; 0x08->reg 0x15;
wait reg 0x0F show CH1 change to Hi-Z mode
read reg 0x1B and reg 0x1C
0x80->reg 0x16; 0x32->reg 0x2A; 0x02->reg 0x15;
wait reg 0x0F show CH3 change to Hi-Z mode
read reg 0x1B and reg 0x1C (i justread 0)
set CHx into Hi-Z mode(reg 0x04); 0x00->reg 0x16; 0x32->reg 0x2A; set CHx start AC load diagnostics(reg 0x15)
wait reg 0x0F show CHx change to Hi-Z mode
read reg 0x1B~0x1E (i justread 0)
red reg 0x17~0x1A (i justread 0)
......other....
btw, i did'nt find "AC diagnostic mode" bit in tpa6404's reg list. so i just use "DC diagnostics mode" (reg 0x0F)
When the test is complete the channel reporting register indicates the status change from the AC diagnostic
mode to the Hi-Z state. The detected phase is stored in the appropriate I2C register when the device transitions
to the Hi-Z state.