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 Initialization sequence

Other Parts Discussed in Thread: TLK10232

Hi.

Can anybody help me with initialisation sequence for TLK10232?

Witch device registers I need configure for 10 Gbit link?

Status registers after hard reset:

  • Hi Andrei,

    Using the default values the device will be operating with Autonegotiation. On the other hand the configuration depends of the mode that you need to set-up. For example, if you are using optical fiber or copper, link training, etc.

    Could you provide more details about the characteristics of your configuration?

    Best Regards!
    Luis Omar Morán Serna
    High Speed Interface Group
    SWAT Team
  • Hi, Luis.

    I have tow boards. Our own mother bord with Cyclone V GX (two copis). One daughter-board with Broadcom BCM8727, another daughter-board is our own board with TLK10232. I try connect them with SFP-H10GB-CU3M cable. All loopback levels work well. If I connect cable I read signal detection bit in status register (PMA_RX_SIGNAL_DETECTION). So I think link is OK (Is It so?). But I cann't send/recive data from one board to another.

  • I need to check the connection between the boards. I send data from BCM8727 board (this board I can configure by JTAG with Altera example).
    If I set DEEP_REMOTE_LPBK bit in LOOPBACK_TP_CONTROL register, TLK10232 sends data back to line. Is It so? Or I need more settings in TLK10232 registers?
  • Hi Andrei,

    Yes, you are right if you need to use loopback function you must enable (Device Address: 0x1E    Register Address:0x000B     Value:0x0D18).

    Also, attached you will find different procedures to configure the device in different modes.

    I hope this helps.

    Best Regards!

    Luis Omar Morán Serna

    High Speed Interface Group

    SWAT Team

    7607.tlk10232_BringupProcedures_v2.pdf

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

    Regards!
    Luis
  • Hi, Luis.
    Thanks for your reply.
    If I configure remote loopback mode, TLK10232 doesn't need any other settings. Is it so? In this case if board with BCM8727 sends data, TLK10232 loops back this data. I am not sure that BCM8727 transceiver is working correctly. But I have only this board for link testing. There are limited number of control functions for BCM8727 board. So for link testing I decide to set TLK10232 to remote loopback mode and send/receive data from BCM8727 board. But I need to be sure that remote loopback is enough for link testing.

    Need I first configure TLK10232 according to your manual, or I can use remote loopback mode without device configuration?

  • What means setting "Write 16’h03FF to 0x1E.8020."?
    About it I can read only in "TLK10232 BringupProcedures" manual.

    Why It doesn't work with MODE_SEL == 1?
    If MODE_SEL == 0 then device works in in mode 1G-KX (SW_DEV_MODE_SEL == 0).
    But I need 10G-KR mode? Am I right?

  • Hi Andrei,

    The register 0x1E.8020 is related to VS_SERDES_CFG_OVERRIDE_CTRL (e.g.Override PLL_MULT, Override RATE value going into Malfoy, etc.).

    On the other hand, you are referring to the KR manual mode with Auto Negotiation and Link Training off (ST Low & MODE_SEL Low). 

    MODE SEL          ST=0 (Clause 45)                 ST=1 (Clause 22)

    1x                          10G                                          10G

    01                          10G                                          10G

    00                          10G-KR/1G-KX                      1G-KX

                      (Determined by Auto Neg)       (No Auto Neg)

    Regards!

    Luis Omar Morán Serna

    High Speed Interface Group

    SWAT Team

  • Hi Luis,

    According to this table if ST Low & MODE_SEL Low, device mode will be defined by SW_DEV_MODE_SEL (If SW_DEV_MODE_SEL == 1 mode 10G, If SW_DEV_MODE_SEL == 0 mode 10G-KR/1G-KX determined by Auto Neg).
    By default SW_DEV_MODE_SEL is Low. If I disable auto-negotiation mode in what mode device will work (10G or 1G)?

    If I set SW_DEV_MODE_SEL to 1 nothing works. Why?