Hello,
We have used TLK10232 dual phy component for a XAUI to SFP/SFP+ application and I have some questions.
We have found searching in the forum a device initialization for the 10G mode (steps below):
- Reset device (write a 1 to 0x1E.0000 bit 15 or assert RESET_N pin)
- Make sure the reference clock selection (156.25 MHz or 312.5 MHz) is correct – this is done through register 0x1E.001D bit 12 (default is 156.25 MHz)
- Disable auto-negotiation by writing 1’b0 to 0x07.0000 bit 12
- Disable link training by writing 16’h0000 to 0x01.0096
- Write 16’h03FF to 0x1E.8020. This allows the link settings that would normally be configured through KR training to be configured manually instead.
- Depending on the link conditions, you may need to change the default configuration of 0x1E.0003 and 0x1E.0004. For optical connections, we typically recommend changing HS_ENTRACK (0x1E.0004 bit 15) to 1’b1 and HS_EQPRE (0x1E.0004 bits 14:12) to 3’b101. This can be a starting point, but you may need to do some BER testing to optimize the values.
- Issue a data path reset by writing 1’b1 to 0x1E.000E bit 3.
Q1. In order to switch on-the-fly between 1G & 10G modes is it adequate a write in 0x1E.0001 bit 11 followed by data path reset (0x1E.000E bit 3)?
Q2. While the device is in 1G mode how can autonego be activated (1000-BASEX-AN mode)?
Q3. What registers must be be polled for the PHY link to be considered UP? Does it differ between 1G & 10G modes?
Thanks in advance