dppsu
Vitis Drivers API Documentation
xdppsu_serdes.c File Reference

Overview

Contains the set of functions used by the XDpPsu driver to configure SERDES.

Note
None.
MODIFICATION HISTORY:
Ver     Who     Date    Changes


1.0 aad 01/27/17 Initial release.

Functions

void XDpPsu_SetVswingPreemp (XDpPsu *InstancePtr, u8 *AuxData)
 This function sets current voltage swing and pre-emphasis level settings from the LinkConfig structure to hardware. More...
 
void XDpPsu_CfgTxVsLevel (XDpPsu *InstancePtr, u8 Level, u8 TxLevel)
 This function sets the voltage swing level value in the DisplayPort TX that will be used during link training for a given voltage swing training level. More...
 
void XDpPsu_CfgTxPeLevel (XDpPsu *InstancePtr, u8 Level, u8 TxLevel)
 This function sets the pre-emphasis level value in the DisplayPort TX that will be used during link training for a given pre-emphasis training level. More...
 

Function Documentation

void XDpPsu_CfgTxPeLevel ( XDpPsu InstancePtr,
u8  Level,
u8  TxLevel 
)

This function sets the pre-emphasis level value in the DisplayPort TX that will be used during link training for a given pre-emphasis training level.

Parameters
InstancePtris a pointer to the XDpPsu instance.
Levelis the pre-emphasis training level to set the DisplayPort TX level for.
TxLevelis the DisplayPort TX pre-emphasis level value to be used during link training.
Returns
None.
Note
There are 32 possible pre-emphasis levels in the DisplayPort TX core that map to 4 possible pre-emphasis training levels in the RX device.

References XDpPsu::BoardChar, and XDpPsu_BoardChar::TxPeLevels.

void XDpPsu_CfgTxVsLevel ( XDpPsu InstancePtr,
u8  Level,
u8  TxLevel 
)

This function sets the voltage swing level value in the DisplayPort TX that will be used during link training for a given voltage swing training level.

Parameters
InstancePtris a pointer to the XDpPsu instance.
Levelis the voltage swing training level to set the DisplayPort TX level for.
TxLevelis the DisplayPort TX voltage swing level value to be used during link training.
Returns
None.
Note
There are 16 possible voltage swing levels in the DisplayPort TX core that map to 4 possible voltage swing training levels in the RX device.

References XDpPsu::BoardChar, and XDpPsu_BoardChar::TxVsLevels.

void XDpPsu_SetVswingPreemp ( XDpPsu InstancePtr,
u8 *  AuxData 
)

This function sets current voltage swing and pre-emphasis level settings from the LinkConfig structure to hardware.

Parameters
InstancePtris a pointer to the XDpPsu instance.
AuxDatais a pointer to the array used for preparing a burst write over the AUX channel.
Returns
  • XST_SUCCESS if writing the settings was successful.
  • XST_FAILURE otherwise.
Note
None.

References XDpPsu::LinkConfig, XDpPsu_LinkConfig::PeLevel, and XDpPsu_LinkConfig::VsLevel.