Hi,
We have a custom board that uses TAS2552 codecs (attach schematic) connected to iMX6 CPU I2S outputs, using Linux system (Freescale i.mx6).
The VBAT is 5v, The IOVdd is 3.3v. Each Speaker impedance is 8 Ohm
1. We see that if we increase the volume over 9DB we have clicks or audio stops completely. It is look that the boost circuit is not working and peak speaker voltage is 5v (Vbat).
2. We saw that in the data sheet there is a sequence for limiting the current at page 20 paragraph 7.3.11, however I did not see any documentation to verify that the procedure succeeded, is there any indication in a register for that.
This is my dts initialization: ( for 2 codecs at 0x40 and 0x41 address)
sound-tas2552 {
compatible = "fsl,imx-audio-tas2552";
model = "ti-tas2550";
ssi-controller = <&ssi2>;
audio-codec = <&codec_tas2552_left> , <&codec_tas2552_right>;
audio-routing =
"IN", "DAC",
"Left Speaker", "OUT",
"Right Speaker", "OUT";
//"Ext. Speaker", "OUT";
mux-int-port = <2>;
mux-ext-port = <4>;
};
/* Serial Control of Audio Amplifiers */
codec_tas2552_right: tas2552@40 {
compatible = "ti,tas2552";
clocks = <&clks IMX6QDL_CLK_CKO>;
reg = <0x40>;
};
codec_tas2552_left: tas2552@41 {
compatible = "ti,tas2552";
clocks = <&clks IMX6QDL_CLK_CKO>;
reg = <0x41>;
};
};
Those I my register settings while playing an audio wav file or while using speaker-test:
REG_NUM: 0 REG_NAME TAS2552_DEVICE_STATUS REG_VAL: 0
REG_NUM: 1 REG_NAME TAS2552_CFG_1 REG_VAL: 36
REG_NUM: 2 REG_NAME TAS2552_CFG_2 REG_VAL: ee
REG_NUM: 3 REG_NAME TAS2552_CFG_3 REG_VAL: 55
REG_NUM: 4 REG_NAME TAS2552_DOUT REG_VAL: 0
REG_NUM: 5 REG_NAME TAS2552_SER_CTRL_1 REG_VAL: 0
REG_NUM: 6 REG_NAME TAS2552_SER_CTRL_2 REG_VAL: 0
REG_NUM: 7 REG_NAME TAS2552_OUTPUT_DATA REG_VAL: ff
REG_NUM: 8 REG_NAME TAS2552_PLL_CTRL_1 REG_VAL: 19
REG_NUM: 9 REG_NAME TAS2552_PLL_CTRL_2 REG_VAL: 3
REG_NUM: a REG_NAME TAS2552_PLL_CTRL_3 REG_VAL: 6f
REG_NUM: b REG_NAME TAS2552_BTIP REG_VAL: c7
REG_NUM: c REG_NAME TAS2552_BTS_CTRL REG_VAL: 4b
REG_NUM: d REG_NAME TAS2552_RESERVED_0D REG_VAL: c0
REG_NUM: e REG_NAME TAS2552_LIMIT_RATE_HYS REG_VAL: 38
REG_NUM: f REG_NAME TAS2552_LIMIT_RELEASE REG_VAL: 0
REG_NUM: 10 REG_NAME TAS2552_LIMIT_INT_COUNT REG_VAL: 0
REG_NUM: 11 REG_NAME TAS2552_PDM_CFG REG_VAL: 0
REG_NUM: 12 REG_NAME TAS2552_PGA_GAIN REG_VAL: 8
REG_NUM: 13 REG_NAME TAS2552_EDGE_RATE_CTRL REG_VAL: c0
REG_NUM: 14 REG_NAME TAS2552_BOOST_APT_CTRL REG_VAL: f
REG_NUM: 15 REG_NAME TAS2552_CUR_LIMIT_SEQ_REG_1 REG_VAL: 7
REG_NUM: 16 REG_NAME TAS2552_VER_NUM REG_VAL: 8
REG_NUM: 19 REG_NAME TAS2552_VBAT_DATA REG_VAL: 0
REG_NUM: 20 REG_NAME TAS2552_CUR_LIMIT_SEQ_REG_2 REG_VAL: 0
Please advise,
Thanks.