XilinxProcessorIPLib/drivers/v_sdirxss/examples/vck190_av_pt/xuhdsdi_example.c
void XSdiEnableAESAudioPlayback(XSdiAud_SampRate SampleRate)
{
	XSdiVid_TransMode RxTransMode;
	u8 IsFractional;

	/* Configure ACR to generate FS rate clock */
	RxTransMode =  XV_SdiRxSs_GetTransportMode(&SdiRxSs);
	IsFractional = XV_SdiRxSs_GetTransportBitRate(&SdiRxSs);
	ConfigNandCTS(IsFractional, RxTransMode, SampleRate);

	/* Wait for clock generated by ACR to be stable */
	sleep(1);

	/* Wait for SI5319 to Lock */
	sleep(1);

	/* Enable 2-Channel SDI Audio Extract */
	XSdiAud_SetCh(&SdiExtract, 0x3);
	XSdiAud_Enable(&SdiExtract, 1);

	/* Enable loop control in ACR after the whole pipe is up & running */
	sleep(1);
}
/*****************************************************************************/
/**
 *
 * This function enables the AES Audio Playback Path (Audio extracted from SDI RX
 *  is played back on SPDIF TX)
 *
 * @return	None.
 *
 * @note	None.
 *
 ******************************************************************************/
This function enables the AES Audio Playback Path (Audio extracted from SDI RX
is played back on SPDIF TX)

@return      None.

@note        None.
This function enables the AES Audio Playback Path ( Audio extracted from SDI RX is played back on SPDIF TX ) @return None . @note None .
void XSdiEnableAESAudioPlayback(XSdiAud_SampRate SampleRate)
{
	XSdiVid_TransMode RxTransMode;
	u8 IsFractional;
	RxTransMode =  XV_SdiRxSs_GetTransportMode(&SdiRxSs);
	IsFractional = XV_SdiRxSs_GetTransportBitRate(&SdiRxSs);
	ConfigNandCTS(IsFractional, RxTransMode, SampleRate);
	sleep(1);
	sleep(1);
	XSdiAud_SetCh(&SdiExtract, 0x3);
	XSdiAud_Enable(&SdiExtract, 1);
	sleep(1);
}
void XSdiEnableAESAudioPlayback ( XSdiAud_SampRate SampleRate ) { XSdiVid_TransMode RxTransMode ; u8 IsFractional ; RxTransMode = XV_SdiRxSs_GetTransportMode ( & SdiRxSs ) ; IsFractional = XV_SdiRxSs_GetTransportBitRate ( & SdiRxSs ) ; ConfigNandCTS ( IsFractional , RxTransMode , SampleRate ) ; sleep ( 1 ) ; sleep ( 1 ) ; XSdiAud_SetCh ( & SdiExtract , 0x3 ) ; XSdiAud_Enable ( & SdiExtract , 1 ) ; sleep ( 1 ) ; }
This function enables the AES Audio Playback Path (Audio extracted from SDI RX
  is played back on SPDIF TX)
This function enables the AES Audio Playback Path ( Audio extracted from SDI RX is played back on SPDIF TX )
/* Configure ACR to generate FS rate clock */ /* Wait for clock generated by ACR to be stable */ /* Wait for SI5319 to Lock */ /* Enable 2-Channel SDI Audio Extract */ /* Enable loop control in ACR after the whole pipe is up & running */