CN110121122A - A kind of control method and system of optical module - Google Patents

A kind of control method and system of optical module Download PDF

Info

Publication number
CN110121122A
CN110121122A CN201910386529.4A CN201910386529A CN110121122A CN 110121122 A CN110121122 A CN 110121122A CN 201910386529 A CN201910386529 A CN 201910386529A CN 110121122 A CN110121122 A CN 110121122A
Authority
CN
China
Prior art keywords
optical module
address
coded address
enable signal
control chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910386529.4A
Other languages
Chinese (zh)
Other versions
CN110121122B (en
Inventor
黄颋
李彧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Niuxin Microelectronics Co Ltd
Original Assignee
Nanjing Niuxin Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Niuxin Microelectronics Co Ltd filed Critical Nanjing Niuxin Microelectronics Co Ltd
Priority to CN201910386529.4A priority Critical patent/CN110121122B/en
Publication of CN110121122A publication Critical patent/CN110121122A/en
Application granted granted Critical
Publication of CN110121122B publication Critical patent/CN110121122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0003Details

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Optical Communication System (AREA)

Abstract

The embodiment of the present invention discloses a kind of control method and system for optical module.Optical module controls the modulation waveform that chip sends enable signal, and carries out coded address write-in to I2C bus fixing address simultaneously;After optical module receives the modulation waveform of enable signal, stores and use coded address;Control chip is written and read access to optical module using coded address.

Description

A kind of control method and system of optical module
Technical field
The present embodiments relate to technical field of photo communication, and in particular to a kind of control method for optical module and is System.
Background technique
In recent years, in order to cope with the high speed developments of the business such as HD video, cloud storage and cloud computing, the major IT in the whole world is huge Head in positive preparation and builds large-scale data center with telecom operation commercial city.Traditional 10G Ethernet obviously cannot Requirement of the data center for high bandwidth is adapted to, the proposition and application of next-generation high speed Ethernet have been inevitable.IEEE(electrically and Electronic Engineering Association) formally promulgate 40G/100G ethernet standard in June, 2010: IEEE 802.3ba is Road has been paved in 40G and 100G commercialization.Based on the considerations of cost and product maturity etc., 40G ethernet technology exists Data center is widely used.And corresponding 40G optical transceiver module also obtains in booming data center field Good achievement, and in foreseeable future still have huge prospect.
However, needing to control multiple optical modules in the equipment such as interchanger, since the SFP standard of optical module defines light The common pin of module when causing main control chip to need to connect multiple optical modules, occupies a large amount of General IO resources, causes The complexity of rising and the design of cost increases.By taking 48 mouthful of 10,000,000,000 common interchanger as an example.The interchanger has 48 SFP+ Interface.Each port SFP+ needs external SFP+ below to control signal:
SDA: the data-signal of optical module I2C bus;
SCL: the clock signal of the I2C bus of optical module;
TX_DISABLE: the output enable signal of optical module;
RX_LOS: the input signal of optical module loses LOS and detects signal;
MOD_ABS: the detection signal in place of optical module;
TX_ERR: the transmitting terminal error signal of optical module;
For 48 mouthfuls of 10,000,000,000 interchangers, the number of pins that only above-mentioned signal just needs are as follows: 48*6=288.
For chip and layout, output pin all can be greatly occupied, further, since I2C bus inherently has Address function, if optical module can do address configuration, multiple optical modules can public address bus, can be effective Reduce data-signal.Due to meeting the optical module of SFP agreement, for TX_DISABLE, RX_LOS, MOD_ABS and TX_ERR It can be controlled by reading the I2C register inside optical module, it therefore, can very big journey if only I2C bus The reduction of degree connects the number of pin of multiple optical modules.
Summary of the invention
For the defects in the prior art, the embodiment of the present invention provides a kind of control method and system for optical module. Chip and multiple optical modules are controlled including optical module, wherein the control chip is detected in place by multiple groups enable signal, multiple groups Signal, the data and the multiple optical module of clock signal control of one group of I2C bus.
System of the present invention, the optical module control chip is multiport Ethernet switching chip.
System of the present invention, it is characterised in that:
The optical module control chip sends the modulation waveform of the enable signal, and carries out simultaneously to I2C bus fixing address Coded address write-in;The control chip is written and read access to the optical module using coded address;
After the optical module receives the modulation waveform of the enable signal, stores and use coded address;The optical module is rung Answer the read-write requests of coded address.
System of the present invention, the optical module are able to detect the modulation waveform of the enable signal.
System of the present invention, the optical module can store coded address and respond and ask to the read-write of coded address It asks.
The present invention provides a kind of optical module control methods, which is characterized in that
The optical module control chip sends the modulation waveform of the enable signal, and carries out simultaneously to I2C bus fixing address Coded address write-in;The control chip is written and read access to the optical module using coded address;
After the optical module receives the modulation waveform of the enable signal, stores and use coded address;The optical module is rung Answer the read-write requests of coded address.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that original system controls chip and optical module connection relationship diagram.
Fig. 2 is present system control chip in optical module connection relationship diagram.
Fig. 3 is present invention control chip to optical module initialization step figure.
Fig. 4 is that optical module of the present invention receives initialization information block diagram.
Description of symbols:
101: original technology controls chip
102: original technology optical module
201: the present invention controls chip
202: optical module of the present invention
301 ~ 303: control chip initiation step
401 ~ 403: optical module initialization step.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is a part of the invention Embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making wound Every other embodiment obtained under the premise of the property made labour, shall fall within the protection scope of the present invention.
Fig. 1 is original optical module connection scheme, it is seen that between optical module 102 and control chip 101, there are 6 letters Number line, occupies more pin resource.
Fig. 2 is scheme proposed by the present invention.Here the exchange chip that chip 201 is still multiport, such as 48 mouthfuls are controlled Ten thousand mbit ethernet exchange chips.In the solution of the present invention, 4 pins are only connected to each SFP module, are respectively:
MOD_ABS: the detection signal in place of optical module
SDA: the data-signal of optical module I2C bus
SCL: the clock signal of the I2C bus of optical module
TX_DISABLE: the output enable signal of optical module
The wherein public SDA and SCL pin of all optical modules.
It is directed to original 48 port switch scheme in this way, optical module control pin only needs in total: 48*2+2=98, Compared to original scheme, 190 root canal feet are saved.
In order to be addressed, carry out ground to multiple SFP+ optical modules as control signal using TX_DISABLE signal Location write operation.
By being subject to 0101 lasting modulation pulse to TX_DISABLE signal, expression carries out addressing behaviour to this optical module Make.
During controlling chip initiation, following step is run:
Step 301: control chip 201 detects that the MOD_ABS of optical module 202 signal in place, driving TX_DISABLE signal produce Raw 0101 pattern pulse, rate are greater than 10kbps;
Step 302: control chip 201 carries out write operation to address 0x00 by I2C bus pin SDA and SCL, and write-in value is Addressing to optical module 202, such as 0x04;
Step 303: control chip 201 accesses optical module 202, using coded address, such as 0x04;
In optical module initialization procedure, following steps are run:
Step 401: optical module 202 detects the 0101 pattern pulse encoded on TX_DISABLE, and rate is greater than 10kbps, then supervises Listen I2C bus address 0;
Step 402: the I2C bus control unit of optical module 202 receives the coded address information being written on address 0, such as 0x04, This address is then stored in its internal volatile memory, as present encoding address;
Step 403: the I2C bus control unit of the 202 of optical module is detected to the read-write requests of coded address such as 0x04, then is rung It should request.
If it is to the system run, hot plug has been carried out, since the state of other optical modules cannot be influenced, because This, for the optical module being newly inserted into, main control chip 201 is similarly driven using TX_DISABLE signal, generates all the way 0101 Pulse carries out coded address write operation to this.It, will not be to 0 address since other optical modules have had address It is responded.
The method can could support up sharing for 128 addresses I2C, and therefore, original system can obtaining with high degree Obtain abbreviation.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (6)

1. a kind of optical module control system, which is characterized in that chip and multiple optical modules are controlled including optical module,
Wherein, the control chip is by multiple groups enable signal, and multiple groups detect signal in place, the data of one group of I2C bus and when Clock signal controls the multiple optical module.
2. system according to claim 1, it is characterised in that the optical module control chip is multiport Ethernet exchanging Chip.
3. system according to claim 1, it is characterised in that:
The optical module control chip sends the modulation waveform of the enable signal, and carries out simultaneously to I2C bus fixing address Coded address write-in;The control chip is written and read access to the optical module using coded address;
After the optical module receives the modulation waveform of the enable signal, stores and use coded address;The optical module is rung Answer the read-write requests of coded address.
4. system according to claim 1, it is characterised in that the optical module is able to detect the modulation of the enable signal Waveform.
5. system according to claim 1, it is characterised in that the optical module can store coded address and respond to volume The read-write requests of code address.
6. a kind of control method using such as optical module control system described in any one of claim 1 to 5, which is characterized in that
The optical module control chip sends the modulation waveform of the enable signal, and carries out simultaneously to I2C bus fixing address Coded address write-in;The control chip is written and read access to the optical module using coded address;
After the optical module receives the modulation waveform of the enable signal, stores and use coded address;The optical module is rung Answer the read-write requests of coded address.
CN201910386529.4A 2019-05-10 2019-05-10 Optical module control method and system Active CN110121122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910386529.4A CN110121122B (en) 2019-05-10 2019-05-10 Optical module control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910386529.4A CN110121122B (en) 2019-05-10 2019-05-10 Optical module control method and system

Publications (2)

Publication Number Publication Date
CN110121122A true CN110121122A (en) 2019-08-13
CN110121122B CN110121122B (en) 2022-04-19

Family

ID=67522093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910386529.4A Active CN110121122B (en) 2019-05-10 2019-05-10 Optical module control method and system

Country Status (1)

Country Link
CN (1) CN110121122B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584790A (en) * 2004-06-11 2005-02-23 Ut斯达康通讯有限公司 Pick up device and method for data in plugable optical modular inner memory
CN102045608A (en) * 2010-12-29 2011-05-04 福建星网锐捷网络有限公司 Network device for optical communication and method thereof for automatically configuring exchange interface
CN102595260A (en) * 2012-03-20 2012-07-18 福建星网锐捷网络有限公司 Data exchange system and operating mode self-negotiation method thereof
CN103812695A (en) * 2014-01-26 2014-05-21 青岛海信宽带多媒体技术有限公司 Software debugging method and device for SFP (small form pluggable) ONU (optical network unit)
US20150365740A1 (en) * 2014-06-13 2015-12-17 Fujitsu Limited Transmission apparatus and transmission method
CN105302484A (en) * 2015-10-19 2016-02-03 上海斐讯数据通信技术有限公司 Apparatus and method for batch reading of digital diagnosis information in optical modules of Ethernet card
CN105323008A (en) * 2014-07-04 2016-02-10 中兴通讯股份有限公司 Optical transceiver module and working parameter configuration method and device thereof
CN105337749A (en) * 2014-06-24 2016-02-17 华为技术有限公司 Method for configuring network device, optical module, and network device system
CN105373511A (en) * 2015-10-30 2016-03-02 上海斐讯数据通信技术有限公司 Device and method for simultaneous communication with multiple optical modules
CN107070548A (en) * 2017-04-21 2017-08-18 广东浪潮大数据研究有限公司 A kind of device and method for automatically adjusting QSFP+ optical module power grades
CN107765117A (en) * 2017-09-22 2018-03-06 烽火通信科技股份有限公司 A kind of test device and method of optical module self-healing
CN109446154A (en) * 2018-10-30 2019-03-08 广州开信通讯系统有限公司 Optical module monitoring system and method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584790A (en) * 2004-06-11 2005-02-23 Ut斯达康通讯有限公司 Pick up device and method for data in plugable optical modular inner memory
CN102045608A (en) * 2010-12-29 2011-05-04 福建星网锐捷网络有限公司 Network device for optical communication and method thereof for automatically configuring exchange interface
CN102595260A (en) * 2012-03-20 2012-07-18 福建星网锐捷网络有限公司 Data exchange system and operating mode self-negotiation method thereof
CN103812695A (en) * 2014-01-26 2014-05-21 青岛海信宽带多媒体技术有限公司 Software debugging method and device for SFP (small form pluggable) ONU (optical network unit)
US20150365740A1 (en) * 2014-06-13 2015-12-17 Fujitsu Limited Transmission apparatus and transmission method
CN105337749A (en) * 2014-06-24 2016-02-17 华为技术有限公司 Method for configuring network device, optical module, and network device system
CN105323008A (en) * 2014-07-04 2016-02-10 中兴通讯股份有限公司 Optical transceiver module and working parameter configuration method and device thereof
CN105302484A (en) * 2015-10-19 2016-02-03 上海斐讯数据通信技术有限公司 Apparatus and method for batch reading of digital diagnosis information in optical modules of Ethernet card
CN105373511A (en) * 2015-10-30 2016-03-02 上海斐讯数据通信技术有限公司 Device and method for simultaneous communication with multiple optical modules
CN107070548A (en) * 2017-04-21 2017-08-18 广东浪潮大数据研究有限公司 A kind of device and method for automatically adjusting QSFP+ optical module power grades
CN107765117A (en) * 2017-09-22 2018-03-06 烽火通信科技股份有限公司 A kind of test device and method of optical module self-healing
CN109446154A (en) * 2018-10-30 2019-03-08 广州开信通讯系统有限公司 Optical module monitoring system and method

Also Published As

Publication number Publication date
CN110121122B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN102045608B (en) Network device for optical communication and method thereof for automatically configuring exchange interface
CN104111907A (en) Method for accessing NVMe storage device and NVMe storage device
CN109495519B (en) Physical coding circuit and high-speed interface protocol exchange chip
CN105450588A (en) RDMA-based data transmission method and RDMA network cards
CN103530261A (en) Circuit and management method for access to multiple slaves having same I2C address
CN103797732A (en) Communication method, peripheral component interconnect express (PCIE) chip and PCIE devices
CN101557379B (en) Link reconfiguration method for PCIE interface and device thereof
CN106126465B (en) A kind of data transmission method and device
CN205721746U (en) BIOS starts module and system board
CN104954208A (en) Method and system for extending data transmission distance of Ethernet switch
CN102572012B (en) Message processing method, switchboard and system
CN111510363A (en) Slave station conversion device based on MODBUS protocol and control method thereof
CN109561032A (en) A kind of switch module and the interchanger including it
CN110121122A (en) A kind of control method and system of optical module
CN206948323U (en) A kind of sensor terminal equipment using RFID connection gateways
CN111581136B (en) DMA controller and implementation method thereof
CN110380872A (en) A kind of server master board system and a kind of server
CN113300892B (en) Real-time communication network system with shared memory
CN102946339B (en) Main frame and the communication system from machine
CN201917939U (en) Peripheral component interconnection (PCI) board card
CN112311861A (en) Internet of things terminal access device, network access method and Internet of things terminal
CN101860989B (en) Wireless internet module and communication method thereof with host, and data card
CN115996204B (en) Out-of-band Ethernet interface switching device, multi-node server system and server equipment
CN112749121A (en) Multi-chip interconnection system based on PCIE bus
CN104243197A (en) Data transmitting method and system and virtual storage gateways

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant