A kind of method realizing I2C and the conversion of MDIO communication interface protocol

The invention discloses a kind of method realizing I2C and the conversion of MDIO communication interface protocol, the method is for reformulating I2C communication frame structure so that it is meets MDIO register access, thus realizes conversion in real time;Or, internal register based on SFP module, use the reserved access interface that MDIO is provided from address or depositor, main frame realized the access of MDIO data by depositor.The method achieve the protocol conversion that in IEEE802.3 standard, the 45th chapter MDIO communication mode communicates with tradition I2C, be conveniently used for the module product design of more than 10G band PHY, directly continue to use the I2C interface of original module, effectively reduce product design costs.