is it possible to use the SPDIF for audio transmission in repeater mode?
I'm not sure I understand the question. Do you mean if you are in repeater mode, can you strip off the audio?
The form of audio, SPIDF, PCM, etc. is determined by the source-- it's just passed through as data on HDMI.
So for the audio it only needs the SPIDF signal, no clk signal, e.g. mclk...
SPDIF signal for what? Audio is an output from ADV7612. It's an input to ADV7511 and in the Programming Guide for ADV7511 there is a table which shows which signals are needed for which type of audio format.
thanks Table 73 on page 82
looking at the repeater code there are two statements in rep_main
RetVal = ADIAPI_RepTxSetAudioInputInterface(AUD_IF_AUTO, REP_AUD_TYPE_AUTO);
RetVal = ADIAPI_RepRxSetAudioOutputInterface(AUD_IF_AUTO);
Which interface is used in that case?
e.g. if I would like to use SPDIF, AUD_SPDIF as an option would work? Can't see the point of using a dsp as used in the repeater reference design?
basically we just want to transmit the audio data over medium and we have a ADV7612 and a ADV7511 on the two ends. I still did not understand how the hdmi source influences the adv7612 audio out format and which choice we have for the output format of the adv7612.
1) RetVal = ADIAPI_RepTxSetAudioInputInterface(AUD_IF_AUTO, REP_AUD_TYPE_AUTO);
This is used to configure the audio interface input and the packet type output of the TX device. If the audio is to be passed from RX to TX correctly, the RX audio output must be configured in a similar fashion.
This can also be used to configure the TX device to receive audio from an external source (e.g., DSP) in which case the RX audio output does not have to correspond to TX audio input settings.
if you want to use SPDIF , then AudInterface should be AUD_SPDIF instead of AUD_IF_AUTO.
AUD_IF_AUTO - AudInterface
Specify the input audio interface to the TX device. The AUD_SPDIF and AUD_I2S_SPDIF modes should not be used when the required output packet type is PKT_HBR_STREAM
If this parameter is set to AUD_IF_AUTO, the input audio interface will be set according to the received RX packet type. Auto mode will only select I2S, SPDIF or DSD as input interface.
REP_AUD_TYPE_AUTO - AudPktType
Specify the required audio packet type sent by the TX device. If the required packet type is PKT_HBR_STREAM, the input interface can not be AUD_SPDIF or AUD_I2S_SPDIF.
For most configurations, the packet type should be set to PKT_AUTO, in which case, the output packet type of the TX device will match the packet type received by the RX device.
2)RetVal = ADIAPI_RepRxSetAudioOutputInterface(AUD_IF_AUTO);
This is used to configure the audio interface output of the RX device. If the audio is to be passed from RX to TX correctly, the TX audio input must be configured in a similar fashion.
This API can also be used to configure the RX device to output audio to an external device (e.g., DSP)
Specify the output audio interface of the RX device. AUD_I2S should be used for HBR audio unless the selection is set to AUD_IF_AUTO, in which case I2S will be selected automatically if the received packet type is HBR.
Retrieving data ...