We are trying to configure the TAS2557 to output an echo reference signal to an external acoustic echo cancellation (AEC) DSP.
- The ASI1/2 audio format is WCLK=48KHz, BCLK=3.072MHz, Left Justified.
- ASI1 is clock slave to a MCU, ASI2 is a clock master to AEC DSP.
- MCU only provide BCLK (no MCLK).
- All other audio format/clock settings are default.
- We are able to hear playback sound on TAS2557 EVM Device A (0x98) and Device B (0x9a). That means playback setting are correct.
We added the following setting and able to get correct audio, but the volume is very low.
w 98 00 00 #Page 0
w 98 7f 00 #Book 0
w 98 00 01 #Page 1
w 98 20 39 #ASI2_DOUT output is ASI1_DIN loopback
w 98 41 12 #GPIO5 is ASI2_BCLK_OUT
w 98 42 11 #GPIO6 is ASI2_WCLK_OUT
w 98 43 15 #GPIO7 is ASI2_DOUT
w 98 22 82
w 98 23 A0
With the above settings, we jumper ASI2 of Device A to ASI1 of Device B. The audio from DEVICE B is correct but volume is very Low that we need to put our ear near the speaker to hear the sound.
What could be wrong?
I believe “w 98 20 39” is not the echo reference data.
How to enable echo reference?