AnsweredAssumed Answered

About adau1961 driver

Question asked by wlecust06 on May 8, 2013
Latest reply on Oct 24, 2013 by larsc

I found the  macro in here https://github.com/analogdevicesinc/linux/blob/adau17x1/sound/soc/codecs/adau17x1.h

#define ADUA_SERIAL_PORT1_BCLK32          (0x0 << 5)

#define ADUA_SERIAL_PORT1_BCLK48          (0x1 << 5)

#define ADUA_SERIAL_PORT1_BCLK64          (0x2 << 5)

But I am strange that on page 55 of datasheet

Table 41. Serial Port Control 1 Register

Bits Bit Name Description

[7:5] BPF[2:0] Number of bit clock cycles per LRCLK audio frame.

Setting Bit Clock Cycles

000 64 (default)

001 32

010 48

011 128

100 256

who is right one ?

 

I am also puzzle that why  the Headphone playback switch is alway on  but my lineout switch always off?

numid=14,iface=MIXER,name='Headphone Playback Switch'

  ; type=BOOLEAN,access=rw------,values=2

  : values=on,on

numid=13,iface=MIXER,name='Headphone Playback Volume'

  ; type=INTEGER,access=rw---R--,values=2,min=0,max=63,step=0

  : values=37,37

  | dBscale-min=-57.00dB,step=1.00dB,mute=0

There is no script in the filesystem do such behavior.

Can anybody tell me why?

I use PLL, so the core clock is 1024fs =1024*44.1kHz, My MCLK input is 24MHz,

How to set or configure the BCLK? The BCLK and LRCLK of ADAU1961 is master.

Thank you

Outcomes