2008-07-02 06:04:34     [BF537 - STAMP] AD1836 and A/V extender card

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

2008-07-02 06:04:34     [BF537 - STAMP] AD1836 and A/V extender card

Erwan A (FRANCE)

Message: 58213   

 

Hi all,

 

I want to use the cards BF537-STAMP with the A/V extender.

 

I made different tests without success,i can't heard any sound.

 

In the kernel, i have alsa, alsa-lib, alsa-utils and linphone. I use "uClinux-dist-2008R1-RC8".

 

Sw5 enables PF4 on the stamp board. Jumpers  on the A/V extender are also configurated.

 

Alsa driver in the kernel is the 1.0.12 version.

 

root:~> cat /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

 

In i²S mode (configuration into the kernel and with jumpers), the card A/V extender is attached and alsa sound driver is correct.

 

# cat /proc/asound/cards

 

0 [ad1836         ]: AD1836-LIN - ADI ad1836

                      ADI ad1836 at PF4 SPORT0 rx/tx dma 3/4 err irq 45

 

 

 

# cat /proc/asound/card0/registers

 

DAC_CTRL_1  0x0010

DAC_CTRL_2  0x103c

DAC_VOL_1L  0x23ff

DAC_VOL_1R  0x33ff

DAC_VOL_2L  0x4000

DAC_VOL_2R  0x5000

DAC_VOL_3L  0x6000

DAC_VOL_3R  0x7000

ADC_PEAK_1L 0xffff -63 dBFS

ADC_PEAK_1R 0xffff -63 dBFS

ADC_PEAK_2L 0xffff -63 dBFS

ADC_PEAK_2R 0xffff -63 dBFS

ADC_CTRL_1  0xc000

ADC_CTRL_2  0xd02c

ADC_CTRL_3  0xe000

 

 

 

But if i try to use aplay, i had the following error :

 

root:~> aplay -D ad1836 /root/wb_male.wav

Playing WAVE '/root/wb_male.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono

ALSA lib ../../../alsa-lib-1.0.12/src/pcm/pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable

aplay: set_params:882: Broken configuration for this PCM: no configurations available

 

 

I use this asound.conf file in my etc directory :

 

root:~> cat /etc/asound.conf

pcm.ad1836 {

        type plug

        slave {

                pcm {

                        type mmap_emul

                        slave {

                                pcm {

                                        type hw

                                        card 0

                                        format S32_LE

                                        rate 48000

                                        channels 2

                                        sync_ptr_ioctl 1

                                }

                        }

                }

        }

}

 

 

Without asound.conf file, i had :

 

root:~> aplay /root/wb_male.wav

Playing WAVE '/root/wb_male.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono

ALSA lib ../../../alsa-lib-1.0.12/src/pcm/pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'default'

ALSA lib ../../../alsa-lib-1.0.12/src/pcm/pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'default'

aplay: ../../aplay/aplay.c: 919: set_params: Assertion `err >= 0' failed.

Aborted by signal Aborted...

 

 

 

 

In TDM mode (Kernel and jumpers), the kernel doesn't detect the card A/V extender.

 

 

 

Does anyone know what could be wrong with my asound.conf file ? Does anyone know how to use the A/V extender with BF537-STAMP board ?

 

 

 

Thanks,

 

Erwan

 

 

 

 

TranslateQuoteReplyEditDelete

 

 

2008-07-02 06:22:53     Re: [BF537 - STAMP] AD1836 and A/V extender card

Sonic Zhang (CHINA)

Message: 58214   

 

A/V extender card is not supported.

 

 

QuoteReplyEditDelete

 

 

2008-07-02 06:47:17     Re: [BF537 - STAMP] AD1836 and A/V extender card

Erwan A (FRANCE)

Message: 58215   

 

Hi sonic zhang,

 

But signals on the expansion interface had both  signals SPORT and SPI.

 

Why the A/V extender card is not supported ?

 

 

 

Thanks,

 

Erwan

TranslateQuoteReplyEditDelete

 

 

2008-07-02 08:11:14     Re: [BF537 - STAMP] AD1836 and A/V extender card

Mike Frysinger (UNITED STATES)

Message: 58216   

 

we havent written any drivers for it yet

QuoteReplyEditDelete

 

 

2008-07-02 08:26:10     Re: [BF537 - STAMP] AD1836 and A/V extender card

Robin Getz (UNITED STATES)

Message: 58218   

 

Erwan:

 

Sonic and Mike are correct - we do not support the AV extender card - since we have no time to validate it, and there are other pieces of hardware that are easier for us to deal with.

 

-Robin

QuoteReplyEditDelete

 

 

2008-07-02 12:11:31     Re: [BF537 - STAMP] AD1836 and A/V extender card

Erwan A (FRANCE)

Message: 58226   

 

ok, thanks.

 

Do you know where can i buy the AD1836 daugter card (only with audio) for the BF537-STAMP ?

 

Erwan

TranslateQuoteReplyEditDelete

 

 

2008-09-09 13:51:40     Re: [BF537 - STAMP] AD1836 and A/V extender card

Omar Chanouha (UNITED STATES)

Message: 61847   

 

I am also looking for the AD1836 Audio Codec Card. When I go to the analog how to buy page the only card listed is the EVAL-AD1836EAB and it is not set to be sold for 2 months. Is this new card even going to be supported? I believe the old card is the AD1836A-DTRBRD, but digikey no longer sells it and I can't find it anywhere else. Can someone please explain what is going on between the uclinux distro and the analog hardware? Can someone post a link to where I can buy the neccesary hardware to get the BF537 stamp running full linphone (audio/video/camera)?

 

Thanks!

Attachments

    Outcomes