Hi Team,
Issue : No audio output from TAS2557 in custom board.
Description:
The driver is installed in Linux environment and there is no calibration file at the moment. The SoC acts as I2S master and there is a external DSP and TAS2557 interfaced as I2S slave.
The SoC and external DSP are working well.
Setup:
1. MCLK - 8.2MHz
2. Sampling rate - 8KHz
3. I2S data width - 16 bit
Kernel log:
i2c client is ok.
pTAS2557 created
Yes valid
PG2.1 Silicon found
i2c 1-004c: FW Size = 16746
i2c 1-004c: Checksum = 0xC605881A
i2c 1-004c: PPC Version = 0x5C000
i2c 1-004c: FW Version = 0x1010000
i2c 1-004c: Driver Version= 0x0300
i2c 1-004c: Timestamp = 1601623451
i2c 1-004c: DDC Name = firmware_8khz
i2c 1-004c: Description = TI SmartAmp
i2c 1-004c: find default configuration 0
i2c 1-004c: tas2557_set_bit_rate: nBitRate = 16
i2c 1-004c: load program 0 (Tuning Mode)
i2c 1-004c: TAS2557 load data: Tuning Mode Program, Blocks = 1, Block Type = 1
i2c 1-004c: TAS2557 load block: Type = 1, commands = 2867
i2c 1-004c: Block[0x1] PChkSum match
i2c 1-004c: Block[0x1] YChkSum match
i2c 1-004c: load PLL: pll block for Configuration configuration_Tuning Mode_8 KH z_s1
i2c 1-004c: TAS2557 load block: Type = 0, commands = 15
i2c 1-004c: load configuration configuration_Tuning Mode_8 KHz_s1 conefficient p re block
i2c 1-004c: TAS2557 load data: Snapshot 1, Blocks = 2, Block Type = 4
i2c 1-004c: TAS2557 load block: Type = 4, commands = 7
i2c 1-004c: Block[0x4] YChkSum match
i2c 1-004c: load new configuration: configuration_Tuning Mode_8 KHz_s1, coeff bl ock data
i2c 1-004c: TAS2557 load data: Snapshot 1, Blocks = 2, Block Type = 3
i2c 1-004c: TAS2557 load block: Type = 3, commands = 536
i2c 1-004c: Block[0x3] YChkSum match
i2c 1-004c: tas2557_update_edge, edge: 4
i2c 1-004c: tas2557_setup_clocks: nSamplingRate = 8000 [Hz]
i2c 1-004c: Sampling rate for current configuration matches: 8000
i2c 1-004c: tas2557_calibration_get = 0
i2c 1-004c: Enable: 1
i2c 1-004c: Calibration 0 doesn't exist
i2c 1-004c: Enable: load startup sequence
i2c 1-004c: Enable: load unmute sequence
Hardware Test:
1. VBAT = VBOOST VREG = 3.65V
2. Tested the MCLK, BCLK, WCLK,SDIN in Oscilloscope the signals seem valid