Post Go back to editing

how to wire an external DAC and to make it output some sound using an app made with sigma studio 4.7

Thread Summary

The user is trying to connect an external I2S DAC (PCM5102A) to the EVAL-ADAU1467Z board. The issue was incorrect channel configuration for the serial output port 2. The final solution involved using channels 32-33 (primary) and 36-37 (SDATAIO) for stereo output on port 2. The user confirmed the solution worked, and additional guidance was provided for using multiple external DACs.
AI Generated Content
Category: Software
Product Number: ADAU1467
Software Version: sigma studio 4.7

hello,

I have an eval_adau1467Z board,

I am able to implement various use cases in it, like using toslink input, doing 2 way crossover and outputing low pass audio to channels 0&1 and high pass to channels 4&5;

but now i'd like to wire an external I2S DAC (pcm5102A, like this one www.amazon.com/.../B0DCFN2JGF to j9 connector and on OUT2 pins (in addition to channels 4&5)

Alas, no sound is coming out of the external DAC (I tried also another DAC but no sound either)

Could someone please guide me for the wire connections and how to build a .dspproj app to handle that external DAC ?

thks

regards.

Edit Notes

dac url fix
[edited by: iravelo at 10:53 PM (GMT -5) on 3 Jan 2026]
Parents
  • Hello iravelo,

    We have to make sure if the serial output port 2 is set up properly, so please attach your project.

    If you are confident with your register settings, then probe the serial output port 2 and see the I2S signal and send us the scope pictures. I assume the DSP is the serial clock master.

    Regarding the DAC, where is MCLK to the DAC coming from? Are you using DSP's CLKOUT pin? if you are, then well and good. No problem there.

    what's the sampling rate? and how are you programming the DAC?

    Are you sure about the DAC if it's up and running?

    it must be really simple that we are missing here, so give us some info. we will be able to solve this.

    how to build a .dspproj app to handle that external DAC ?

    Since this is not ADI's product, SS doesn't have a DLL for this. But you can create an XML file with the DAC's registers and program it from the master control port of the DSP. The below page shows how to do that.

    Go to bottom of this page.

    Regarding the wire connections,

    If the DSP is sending out the MCLK to the DAC then,

    DSP                                   DAC

    CLKOUT      ------->          MCLK

    BCLK_OUT2     ----->       BCLK/SCLK

    LRCLK_OUT2   ----->       LRCLK/FRAME_SYNC

    SDATA_OUT2 --------->    SDATA_IN/D_IN

    GND<--------------------------->GND

    Regards,

    Harish

  • hi Harish, long time no see, best wishes !

    let me send my current dspproj from another computer,

    but in the meantime,

    I can share that the external dac users who managed to make it work (on a raspberry pi) do says there is no MCLK to connect; the clock is "derived" from its DIN (48KHz being my adau's speed, as set by default).

    I do not need SS to be able to reprogram or reconfigure the external DAC board, the latter is supposed to work as is (provided the jumpers are soldered as in the following image, and its SCK is grounded )

Reply
  • hi Harish, long time no see, best wishes !

    let me send my current dspproj from another computer,

    but in the meantime,

    I can share that the external dac users who managed to make it work (on a raspberry pi) do says there is no MCLK to connect; the clock is "derived" from its DIN (48KHz being my adau's speed, as set by default).

    I do not need SS to be able to reprogram or reconfigure the external DAC board, the latter is supposed to work as is (provided the jumpers are soldered as in the following image, and its SCK is grounded )

Children
No Data