I am using the Ez-Board example SPDIFToAnalogTalkThru(C).
I take in audio through the S/PDIF input for processing and sends the processed audio to the DAC's.
The recovered clock from the S/PDIF input is used to drive the Clock and Frame sync's of SPORT's and the DAC's.
I would like to know, if it is possible to determine the current sampling frequency of the S/PDIF input in some way so that I can initialize certain coefficients correctly according to the sampling frequency and also configure the DAC correctly.
Also, is it possible to detect if there is a change in the sampling frequency of the S/PDIF input so that I can re-configure the DAC's and the re-initialize the coefficients.
Can I accomplish the above using the SRC or the PCG or some other modules?
Thanks in advance,