This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLK10232: 10G-BASE KR connection issue with BCM56844

Part Number: TLK10232

hello ,

I use TI TLK10232 PHY to connect with Broadcom 56844 chip
Both sides are configured as 10G KR mode, but it can not be negotiated any time and no linkup happened. Please help to see.

Some conclusions:

1: BCM 56844 its own KR ports connection can be LINKUP.
2: TLK 10232 its own KR ports connection, need to brush configuration many times, can be LINKUP occasionally.
3: BCM56844 and 10232 of the KR port connection can not be LINKUP, the two sides of the negotiations as well as link training are configed;


The clock  I used on the 10232 side is 156.25Mhz

The attachment is the register information of the TLK10232 when the BCM56844 is connected to the TLK10232 and the KR configuration steps according to the 10232 document , please help to see if there are any problems.

Regards

Ziqiang Weireg dump&KR config steps.zip

  • Hi Ziqiang,

    Plese let me verify your issue. ASAP I will be back with the answer.

    Thanks,
    Luis Omar Moran
    High Speed Interface
    SWAT Team
  • Hello Ziqiang,

    Since Link Training feature is enabled, please make sure that you are reading and writing the results of the link training procedure. Attached you will fine the process to read out the results of a link training sweep:

    Optimizing links using training.docx

    Best Regards,

    Luis Omar Moran

    High Speed Interface

    SWAT Team

  • hi Luis,

    Thank for your help.

    I have checked link training setting and status, it seems link training does not work,please help to have a check.

     

    The link training setting: write 0x0002 to 0x1.0x0096

    The link training status: read 0x1.0x0097, value is 0x0

    The 0x01.9022 reg value is 0xffff

    There are my KR settings and steps:

     write 0x1e.0x0000 0x8000

     write 0x07.0x0000 0x2000

     write 0x01.0x0096 0x0000

     write 0x1e.0x000e 0x0008

     write 0x01.0x9000 0x024d

     write 0x1e.0x8101 0x0004

     write 0x1e.0x8100 0x0004

     write 0x1e.0x8100 0x0000

     write 0x01.0x9001 0x0200

     write 0x07.0x0000 0x3000

     write 0x01.0x0096 0x0002

     write 0x01.0x9005 0x1c00

     write 0x07.0x0012 0xc000

     write 0x1e.0x0003 0xe848

     write 0x1e.0x0004 0x9500

     write 0x07.0x0010 0x9001

     

     write 0x07.0x0000 0x3200

     write 0x1e.0x000e 0x0008

     

    Best Regards,

    Ziqiang Wei

     

     

     

  • Hi Ziqiang,

    When you perform this instruction:

    write 0x1e.0x0000 0x8000 //You are affecting PRBS_PASS_OVERLAY & SE_CLK_DIV (Single Ended REFCLK Control clock divide selection)

    Attached you will find the bring-up procedures for the TLK10232 (I do not know what version you have). Please make sure you are performing the procedure:

    KR using manual mode settings learned from Link Training, with 156.25MHz/312.5MHz Refclk (Page 10).

    5710.tlk10232_BringupProcedures_v2.pdf

    I hope this helps.

    Thanks,

    Luis Omar Moran

    High Speed Interface

    SWAT Team

  • Hi Luis,

    I write 0x1e.0x0000 0x8610
    and perform the bring-up procedures as you gave,
    but it seems the auto negotiation cannot complete.

    Serdes HS_AZ_DONE complete, HS_AGC_LOCKED locked, PLL Status locked

    but the 0x7.0001 value is 0x0089

    chip:
    BCM56844----------TLK10232

    thanks!

    Best Regards,

    Ziqiang Wei
  • Hi Ziqiang,

    Could you clarify if the device is interfacing with optical module (SFI)? Or copper?

    Regards,
    Luis
  • Hi Luis,

    Both optical module and copper I have tried.

    bcm56844(KR)--------coper---------(KR)tlk10232

    bcm56844(KR)--------optical module--------(KR)tlk10232 

    But the auto negotiation status is still 0x89.

    Regards,

    Ziqiang Wei

  • Hi Ziqiang,

    I'm asking this because if the TLK10232 is interfacing with optical modules the Auto-Negotiation and Link Training features must be disabled since both are specific of Clause 73 for backplane applications. The TLK10232 is able to interface with SFP+ optical modules through 10GBASE-R sublayer that is the same in 10GBASE-KR mode, hence, please perform this process to set the device for optical modules:

    For XAUI-to-SFI/XFI operation, you will need to configure the device for 10GBASE-KR mode and disable the features specific to backplane Ethernet like Clause 73 auto-negotiation and 10G link training. To do this, follow this procedure:

    1.      Reset device (write a 1 to 0x1E.0000 bit 15 or assert RESET_N pin)

    2.      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).

    3.      Disable auto-negotiation by writing 1’b0 to 0x07.0000 bit 12

    4.      Disable link training by writing 16’h0000 to 0x01.0096

    5.      Write 16’h03FF to 0x1E.8020.  This allows the link settings that would normally be configured through KR training to be configured manually instead.

    6.      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.

    7.      Issue a data path reset by writing 1’b1 to 0x1E.000E bit 3.

    At this point the device should be properly configured. 

    Note that in this mode, the equalization is manual since the Link Training feature is disabled. Hence, the user needs to perform a sweep of HS_SERDES_CONTROL2 & 3 to optimize the link.

    Focus first on:

     

    HS_ENTRACK

    HS_EQPRE

    HS_PEAK_DISABLE

    HS_H1CDRMODE

     

    Thanks,

    Luis Omar Moran

    High Speed Interface

    SWAT Team

     

  • Hi Luis,

    This operation XAUI-to-SFI/XFI without link-training & auto-negotiation as you said I have made it work normally before.

    But now,I'm using tlk10232 to connect with bcm56844 through the backplane.

    Unfortunately, they are not negotiated successfully, the 0x7.0001 status is also 0x89.

    So,I have tried the following two cases to make sure if they are configed correctly:

    tlk10232 KR------KR tlk10232 --->link up //sometimes, need to config more than one time. The status shows 10G-KR mode.

    bcm56844 KR------KR bcm56844 --->link up

    The difference is that the optical module is used here.

    This usage is not standard, but can also be used as a reference,our hardware engineer said.

    Please give some suggestions, thanks.

  • Hi Ziqiang,

    Would you mind send us oscilloscope pictures when you are initializing the device, I would like to be sure that device is performing LT and AN correctly.
    On the other hand, have you performed a loopback test with internal PRBS?

    Thanks,
    Luis
  • Hi Luis,

    Here is our oscilloscope picture.

    oscilloscope pictures1.zip

    thanks

  • Hi Luis,

    Thanks for all your help, now I have make the connection work successfully between TLK10232 and BCM56844.

    thanks very!

    BRDS

    Ziqiang Wei