Jump to content
  • 1

Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM


Yakotik

Question

Could be very useful to include the feature to make that the keenetic. Routers with SFP/SFP+ ports be able to do sequential Single-Byte reads to obtain the transceiver specs and ddm from the EEPROM tables A0h/A2h for transceivers like GPON ONU SFP and others than only supports Single-Byte Reads and not multi-bytes reads (255 Bytes read per call).

Some of this transceivers doesn't have connected the two-wire interface SFP pins directly to the EEPROM, They have connected the 2-wire interface to a slave i2c interface of the SoC and then the SoC have a master i2c connection to the EEPROM.

in other cases the transceiver doesn't have a physically EEPROM and use a virtualized EEPROM allocated on the SPI Flash chip that comes available after the embedded OS is booted.

Implementing the detection of the EEPROM reads to switch automatically between Single-Byte and Multi-Byte reads should not so complex and will gives a plus in the interoperability between the different brands and models of SFP Transceivers apart of to make complies the SFF-8431

  • Upvote 1
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
9 минут назад, Padavan сказал:

Yes, we can add support such modules, because I2C master from SoC (mt7621/mt7622) is fully functional.

Please specify the full name of such modules (for debug).

 

  • Upvote 1
Link to comment
Share on other sites

  • 0
On 7/21/2022 at 6:34 PM, Yakotik said:

Could be very useful to include the feature to make that the keenetic. Routers with SFP/SFP+ ports be able to do sequential Single-Byte reads to obtain the transceiver specs and ddm from the EEPROM tables A0h/A2h for transceivers like GPON ONU SFP and others than only supports Single-Byte Reads and not multi-bytes reads (255 Bytes read per call).

Some of this transceivers doesn't have connected the two-wire interface SFP pins directly to the EEPROM, They have connected the 2-wire interface to a slave i2c interface of the SoC and then the SoC have a master i2c connection to the EEPROM.

in other cases the transceiver doesn't have a physically EEPROM and use a virtualized EEPROM allocated on the SPI Flash chip that comes available after the embedded OS is booted.

Implementing the detection of the EEPROM reads to switch automatically between Single-Byte and Multi-Byte reads should not so complex and will gives a plus in the interoperability between the different brands and models of SFP Transceivers apart of to make complies the SFF-8431

I asked these questions a long time ago with the advice of the manufacturer Carlitoxx.

 

 

Edited by KYTECHNGAMING
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...