DA7212 - Noise while recording from AUX

4 posts / 0 new
Last post
arjun.salariya
Offline
Last seen: 6 months 1 week ago
Joined: 2019-02-28 12:37
DA7212 - Noise while recording from AUX

Hi Support Team,

We have DA7212 Evaluation kit. We trying to capture the audio from the AUX input. We have seen some noise in left channel while recording from the AUX.
Below amixer commands we run:

amixer -q cset name='Aux Volume' 78%
amixer -q cset name='Aux Switch' on
amixer -q cset name='Mixin Left Aux Left Switch' on
amixer -q cset name='Mixin Right Aux Right Switch' on
amixer -q cset name='Mixin PGA Volume' 47%
amixer -q cset name='Mixin PGA Switch' on
amixer -q cset name='ADC Volume' 76%
amixer -q cset name='ADC Switch' on
# Route Input Mixers to Output Mixers
amixer -q cset name='Mixout Right Mixin Right Switch' on
amixer -q cset name='Mixout Left Mixin Left Switch' on

Record command:

arecord -D hw:0,0 -c 2 -r 48000 -f S32_LE test_aux1.wav

Can you please guide us, what could be the reason for the noise in left channel only? Is it hardware issue or needs software changes required to resolve it?

Regards,
Darshak

Device: 
arjun.salariya
Offline
Last seen: 6 months 1 week ago
Joined: 2019-02-28 12:37
Hi Team,

Hi Team,

Is there any update?

Thanks,
Arjun

arjun.salariya
Offline
Last seen: 6 months 1 week ago
Joined: 2019-02-28 12:37
Hi Team,

Hi Team,

Is there any update?

Thanks,
Arjun

bmcadam
Offline
Last seen: 1 month 3 days ago
Staff
Joined: 2015-09-16 16:25
Hello,

Hello,

It would be unexpected to have noise though could be a result of clocks not being setup properly.

What clocks are you providing :-

MCLK, WCLK and data format ?

Below are the writes and clock setup for the path :-

 

WRITE DA7212 0x92 0x00 //Set Ramp rate to default
DELAY 40
WRITE DA7212 0x90 0x80 //Enable Digital LDO
WRITE DA7212 0x29 0xCC //Enable AIF 32bit I2S mode
WRITE DA7212 0x22 0x0B //Set incoming sample rate to 48kHz
WRITE DA7212 0x98 0x00 //DAI_Offset set to zero
WRITE DA7212 0x94 0x02 //Set PC sync to resync
WRITE DA7212 0x27 0x04 //PLL_CTRL PLL disabled

WRITE DA7212 0x23 0x08 //Enable master bias
WRITE DA7212 0x32 0x01 //MIXIN_L input from AUXL
WRITE DA7212 0x33 0x01 //MIXIN_R input from AUXR
WRITE DA7212 0x60 0xA0 //Enable Aux
WRITE DA7212 0x61 0xA0 //Enable Aux
WRITE DA7212 0x65 0x88 //Enable mixer left
WRITE DA7212 0x66 0x88 //Enable mixer right
WRITE DA7212 0x67 0xA0 //Enable ADC Left
WRITE DA7212 0x68 0xA0 //Enable ADC Right