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 with 1G SFP configuration

Other Parts Discussed in Thread: TLK10232

Hi.

I replaced 10G SFP+ by 1G and configured PHY registers according to Bring-up procedure.

I'm reading received energy indication but have no link even in loop.

write to phy 0 dev 1E reg 0 val 0x8610    //reset
write to phy 0 dev 1E reg 1D val 0x0        // set to 1G-KX
write to phy 0 dev 7 reg 0 val 0x0             // disable AN
write to phy 0 dev 1E reg 1 val 0x0           // auto set
write to phy 0 dev 1E reg 4 val 0x560       
write to phy 0 dev 1E reg e val 0x8           //reset data path
write to phy 0 dev 1E reg b val 0x8            // loop

Am I missing something?

Regards,

Yuli

  • Hi Yuli,

    In your procedure you are missing to disable the link training process (0x01.0096). Although, could you try this procedure for 10G:

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

    Please let me know what happens.

    Best Regards,

    Luis Omar Morán Serna

    High Speed Interface

    SWAT Team

  • Thanks, Luis.

    That is the problem.

    I'm trying to use 1G SFP at the same place as 10G SFP.

    10G optical SFP already fully functioning on this place.

    Writing to disable training did not improved the situation.

    BR

    Yuli

  • Hi Yuli,

    Are writing 1'b0 to 30.1.11 to set device to 1G-KX manual mode?

    Also, could you provide the values of these registers:
    CHANNEL_STATUS_1
    LS_STATUS_1
    HS_STATUS_1
    KX_STATUS

    Best Regards,
    Luis
  • Hi, Luis.
    Yes, I set reg 30 to 0x0.
    Full sequence:
    write phy 0 reg 0x1E reg 0x0 val 0x0x8610
    write phy 0 dev 0x1E reg 0x1D val 0x0000
    write phy 0 dev 0x07 reg 0x0 val 0x0
    write phy 0 dev 0x01 reg 0x96 val 0x0
    write phy 0 dev 0x1E reg 0x1 val 0x0000
    write phy 0 dev 0x1e reg 0x3 val 0xaa4e
    write phy 0 dev 0x1e reg 0x4 val 0x0560
    write phy 0 dev 0x1e reg 0xe val 0x8

    Read statuses after init:

    CHANNEL_STATUS_1 (reg 0xf) = 0x1C13
    LS_STATUS_1 (0x15) = 0x8187
    HS_STATUS_1 (0x16) = 0xf086
    KX_STATUS (dev 1, reg 0xA1) = 3001

    Regards,
    Yuli
  • Hello Yuli,

     Please try this:

     write phy 0 reg 0x1E reg 0x0 val 0x0x8610
     write phy 0 dev 0x1E reg 0x1D val 0x0000
     write phy 0 dev 0x07 reg 0x0 val 0x2000
     write phy 0 dev 0x01 reg 0x96 val 0x0
     write phy 0 dev 0x1E reg 0x1 val 0x0B00 
     write phy 0 dev 0x1e reg 0x3 val 0xaa4e
     write phy 0 dev 0x1e reg 0x4 val 0x1500 //Please try different settings for this register, basically this register is according to your system (AC losses, length, etc.).
     write phy 0 dev 0x1e reg 0xe val 0x8

    I hope this helps.

    Regards,

    Luis

  •  Thanks, Luis.

    Are you sure that line

    "write phy 0 dev 0x1E reg 0x1 val 0x0B00"

    is correct for 1G setting?

    According to datasheet it will set PHY to 10G-KR mode.

    Right?

    BR

    Yuli

  • Hi, Luis.

    The configuration is working sometime.

    Very rare.

    I tried every possible combination on Reg 3. But not succeeded to get stable results.

    Any suggestion?

    BR

    Yuli

  • Hello Yuli,

    Please try another combinations for 0x1E.0004. This device needs to be adjusted through the equalization of some registers.

    Regards,
    Luis
  • Hi, Luis.

    I succeed to configure TI for working with switch without Auto-Negotiation.

    I still have some problem to work with to boxes back-to-back.

    Is any possibility to configure PHY in 1G as serdes bridge.

    I mean pass Lane0 to line connected to SFP.

    This will solve the problem.

    Regards,

    Yuli

  • Hi Yuli,

    The TLK10232 interfaces with SFP+ modules just in 10GBASE-KR mode (AN and LT disabled - Clause of Backplane).

    What coding are you planing to use (8b/10b)?

    Regards,

    Luis

  • Hi, Luis.

    I want to work with 1G SFP.

    The system is actually working with 10G SFP+ on the same place (with different configuration, of course)

    I want to allow using 1G SFP.

    The FPGA can work with SFP directly (without PHY).

    Therefore I want to configure PHY as serdes translator.

    I found in datasheet that there is option to configure 1:1 , but in 10G.

    How can I do this in 1G?

    Regards,

    Yuli

  • Hello Yuli,

    The principal issue related to SFP optical modules is that Link Training is not reliable. So, if 10G Ethernet signaling is used (i.e., the "KR" mode), then Link Training needs to be disabled. Otherwise, in 1G and 10G mode then there is no Link Training (by default), so it is OK to connect to an optical module. 10G mode is used very frequently in optical links in the Wireless insfrastructure market in order to implement 9.8304Gbps CPRI/OBSAI links.

    Best Regards,
    Luis
  • Hi, Luis.

    I'm working without auto-negotiation and no link trainig.
    My problem is that 1G SFP does not work with the same system (1G SFP).
    But working well connected to switch configured without AN to 1G.
    The same pair is working fine with 10G SFP+.
    I'm asking how can I configure TI PHY to work as serdes "bridge"
    My FPGA can handle all handshake.
    It working well with straight connection to SFP.

    Regards,
    Yuli