Other Parts Discussed in Thread: TAS6424
Tool/software:
The TDM clock and data of Tas6424 are output by the Soc side.
The format of the wav file played by the Soc side is 8 channels, 32 bits, and a sampling rate of 48000.
The input pins of the amp are measured with an oscilloscope, and Bclk, FSclk, and Data are all correct.
In addition, the following power supply pins of Tas6424 are also measured correctly, and the results are as follows:
VBAT/PVDD are both 12V
VDD is 3.3V
Pins: Standby and Mute are also measured at high levels.
1. After power on, set the Standby and Mute pins of tas6424 to high level.
2. Then set the following registers:
1) SAP Control (Serial Audio-Port Control) Register (address = 0x03) Set to 0x46 (other values such as 0x44, 0x45, 0x43 have also been tried, and the results are the same)
2) Channel State Control Register (address = 0x04) Set to 0x0;
Then the software follows the process of the Note prompt in datasheet:10.2.1.2.2 Digital Input and the Serial Audio Port
But as long as the Channel State Control Register (address = 0x04) is set to 0x0 (Play state), the value of Global Faults 1 Register (address = 0x11) will become 0x10 (i.e.: INVALID CLOCK), The software will use Bit7 (CLEAR) of Miscellaneous Control 3 Register (address = 0x21) FAULT) to clear the error;
1) If the Soc side does not play the wav file, the value of the Channel State Reporting Register (address = 0x0F) is the default value 0x55 (Hi-Z state);
2) If the Soc side is playing the wav file, the value of the Channel State Reporting Register (address = 0x0F) will become 0xAA (Mute state);
the value of the Global Faults 1 Register (address = 0x11) will become 0x0. Until the end of the playback
3) After the Soc side finishes playing, the value of the Channel State Reporting Register (address = 0x0F) will become the default value 0x55 (Hi-Z state); The value of the Global Faults 1 Register (address = 0x11) will become 0x10 (i.e.: INVALID CLOCK).
This cycle repeats, and the speaker never outputs any sound.
Urgent, please reply as soon as possible, thank you!