[alsa-devel] Noise in tlv320aic3104-based audio system

Rick Mann rmann at latencyzero.com
Mon Nov 2 08:50:11 CET 2015


> On Oct 30, 2015, at 03:03 , Benoît Thébaudeau <benoit.thebaudeau.dev at gmail.com> wrote:
> 
> Dear Rick Mann,
> 
> On Fri, Oct 30, 2015 at 6:45 AM, Rick Mann <rmann at latencyzero.com> wrote:
>> 
>>> On Oct 29, 2015, at 20:43 , Caleb Crome <caleb at crome.org> wrote:
>>> 
>>> The data sheets for those aic codecs are pretty good I think.
>>> 
>>> Also, routing direct or through a mixer will be a minor difference, not a major one.
>>> 
>>> It just occurred to me, the noise could easily be coming from a direct input -> output route, bypassing the adc and dac altogether. Make sure all bypass routes are zeroed out.  The trick is correlating the datasheet routes with the alsa mixer controls that correspond to them .  Enough staring at the aic3x.c files will eventually shed light:-)
>> 
>> I've zeroed out everything I could find. Nothing had an effect until I got to the DAC muxes, at which point the behavior gets really weird. Changing those gets me to left or right output, but never both again until I reset the CODEC.
>> 
>> None of this affected the hiss.
> 
> Can you try `alsactl restore` with this asound.state?
> https://gist.github.com/bthebaudeau/e00492ebf0309f8dbace
> 
> TI's diagram in the data sheet is missing a few things. Some paths are
> also wrong. The description of the registers is right however, so it
> is the reference. I have used extensively a similar setup with an
> older kernel, and it works fine.

Benoît, it might be beneficial if you commented on my e2e post to indicate some of the missing paths you mentioned. Luis said he'd notify someone at TI (presumably) about the error in the diagram, but he may not know to add missing paths, as well.

Or let me know which ones are missing and I'll add that.

Thanks!


-- 
Rick Mann
rmann at latencyzero.com




More information about the Alsa-devel mailing list