2008-11-29 00:35:33     BF537 i2s CONFIG ERROR???

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-29 00:35:33     BF537 i2s CONFIG ERROR???

浩 何 (CHINA)

Message: 65997   

 

HI:

 

I am use wm8731 codec connect to BF537 sport0(I2S mode),and I use 2008R1_RC8 kernel

 

In linux-2.6.x/sound/soc/blackbin/,there is a bf5xx-wm8731.c

 

I use those souce code for my board,

 

and my connect is:

 

WM8731: BCLK --------- RSCLK0(TSCLK0)  BF537

 

                  DACDAT ----- DT0PRI

 

                  ADCDAT----DR0PRI

 

                  DACLRC----TFS0

 

                 ADCLRC---RFS0

 

DOES this connection ok?

 

MY I2C----OK!

 

And when I send data to WM8731 I printk config of BF537  sport is

 

TCR1 ------0x4400

TCR2 ---------0xf

TCKDIV ------0x0

TFSDIV ------0x0

RCR1------- 0x4400

RCR2------- 0x20f

RCLDIV -------0x0

RFSDIV ------0x0

STAT ----------0x40

 

and the I2S stop here, the function of write return -1,

 

I think it is my sports config err??

 

some one who can give me some advices about how to config sports ????

 

 

 

 

 

 

TranslateQuoteReplyEditDelete

 

 

2008-11-29 01:01:27     Re: BF537 i2s CONFIG ERROR???

Mike Frysinger (UNITED STATES)

Message: 65999   

 

the wm8731 driver never really worked and we've deleted it since.  it isnt supported.

QuoteReplyEditDelete

 

 

2008-11-29 03:49:24     Re: BF537 i2s CONFIG ERROR???

浩 何 (CHINA)

Message: 66001   

 

Thanks!

 

But the release version of 2008RC-RC8 support wm8731

 

Can you give me some suggestion about how to write this driver?

 

the ssm2602.c is ok?

TranslateQuoteReplyEditDelete

 

 

2008-11-29 04:03:08     Re: BF537 i2s CONFIG ERROR???

Mike Frysinger (UNITED STATES)

Message: 66002   

 

as i said, that release did not support the wm8731.  the driver in the release did not actually work.

 

the ssm2602 works fine and is supported.  but it is not a wolfsom codec driver, it is for the ADI part.

QuoteReplyEditDelete

 

 

2008-11-29 04:57:14     Re: BF537 i2s CONFIG ERROR???

浩 何 (CHINA)

Message: 66027   

 

hi Mike FRYSINGER

 

Thanks

 

I 'll try to it!!!

Attachments

    Outcomes