[alsa-devel] USB asynchronous mode feedback format

Julian Scheel julian at jusst.de
Thu Oct 14 14:30:43 CEST 2010


Am Donnerstag, 14. Oktober 2010, 14:06:41 schrieb Daniel Mack:
> On Thu, Oct 14, 2010 at 01:32:37PM +0200, Julian Scheel wrote:
> > Am Donnerstag, 14. Oktober 2010, 13:16:12 schrieb Daniel Mack:
> > > The dump doesn't show whether the LRCLK is symmetrical, iow, whether
> > > the low phase of LRCLK has the same number of BCLK cycles as the high
> > > phase.
> > > 
> > > But if that's the case, the signals do indeed look alright. Maybe you
> > > need the configure the codec to this format?
> > 
> > LRCLK is symmetrical. I use the modules from twistedpearaudio
> > (http://www.twistedpearaudio.com/digital/metronome.aspx,
> > http://www.twistedpearaudio.com/digital/cod.aspx) because this saved me
> > some time designing a PCB for now...
> > They are configured through DIP switches - and I think correctly. For the
> > SRC the settings are:
> > OWL0,1,2: 0, 0, 0
> > OFMT0,1: 1, 0
> > MODE0,1,2: 1, 0, 0
> > IFMT0,1,2: 1, 0, 0
> > BYPASS: 0
> > LGRP: 0
> > 
> > What I am actually wondering about is, that the SRC produces some output
> > even when the input is null. Attached is a picture of this case. I did
> > not measure the BCLK this time.
> 
> Yes, that looks suspicious, especially because it doesn't only affect
> the lower bits. What do you need this sample rate converter for, anyway?
> Can't you feed your signals directly to the DAC? FMT0 and FMT1 should
> both be set to 0.

You mean OFMT0 and OFMT1? Imho they should be 1,0 for I2S. Or did you refer to 
the DAC? In that case FMT0 and FMT1 both are set to 0.

Julian


More information about the Alsa-devel mailing list