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.

TAS2505: TAS2505 SPK Unable to output sound normally

Part Number: TAS2505

dear all:

           I used TAS2505 on the project. The data is 16KHZ sampling rate, 16 bit, mono mode.  My configuration is as follows. SPK Unable to output sound normally. Please help me to see what is wrong with the register configuration? thank you!

static const unsigned char TxData[] =              // Table of data to transmit
{
  /// A2DP Sink - Enable Speaker Playback Class-D ///
  ///////////////// Initialization //////////////////
  // Px, P0              Switch to Page 0
  0x00, 0x00,
  // Software Reset Register
  // P0, R1, b0.         Reset = SW Reset - Internal Registers
  0x01, 0x01,
  // Px, P1              Switch to Page 1
  0x00, 0x01,
  // LDO Control Register
  // P1, R2, b5-4.       AVDD LDO Output = 1.8V
  // P1, R2, b3.         PLL and HP Level Shifters = Power Up
  0x02, 0x04,

 
  ////////////// Digital Configuration //////////////
  // Px, P0              Switch to Page 0
  0x00, 0x00,
  0x04, 0x07,
  0x05, 0x91,
  0x06, 0x18,
  0x07, 0x00,
  0x08, 0x00,
  0x0B, 0x83,
  0x0C, 0x88,
  0x0D, 0x00,
  0x0E, 0x50,
  
  0x1B, 0x00,
  // Audio Interface Setting Register 2 - Data Offset
  // P0, R28, b7-0.      Data Offset = 1
  0x1C, 0x01,
  // DAC Instruction Set
  // Filter A - Best Performance, PRB_P1
  // P0, R60, b4-0.     Processing Block: PRB_P1
  0x3c, 0x01,
 
  ////////////// Analog Configuration //////////////
  // Px, P1              Switch to Page 1
  0x00, 0x01,
  // REF, POR and LDO BGAP Control Register
  // P1, R1, b4.         Master Reference = Power Up
  // P1, R1, b3.         POR Power Control = Power Up
  // P1, R1, b1.         LDO Bandgap = Power Up
  0x01, 0x10,
  // Common Mode Control Register
  // P1, R10, b6.        Analog Output Common Mode = 0.9V
  0x0A, 0x00,
  // P1, R3, b5.         DAC Mode = Enabled/Low-Power
  // P1, R3, b4-2.       DAC PTM Control = PTM_P3
  0x03, 0x00,
  // Speaker Volume Control 1 ?Best value = 0dB
  // P1, R46, b6-0.      Spk Analog Gain = 0dB
  0x2E, 0x00,
  // Speaker Volume Control 2 ?Tune to best value
  // P1, R48, b6-4.      Spk Driver Gain = 12.0dB
  0x30, 0x50,
  // Speaker Amplifier Control 1
  // P1, R45, b1.        Spk Driver = Power Up/Reset
  0x2D, 0x02,
 
  //////////////////// Power On ///////////////////
  // Px, P0              Switch to Page 0
  0x00, 0x00,
  // DAC Channel Setup Register 1
  // P0, R63, b7.        DAC Power = Power Up
  // P0, R63, b5-4.      DAC Path = Mix of L+R
  // P0, R63, b1-0.      Soft-Step Control = 1 step/WCLK
  0x3F, 0xB4,
 
  // DAC Channel Digital Volumer Control Register
  // Max Value = 0dB, Min Value = -63dB. Not recommended to use + values
  // P0, R65, b7-0.      DAC Volume = 0dB (0)
  0x41, 0x00,
  // DAC Channel Setup Register 2
  // P0, R64, b6-4.      Auto Mute = Enabled / DC >100 consecutive inputs
  // P0, R64, b3.        Mute Control = Unmuted
  0x40, 0x14
};