Post Go back to editing

Use SPDIF input without ASRC

Thread Summary

The user inquires about bypassing the ASRC block to directly use the S/PDIF input on the ADAU1452 and ADAU1467. The final answer confirms that the S/PDIF input can be directly accessed by the DSP core using the S/PDIF input cell, but warns that the core's start pulse must be set to the SPDIF input rate to avoid sample issues. The ASRC is typically used to match the S/PDIF rate to the DSP core rate, so if using both S/PDIF and Dante inputs, a system controller can switch between the two rates.
AI Generated Content
Category: Hardware
Product Number: ADAU1467

Here's one for someone who knows the SigmaDSP internals (Dave, is this one for you ?)


Our products make use of the S/PDIF input on the ADAU1452 and ADAU1467, usually through one of the ASRC blocks - but we have had a customer who has asked if we can do it without the ASRC !!

We have explained that the Sending Device would have to be locked to the same Sample Rate clock (in our case this would be a Dante Network Audio system) and they are OK with that.

My question is - While specifying that the ASRC is driven by the SPDIF and taken a signal from the ASRC block, is there a way to take a signal directly from the SPDIF input into the Schematic and then use a switch to select one or the other ?

EDIT: I should add that I found in the ADAU1467 data-sheet (page 50) that it says "The S/PDIF receiver can be accessed directly in the DSP core by using the S/PDIF input cell" - but I can't find the S/PDIF Input Cell in the Toolbox Tree in Sigma Studio.

Thanks
PhilipJ

Edit Notes

added an Edit note at the end
[edited by: philipj451 at 1:23 PM (GMT -4) on 16 Jul 2026]
  • Hello PhillipJ,

    Yes, you can take the SPDIF input directly into the core. However, you will face some problems. 

    I attached a project that does this.

    However, also note that the Start Pulse for the core is set to the SPDIF input rate. 

    This way the DSP core will not miss any samples or use any samples twice. 

    The ASRC is there to convert the SPDIF rate to whatever the DSP core rate is.

    So if you are also taking signals from the Dante network and mixing them or somehow using them at the same time you will have a sampling rate problem. 

    I guess unless you know the SPDIF sending device is also using the same Dante sampling rate then you can just run the core at the Dante rate coming into the serial port. 

    If you are only listening to one or the other then some system controller can switch the inputs and then switch the core rate to the correct setting. 

    Dave T

    ADAU1462 SPDIFStereoWithOutASRC.dspproj

  • Hi Dave, sorry for the long delay in replying but I've been getting tied up in various other issues and then I had problems finding my own original thread - the search facilities on the forum seem to have got a lot more complicated!!

    Anyway:

    thanks for the example project but I am a bit confused: How do we know that the audio is in FC70 and FC71 ? I have searched the ADAU1462 datasheet and can't find any reference to these addresses.

    Would the addresses be the same for the S/PDIF in an ADAU1467 ?

    The "ParamUpdate" block is a new one to me but I've read the toolbox help about it  and I'm willing to give it a go on our circuit board if you suggest the same arrangement will work on the DSP chip we are using.

    I take your warnings about using SPDIF as the Start Pulse for the core to avoid missing or duplicating samples. I have used 'scopes and logic analyzers to verify that the different serial bit-streams, are very strongly locked together and I use the FPGA to decouple the samples from the decoded S/PDIF Clock Domain and transfer them into the Dante bus Clock Domain and that does seem to work without any issues

    For your interest, the customer in question would seem to want to use our PDdante product as a kind of interface for a Prism Dscope (an Audio Test Analyzer unit a bit like an Audio Precision) to check the performance of other units on the Dante Network. They are using a "Pseudo Random Binary Sequence test (PRBS)

    When they first tried they immediately came back and said "you are using an ASRC aren't you !!" because the test put up it's red Error Box !! - Well of course we are, how else can you work with AES3 signals if you don't use an ASRC!!

    Anyway, we have made some progress by using the SPDIF AUX mode. (The SPDIF decoder in the ADAU1467 is much better than I could do in the FPGA, generating much more stable LRCLK and BCLK).

    These clocks, together with the decoded data stream is sent out of SDATA_OUT1 to an FPGA. The FPGA de-serializes the TDM8 stream, grabs the Left and Right samples and returning them to the DSP via another of the SDATA_INx ports.

    Then I just have a switch in the DSP to select between ASRC output and this non-ASRC stream

    BUT

    The Prism Dscope is still saying that there is a difference and the customer just wants to see a Red or Green light !! (that is the level of the Dscope test - "Green is good, Red is bad"!!

    We are actually measuring a THD+N test that gives -141dB which I would be personally very satisfied with but "if the light is red then it's not passing the test !!

    Anyway thanks for your help, and patience in reading/listening to me rabbit on about our problems

    regards

    PhilipJ

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.