2011/6/10 Péter Ujfalusi peter.ujfalusi@ti.com:
On Thursday 09 June 2011 16:40:15 onlyfever wrote:
Hello, I want to power down Voice/Bluetooth sidetone PGA of TWL5030. I set the VSTPGA Register/BTSTPGA Register to 0x00,but it seems that the Voice/Bluetooth sidetone PGA still work, and even set VSTPGA/BTSTPGA to Mute,there still have sidetone come out.
How can I power down Voice/Bluetooth sidetone PGA? I don't need sidetone.
Are you sure, that the sidetone is added by the VSTPGA/BTSTPGA? Could you check, if you accidentally left either the analog loopbacks enabled (or digital loopbacks)? Check for these: Right1/2 Analog Loopback, Left1/2 Analog Loopback, Voice Analog Loopback, Left/Right/Voice Digital Loopback
Could you describe your scenario (uplink, downlink routing, etc)?
-- Péter
1. when use Headset: uplink routing:HSMIC --> AVTXR2PGA & AVTXL2PGA --> VDXS & VDXM --> PCM_VDX downlink routing:PCM_VDR --> VDR --> VRXPGA Fine gain --> DAC voice --> VDL_GAIN Analog PGA --> HSOL/HSOR
I check the loopbacks,it seems that all Loopbacks have been disabled. bash-3.2# alsa_amixer |grep Loopback Simple mixer control 'Left Digital Loopback',0 Simple mixer control 'Left1 Analog Loopback',0 Simple mixer control 'Left2 Analog Loopback',0 Simple mixer control 'Right Digital Loopback',0 Simple mixer control 'Right1 Analog Loopback',0 Simple mixer control 'Right2 Analog Loopback',0 Simple mixer control 'Voice Analog Loopback',0 Simple mixer control 'Voice Digital Loopback',0
The sidetone is become louder if I increase the VSTPGA, and when I increase the VDL_GAIN Analog PGA,the sidetone is become louder too. But the VRXPGA seems don't affect the sidetone,so I think VSTPGA cause the sidetone.
2.when use Bluetooth: uplink routing:BT_PCM_VDR --> BTTXPGA --> VDXM --> PCM_VDX downlink routing:PCM_VDR --> VDR --> BTRXPGA --> BT_PCM_VDX
When use Bluetooth interface,I don't know if something else can cause sidetone except BTSTPGA.
thanks!