2009-02-18 09:30:56 AD1981 connection to BF537 SPORT0
Patrick Hotz (GERMANY)
Message: 69562
Hi Guys,
i try to get my custom-board running with the AD1981BL sound chip.
I have enabled:
Advanced Linux Sound Architecture
Sequencer support
OSS Mixer API
OSS PCM (digital audio) API
OSS PCM (digital audio) API - Include plugin system
OSS Sequencer API
Verbose procfs contents
ALSA for SoC audio support
SoC Audio for the ADI BF5xx chip
SoC AC97 Audio support for BF5xx
Set a SPORT for Sound chip (0)
My Hardware:
AD1981BL <=> BF537
SDATA_OUT - DT0PRI
SDATA_IN - DR0PRI
BIT_CLK - TSCLK0
SYNC - RFS0
Reset is at 3,3V
Boot shows this:
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
dma rx:3 tx:4, err irq:45, regs:ffc00800
AD1980 SoC Audio Codec
dma_alloc_init: dma_page @ 0x01c43000 - 512 pages at 0x01e00000
asoc: AC97 <-> bf5xx-ac97 mapping ok
AD1980 AC97 reset failed
AC97 link error
soc-audio: probe of soc-audio failed with error -5
ALSA device list:
No soundcards found.
What can i do?
-Patrick
TranslateQuoteReplyEditDelete
2009-02-18 09:40:40 Re: AD1981 connection to BF537 SPORT0
Michael Hennerich (GERMANY)
Message: 69563
Did you wire TSCLK and RSCLK together?
can try to use RSCLK or both together?
-Michael
QuoteReplyEditDelete
2009-02-18 09:56:28 Re: AD1981 connection to BF537 SPORT0
Patrick Hotz (GERMANY)
Message: 69566
Hi Michael,
thank you for your fast answer.
I have just connected the TSCLK and the RSCLK together and tried it... but the error is the same
Patrick
TranslateQuoteReplyEditDelete
2009-02-18 10:22:06 Re: AD1981 connection to BF537 SPORT0
Patrick Hotz (GERMANY)
Message: 69568
It works !!!!
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
dma rx:3 tx:4, err irq:45, regs:ffc00800
AD1980 SoC Audio Codec
dma_alloc_init: dma_page @ 0x01c43000 - 512 pages at 0x01e00000
asoc: AC97 <-> bf5xx-ac97 mapping ok
ad1980: Found AD1981 - only 2/2 IN/OUT Channels supported
ALSA device list:
#0: bf5xx-board (AD1980)
Now i want to run "tone" for test my Speaker.....
Is the "MONO_OUT" always activated?
How i can use this output?
Patrick
TranslateQuoteReplyEditDelete
2009-02-18 11:54:19 Re: AD1981 connection to BF537 SPORT0
Michael Hennerich (GERMANY)
Message: 69574
I doubt that MONO_OUT is by default activated.
Default is LINE OUT R/L and Headphone R/L
You might need to a register initialization into the AD1980/1 ASoc CODEC for REG: 06h Mono Volume
-Michael