how to using A2B stack and audio is out form slave 1 node?

I have a very basic question, how do I play the sound from the headphone jack of Slave 1.

1 Hardware:

ADSP-SC584 EZ board ( ADSP-SC584 processor + AD2425 (Master))

EVAL-AD2428WC1BZ board (slave 0)

EVAL-AD2428WB1BZ board (slave 1)

2 Connections:

ADSP-SC584 EZ(master) + EVAL-AD2428WC1BZ(slave 0) + EVAL-AD2428WB1BZ(slave 1)  as shown in the following figure

3 Software:

u-boot and kernel were flashed successfully,and using the a2bapp-linux cmd file as below:

# ./a2bapp-linux -k
Start A2B setup...

Using SigmaStudio BCF File
Discovery succeeded with 2 nodes discovered

But now,I don't know how do to play the sound from the headphone jack of Slave 1.  

Please tell me how I should operate it?

The local tests info are as follows:

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sc5xxasoccard [sc5xx-asoc-card], device 0: ADAU1962 adau1962-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sc5xxasoccard [sc5xx-asoc-card], device 2: A2B24XX a2b24xx-hifi-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0

test  ADAU1962A DAC, using the follow cmd and test ok

# speaker-test -D hw:0,0 -c 2 -t sine -F S32_LE


  • 0
    •  Analog Employees 
    on Sep 24, 2021 5:47 PM


      Please let us know whether macro "A2B_ALSA_AUDIO" is enabled in core0 demo application as mentioned in the document "AE_09_A2B_ALSA_UserGuide.pdf"(Section 3.3 Example Application step 4) available in installation  path(/opt/analog/a2b-alsa-driver/0.1.0/Docs).


  • yes,“A2B_ALSA_AUDIO” has been enabled,refered to the document "AE_09_A2B_ALSA_UserGuide.pdf".

    when kernel booting and see the follow info:

    c5xx-i2s-dai 31002400.i2s: SPORT create success
    sc5xx-tdm 31002000.tdm: SPORT create success
    snd-sc5xx scb:sound: adau1962-hifi <-> 31002400.i2s mapping ok
    snd-sc5xx scb:sound: adau1977-hifi <-> 31002400.i2s mapping ok
    snd-sc5xx scb:sound: a2b24xx-hifi <-> 31002000.tdm mapping ok


    ALSA device list:
    #0: sc5xx-asoc-card

    What should I do next?

  • 0
    •  Analog Employees 
    on Sep 28, 2021 4:21 AM in reply to CHINAwuhankaishunpeng


    Build the SC584 demo application with CCES or by using make file.
    Please refer to "AE_09_A2B_Stack_Linux_UserGuide.pdf" document (/opt/analog/a2b-software/X.Y.Z/Docs) section 5 (A2B Stack and Demo application build instructions) to build application.

    Once application is build "a2bapp-linux" executable is created in "/opt/analog/a2b-software/X.Y.Z/Target/examples/demo/a2b-linux/a2b-adsp-sc584-linux/Makefiles/staging/bin" folder(If make file based build is used).

    Copy the executable  "a2bapp-linux" to target by following instructions in the sections 6.2 (Running the Demo)
    While running the application use "-k" command (# ./a2bapp-linux -k)

    After this command input from subnode1(Headphone Jack) can be observed in main node(SC584)

    Note: While using ALSA drivers do not enable the SHARC core(i.e) do not give "# icc enable 1" command after running U-boot (Ignore Section 6.1.3 Step 6)