AnsweredAssumed Answered

SGTL5000 audio capture problem

Question asked by Ivan Cayon on Jan 4, 2019
Latest reply on Jan 9, 2019 by igorpadykov

Hi,

We are working with a imx6q custom board with sgtl5000 audio codec. We are using last yocto version, the image is working ok, the audio driver is loaded and we can play wav files using "aplay".

 

The problem is when we capture audio from Mic or Line. The signal is clipped and the audio captured is horrible. We test a lot of combinations but we couldn't reach any solution.

We see that when we are capturing audio from microphone and increase the capture volume, when the capture level reachs 33 the audio is muted and stops capturing. The same problem happends with the "Mic" input gain, if this value

is greater than 0 the capture is stopped.

 

The signal is only clipped in the positive part, so we tried to change the ground reference register to see if this was the problem, but it seems not. I attach a picture playing 1Khz tone.

 

Please, do you have any idea?

Thanks a lot!

Regards,

@

Attachments

Outcomes