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: There is no sound from the speaker.

Part Number: TAS2505

Hello,

I want to output I2S data to a speaker using TAS2505.
I made the settings with reference to SLAU472, but no sound is output.

When I dump the register, Page 1 / Register 45 is "0x00", and it seems that SPK output has not started.
Is this because the settings are wrong?

I will describe the format of the audio you want to output, the I2S input, and the register settings, so please let me know if there are any mistakes.

Best regards,

Audio format
-------------------------------------------------- -----------------------------------------
Sampling rate: 48kHz
Bit frame: 16bit
Number of data slots: 2 slots (because it is monaural)
-------------------------------------------------- -----------------------------------------

Port Input frequency
-------------------------------------------------- -----------------------------------------
MCLK: 12.288 [MHz]
BCLK: 1.53 [MHz]
WCLK: 96 [kHz]
-------------------------------------------------- -----------------------------------------

Register Settings
-------------------------------------------------- -----------------------------------------
# Page switch to Page 0
w 30 00 00
#Assert Software reset (P0, R1, D0 = 1)
w 30 01 01
# Page Switch to Page 1
w 30 00 01
# LDO output programmed as 1.8V and Level shifters powered up. (P1, R2, D5-D4 = 00, D3 = 0)
w 30 02 00
# Page switch to Page 0
w 30 00 00
#PLL_clkin = MCLK, codec_clkin = MCLK, MCLK (P0, R4, D1-D0 = 00)
w 30 04 00
# CLKOUT: DAC_MOD_CLK
w 30 19 05
# CLKOUT: ON
w 30 1A 81
#DAC NDAC Powered up, NDAC = 1 (P0, R11, D7 = 1, D6-D0 = 0000001)
w 30 0B 81
#DAC MDAC Powered up, MDAC = 2 (P0, R12, D7 = 1, D6-D0 = 0000010)
w 30 0C 82
#DAC OSR (9: 0)-> DOSR = 128 (P0, R12, D1-D0 = 00)
w 30 0D 00
#DAC OSR (9: 0)-> DOSR = 128 (P0, R13, D7-D0 = 10000000)
w 30 0E 80
#Codec Interface control Word length = 16bits, BCLK & WCLK inputs, I2S mode. (P0, R27, D7-D6 = 00, D5-D4 = 00, D3-D2 = 00)
w 30 1B 00
# Data slot offset 00 (P0, R28, D7-D0 = 0000)
w 30 1C 00
#Dac Instruction programming PRB # 2 for Mono routing. Type interpolation (x8) and 3 programmable Biquads. (P0, R60, D4-D0 = 0010)
w 30 3C 02
# Page Switch to Page 1
w 30 00 01
# Master Reference Powered on (P1, R1, D4 = 1)
w 30 01 10
# Output common mode for DAC set to 0.9V (default) (P1, R10)
w 30 0A 00
#DAC output is connected to HP Out Mixer (P1, R12, D2 = 1)
w 30 0C 00
#SPK attn. Gain = 0dB (P1, R46, D6-D0 = 000000)
w 30 2E 00
#SPK driver Gain = 6.0dB (P1, R48, D6-D4 = 001)
w 30 30 10
#SPK powered up (P1, R45, D1 = 1)
w 30 2D 02
# Page switch to Page 0
w 30 00 00
# GPIO: CLKOUT
w 30 34 11
#DAC powered up, Soft step 1 per Fs. (P0, R63, D7 = 1, D5-D4 = 01, D3-D2 = 00, D1-D0 = 00)
w 30 3F 90
#DAC digital gain 0dB (P0, R65, D7-D0 = 00000000)
w 30 41 00
#DAC volume not muted. (P0, R64, D3 = 0, D2 = 1)
w 30 40 04
-------------------------------------------------- -----------------------------------------

  • Hello, 

    Your configuration seems fine. The TAS2505 resets the speaker driver register (page 1, reg 45) when an short circuit error occurs. This may be what you are seeing. There are a couple different shorts that can be detected by the device: short to GND, short to PWR, and short between terminals. If you don't think any of these are happening, what is the impedance of the speaker you are using? 

    Best Regards,
    Justin Beigel

  • Hello,

    Thank you for checking the configuration.

    Should I check between the PKP terminal and the SPKM terminal and whether those two terminals are short-circuited to GND and PWR?

    The impedance of the speaker is 8Ω.

    Best Regards,

  • Hello, 

    A continuity test between the speaker terminals and GND/PWR would be a good check to perform for this. If that doesn't solve the issue, then I have a couple more questions for you: 

    1. If you monitor the speaker outputs while configuring the device, do the terminals ever power up or do they stay around 0V? 
    2. Would you be open to sharing a schematic of this? 

    Best Regards, 

    Justin Beigel

  • Hello, 

    There was a problem with the power circuit.
    I fixed the problem and confirmed the audio output.
    Thank you very much.

    When I change the volume, it makes a noise. Is there any procedure for changing the volume?

    Best Regards, 

  • Hello, 

    Are you changing the DAC or analog volume controls for this? If it is DAC, you may consider changing the soft-stepping setting in page0 register64. 

    Best Regards, 

    Justin Beigel