cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joe306
Scholar
Scholar
370 Views
Registered: ‎12-07-2018

Aurora 64B/66B Near-end PCS Loopback Help

Hello, I am trying to do a Near-end PCS Loopback using the example code . When I run the code it never returns from the CheckData() function.

Status = CheckData();
if (Status != XST_SUCCESS) {
return XST_FAILURE;
}

 

I was looking on page 86 of UG576:

The RX elastic buffer must be enabled and RX_XCLK_SEL must be set to RXDES for
near-end PCS loopback to function properly. While in near-end PCS loopback, the RX
XCLK domain is clocked by the TX PMA parallel clock (TX XCLK). If the RXOUTCLK is used
to clock interconnect logic and RXOUTCLKSEL is set to RXOUTCLKPMA during normal
operation, one of these two items must be changed when placing the GTH transceiver
into near-end PCS loopback:
° Set RXOUTCLKSEL to select RXOUTCLKPCS, or
° Set RXCDRHOLD = 1'b1

How do I enable the RX elastic buffter and enable the RX_XCLK_SEL to RXDES? Also, how to I set RXCDRHOLD to 1?

I am getting Lane UP and Channel UP and gt_pll_lock is high.

Can anyone give me some help?

Last, when I put the Aurora IP in Normal mode I'm getting the gt_pll_lock to periodically go low. What could this be?

 

Thank you,

Joe

 

 

 

 

0 Kudos
1 Reply
joe306
Scholar
Scholar
362 Views
Registered: ‎12-07-2018

I was looking over page 130 of the Aurora 64B/66B step 2:
If the gt_pll_lock signal is toggling periodically, check if FSM_RESETDONE is
also toggling.

In the Aurora IP I have included the GT so how do I check the FSM_RESETDONE?

Thank you
0 Kudos