Skip to content

Commit

Permalink
projects/adrv904x: Fix util_adxcvr parameters
Browse files Browse the repository at this point in the history
Signed-off-by: AndrDragomir <[email protected]>
  • Loading branch information
AndrDragomir committed Dec 3, 2024
1 parent 0c065eb commit 54b2489
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions projects/adrv904x/common/adrv904x_bd.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -219,16 +219,46 @@ if {$ADI_PHY_SEL == 1} {
ad_ip_parameter util_adrv904x_xcvr CONFIG.TX_LANE_RATE $TX_LANE_RATE
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_OUT_DIV 1
ad_ip_parameter util_adrv904x_xcvr CONFIG.TX_OUT_DIV 1
ad_ip_parameter util_adrv904x_xcvr CONFIG.CPLL_FBDIV 4
ad_ip_parameter util_adrv904x_xcvr CONFIG.CPLL_FBDIV 2
ad_ip_parameter util_adrv904x_xcvr CONFIG.CPLL_FBDIV_4_5 5
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_CLK25_DIV 20
ad_ip_parameter util_adrv904x_xcvr CONFIG.TX_CLK25_DIV 20
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_PMA_CFG 0x001E7080
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_PMA_CFG 0x280A
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_CDR_CFG 0x0b000023ff10400020
ad_ip_parameter util_adrv904x_xcvr CONFIG.QPLL_FBDIV 33
ad_ip_parameter util_adrv904x_xcvr CONFIG.QPLL_REFCLK_DIV 1
ad_ip_parameter util_adrv904x_xcvr CONFIG.TX_LANE_INVERT 15
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_LANE_INVERT 255
ad_ip_parameter util_adrv904x_xcvr CONFIG.CPLL_CFG0 0x1fa
ad_ip_parameter util_adrv904x_xcvr CONFIG.CPLL_CFG1 0x23
ad_ip_parameter util_adrv904x_xcvr CONFIG.CPLL_CFG2 0x2
ad_ip_parameter util_adrv904x_xcvr CONFIG.A_TXDIFFCTRL 0xC
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXCDR_CFG0 0x3
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXCDR_CFG2_GEN2 0x269
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXCDR_CFG2_GEN4 0x164
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXCDR_CFG3 0x12
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXCDR_CFG3_GEN2 0x12
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXCDR_CFG3_GEN3 0x12
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXCDR_CFG3_GEN4 0x12
ad_ip_parameter util_adrv904x_xcvr CONFIG.CH_HSPMUX 0x6868
ad_ip_parameter util_adrv904x_xcvr CONFIG.PREIQ_FREQ_BST 1
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXPI_CFG0 0x4
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXPI_CFG1 0x0
ad_ip_parameter util_adrv904x_xcvr CONFIG.TXPI_CFG 0x0
ad_ip_parameter util_adrv904x_xcvr CONFIG.TX_PI_BIASSET 3
ad_ip_parameter util_adrv904x_xcvr CONFIG.POR_CFG 0x0
ad_ip_parameter util_adrv904x_xcvr CONFIG.QPLL_CFG0 0x333c
ad_ip_parameter util_adrv904x_xcvr CONFIG.QPLL_CFG4 0x45
ad_ip_parameter util_adrv904x_xcvr CONFIG.PPF0_CFG 0xF00
ad_ip_parameter util_adrv904x_xcvr CONFIG.QPLL_CP 0xFF
ad_ip_parameter util_adrv904x_xcvr CONFIG.QPLL_CP_G3 0xF
ad_ip_parameter util_adrv904x_xcvr CONFIG.QPLL_LPF 0x31D
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXDFE_KH_CFG2 {0x2631}
ad_ip_parameter util_adrv904x_xcvr CONFIG.RXDFE_KH_CFG3 {0x411C}
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_WIDEMODE_CDR {"01"}
ad_ip_parameter util_adrv904x_xcvr CONFIG.RX_XMODE_SEL {"0"}
ad_ip_parameter util_adrv904x_xcvr CONFIG.TXPI_CFG0 {0x0000}
ad_ip_parameter util_adrv904x_xcvr CONFIG.TXPI_CFG1 {0x0000}
} else {
source ../common/versal_transceiver.tcl

Expand Down

0 comments on commit 54b2489

Please sign in to comment.