Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SFP Link status polling via I2C

Status
Not open for further replies.

paulleons90

Newbie level 1
Newbie level 1
Joined
Sep 26, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
Hello,

I am trying to read the status of SFP port using I2C interface for FTLX1471D3BTL. I use optical fiber to connect between the
NIC card and the SFP module. I am trying to see if the link between the NIC card and the SFP module is up or not and I have 2 main problems:

1. I am unable to find a register in the register map of I2C slave which gives status of link up. In the address 110, I can read the state of RX_LOS_State which gives information if the cable is physically plugged in or not. But it do not provide any information if the link is up or not.
2. I read this register address 110 using an I2C interface. After the transaction is completed, the link is down. I have to do a reset to the slave device to bring the link back up. What is the cause of this problem and how can I fix it?

Any help is greatly appreciated.

Thanks,
Paul
 

I always thought a SFP was a physical link layer only device?
If so you need to ask the PHY or MAC rather then the SFP for link status, the SFP will only tell you that it sees modulated light, not that the light encodes ethernet frames.

The SFP modules I have played with output a PECL pair that is pretty much an amplified and limited version of the signal from the photodiode, you want the PHY or MAC levels to give you link status, the SFP does not decode things that far.

Regards, Dan.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top