AWDSP8X - 4way stereo DSP2DAC board with ADAU1452

It has Henry Audio DAC's USB interface, but I am mainly interested now in SPDIF input.
 

Attachments

  • 2024-03-26_153528.png
    2024-03-26_153528.png
    149.3 KB · Views: 161
  • 2024-03-26_153333.png
    2024-03-26_153333.png
    275 KB · Views: 159
My core is up and running after a struggle with register setup. I just need to figure out a way to send I2S signals from SPDIF to serial outputs over to 4 DACs. SPDIF receiver works correctly and I can see the signal being detected in DSP, but there is nothing on the serial outputs. MCLK is fed to DACs from CLKOUT and that part works fine.
1711608856578.png
1711608889106.png
 
Yes, all the power clocking is on:
1711615307682.png


When I put LRCLK and BCLK in master mode, there is an output signal, but sampling frequency does not match the input sampling frequency from SPDIF, and there is nothing on SDATA line (verified with scope). I guess then some processing needs to be done, cannot just pass it through DSP with original sampling rate? I was under impression that slave mode is to DSP internal clock, and not to an external DAC.
1711615750218.png

I am simply trying to pass SPDIF input signal to SDATAOUT(0-4) pins.
 
Last edited:
When I put LRCLK and BCLK in master mode, there is an output signal, but sampling frequency does not match the input sampling frequency from SPDIF, and there is nothing on SDATA line (verified with scope).
This is how it should be, your DSP operates at its internal frequency, which is why you use ASRC to receive an SPDIF signal. If you receive spdif directly without ASRC, then you will have frequency desynchronization between the chipboard and the spdif source.
I guess then some processing needs to be done, cannot just pass it through DSP with original sampling rate?
When the SPDIF is decoded by the DSP and passed through ASRC, the sampling frequency of the signal in the DSP will be the one that you set in the Sigma Studio project, this is very convenient when you need to receive a signal with different sampling rates, ASRC will make sure that the frequency of the signal inside the DSP is the one that needed. As a result, when you output a signal to the I2S port you need to take this fact into account. The frequency of the project is decisive and you need to start from it when you output sound to the I2S port.
Later I will run I2S on my board in master mode and tell you about the result.
 
I checked the i2S output on my board as a master, everything works according to logic. The frequency on all I2S pins is present according to the settings in Sigma Studio, and there is also a data stream on the SDATA pin. I have attached the project file, but look carefully, the PLL settings in the file are for my board, not yours.
 

Attachments