Addressing module for realizing IIC (Inter-Integrated Circuit) to access multiple optical modules

By adopting time-sharing defined SDA and SCL pin connection methods in the optical communication system, the problem of limited chip IO and high cost of existing solutions is solved, efficient IIC access to multiple optical modules is achieved, simplifying the design and reducing costs cost.

CN118869080APending Publication Date: 2024-10-29VULCAN TECH SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411125708.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In optical communication systems with high data communication integration, the number of chip IOs is limited, making it difficult to effectively manage multiple optical modules through the existing IIC bus. Existing solutions require additional components and design costs, and the SCL signal is unidirectional and The SDA driver capability is insufficient, resulting in access errors.

Method used

Through the design of the chip itself, the SDA data logic pin and SCL clock logic pin defined in time sharing are used to control multiple pins respectively, and the optical module is connected using a bus method, and is exclusive through continuous number sharing and cyclic correspondence. Sexual communication avoids one-way problems and the use of additional pin resources.

Benefits of technology

It effectively reduces resource consumption, expands IIC's ability to access slave devices, avoids the one-way problem of the CPLD solution and the high cost of the IIC SWITCH chip, simplifies the main chip design and circuit design, and ensures efficient optical module access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869080A_ABST
    Figure CN118869080A_ABST
Patent Text Reader

Abstract

The invention discloses an addressing module for realizing access of an IIC to a plurality of optical modules. The IIC comprises an SDA data logic pin and an SCL clock logic pin, and a plurality of pins are respectively controlled through time-sharing definition; the plurality of pins are connected with the optical modules in a bus mode, and each optical module is provided with a pin connected to corresponding management; the SDA data logic pin and the SCL clock logic pin are connected to the corresponding optical modules in completely different distribution sequences; according to the addressing module for achieving IIC access to the multiple optical modules, through chip design and system hardware single board design, resources are effectively reduced, and IIC access slave equipment is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of design and addressing of an internal chip and system hardware IIC access optical module of a communication device, and more specifically, to an addressing module technology for realizing IIC access to multiple optical modules. Background Art

[0002] In high-bandwidth optical communication equipment such as OTN, SDH, PTN, PON, switches, routers, etc., the main chip needs to access and control optical modules such as SFP and XFP through IIC.

[0003] IIC is a two-wire serial bus, also commonly described as I2C. It was developed by Philips for microcontrollers (MCU) and peripheral devices (slave devices) to communicate. It is a bus with one master and multiple slaves (one master device (Master) and multiple slave devices (Slave)). Each device on the bus has a specific device address to distinguish other devices on the same IIC bus.

[0004] The IIC interface consists of two bidirectional lines, the serial clock line (SCL) and the serial data line (SDA), which can be used to send and receive data. However, the communication is initiated by the master device and the slave device passively responds to achieve data transmission.

[0005] In optical communication systems, as the integration of data communication becomes higher and higher, the area becomes smaller and smaller, so the number of chip IO is also very limited. At the same time, the number of optical channels supported by data communication chips is increasing. That is, the system design requires a single chip to manage multiple optical modules with the same device address through IIC. Although IIC is a bus, the properties of optical modules such as SFP do not support the configuration of IIC device addresses, that is, multiple SFP optical modules corresponding to a main chip are accessed using the same IIC device address. This makes hardware design very troublesome, and additional expansion chips need to be added to solve the problem of addressing and accessing multiple optical modules.

[0006] The existing common solution generally uses "CPLD" to expand IO, such as Figure 1 As shown, the SCL signal output by the main chip is processed unidirectionally, and "SCL-1", "SCL-2", "SCL-3", and "SCL-4" are generated through "CPLD". Then the current selection channel is defined by software. For example, if you need to access "optical module-1" now, the output of "SCL-1" is equivalent to the input of "SCL".

[0007] However, the existing solution is limited by this design architecture, which requires the addition of "CPLD" devices and related design costs; secondly, "SCL" is a bidirectional signal in the IIC definition, but this solution is a unidirectional signal. It is precisely because "SCL" is a unidirectional signal that when IIC accesses certain optical modules, "SCL" cannot get feedback and cause errors. Thirdly, the driving capability of SDA is limited and cannot connect to more slave devices.

[0008] Another method is usually used, such as Figure 2 As shown in the figure, an IC company has specially designed an IIC SWITCH chip. Its working principle is to expand the IIC sent by the main chip into four channels (IIC-1~IIC-4) or multiple channels. Then the IIC of the main chip is used to pre-configure which channel is currently used to access the corresponding optical module. This solution solves the above-mentioned SCL unidirectional problem well, but introduces new devices, increases management and device costs. In addition, the IIC SWITCH chip has many pins, which will significantly increase the chip cost. Summary of the invention

[0009] The present invention overcomes the shortcomings of the prior art and provides an addressing module for implementing IIC access to multiple optical modules by effectively reducing resources and expanding IIC access to slave devices through chip design and system hardware single board design.

[0010] The technical solution of the present invention is as follows:

[0011] An addressing module for realizing IIC access to multiple optical modules, the IIC includes an SDA data logic pin and an SCL clock logic pin, and the multiple pins are controlled respectively through time-sharing definition; the multiple pins are connected to the optical modules in a bus manner, and each optical module has a pin connected to the corresponding management; the SDA data logic pin and the SCL clock logic pin are connected to the corresponding optical module in a completely different distribution order.

[0012] Furthermore, the optical module is numbered sequentially, a plurality of pins connected to the SDA data logic pin are connected in a continuous numbering and evenly distributed manner, and a plurality of pins connected to the SCL clock logic pin are connected in a cyclic corresponding manner.

[0013] Furthermore, the continuous numbering equalization method is to equally divide the M optical modules into groups, and each group corresponds to an SDA data logic pin in turn.

[0014] Furthermore, the circular correspondence method is to correspond the SCL clock logic pins of the M optical modules in sequence, and repeat the circular correspondence when the number is insufficient.

[0015] Furthermore, the multiple pins connected to the SDA data logic pin and the multiple pins connected to the SCL clock logic pin are all exclusively and uniquely connected using a time-sharing definition.

[0016] Compared with the prior art, the present invention has the following advantages:

[0017] The present invention makes full use of the characteristics of the IIC bus, does not need to use as many pin resources as the IIC SWITCH, and does not have the SCL unidirectional problem failure introduced by the CPLD solution. Through the chip itself design and the system hardware single board design, the resources are effectively reduced, and the IIC access slave device is expanded. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the existing general solution;

[0019] Figure 2 A schematic diagram of another existing common solution;

[0020] Figure 3 This is an example diagram for four optical modules of the present invention;

[0021] Figure 4 for Figure 3 Schematic diagram of the circuit principle;

[0022] Figure 5 This is an example diagram for 9 optical modules of the present invention;

[0023] Figure 6 This is an example diagram of 16 optical modules according to the present invention. DETAILED DESCRIPTION

[0024] The embodiments of the present invention are described in detail below, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention and cannot be used as a limitation of the present invention.

[0025] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the field to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.

[0026] The reference numerals of the steps mentioned in each embodiment are only for the convenience of description and have no substantial sequence connection. Different steps in each specific embodiment can be combined in different sequences to achieve the purpose of the invention. In addition, some structures and modules not described in detail in the present invention can be implemented by conventional technical means, so they will not be described in detail.

[0027] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.

[0028] like Figure 3 As shown, an addressing module for implementing IIC access to multiple optical modules, IIC includes SDA data logic pins and SCL clock logic pins, and multiple pins are defined by time-sharing control; that is, multiple pins connected to the SDA data logic pin and multiple pins connected to the SCL clock logic pin are all exclusively connected using time-sharing definition. Multiple pins are connected to the optical module in a bus manner, and each optical module has a pin connected to the corresponding management; SDA data logic pins and SCL clock logic pins are connected to the corresponding optical module in a completely different distribution order.

[0029] First, the optical module is numbered sequentially. The multiple pins connected to the SDA data logic pin are connected in a continuous numbering and evenly distributed manner, and the multiple pins connected to the SCL clock logic pin are connected in a circular corresponding manner. In this way, the characteristics of the IIC bus are fully utilized, and there is no need to use so many pin resources of IIC SWITCH, and there will be no SCL unidirectional problem introduced by the CPLD solution. That is, only a simple direct connection is required here, which greatly simplifies the connection complexity and does not require the use of IICSWITCH for processing and mapping.

[0030] Specific as Figure 3 , Figure 4 For example: the two SDA data logic pins and SCL clock logic pins of the "IIC controller core" in the main chip can be defined to be connected to the chip pins sda-a, sda-b and scl-a, scl-b respectively through "IO multiplexing selection". The "IO multiplexing selection" here is not equivalent to the IO multiplexing of general chips. Its circuit principle can be designed as follows Figure 4The connection method shown is used to effectively reduce the complexity of the connection pins. Its sda-a is connected to "optical module-1" and "optical module-2" at the same time through the form of a bus. Sda-b is connected to "optical module-3" and "optical module-4" at the same time through the form of a bus. That is, the sda ​​pin is connected by a continuous numbering and evenly distributed manner through multiple defined pins. The scl pins are relatively staggered, and scl-a is connected to "optical module-1" and "optical module-3" at the same time through a bus. Scl-b is connected to "optical module-2" and "optical module-4" at the same time through a bus. That is, the scl pin is connected in a circular corresponding manner through multiple pins defined by time-sharing. In the actual circuit, the SDA data logic pin and the SCL clock logic pin are connected to all optical modules through physical pins defined in time-sharing according to access requirements. Among them, the time-sharing definition is to perform exclusive and unique connection. That is, only one of sda-a and sda-b can be turned on and used. According to Figure 4 It can be seen that through this form of "IO multiplexing selection", two-way data information transmission can be achieved, avoiding unidirectional problem failures.

[0031] After connecting in the above way, when executing the access of "Optical Module-1", the following method is adopted. "SDA" is addressed to "SDA-A"; "SCL" is addressed to "SCL-A". At the same time, "Optical Module-2" has "SDA-A" signal but no "SCL-B" signal, so there is no response and no conflict. "Optical Module-3" has no "SDA-B" signal but has "SCL-A" signal, so there is no response and no conflict. "Optical Module-4" has no "SDA-B" signal and no "SCL-B" signal, so there is no response and no conflict. The absence of signal here is generally considered to be the high level in the default electrical characteristics of IIC.

[0032] When performing access to "optical module-2", the following method is used. "sda" addresses "sda-a"; "scl" addresses "scl-b". At the same time, "optical module-1" has an "sda-a" signal but no "scl-a" signal, so there is no response and no conflict. "Optical module-3" has no "sda-b" signal and no "scl-a" signal, so there is no response and no conflict. "Optical module-4" has no "sda-b" signal but has an "scl-b" signal, so there is no response and no conflict.

[0033] By analogy, access to "optical module-3" and "optical module-4" is performed. This solution utilizes the chip design features, the IO multiplexing "addressing" technology, the IIC bus access features, and the sda / scl "addressing" staggered hit target address. That is, this solution does not increase any cost, does not add any intermediate devices, simplifies the main chip design and circuit design under the condition of significantly reducing pins and their costs, and correctly and efficiently completes the optical module access of the IIC interface.

[0034] The specific design can also be Figure 5 , 6 As shown, the number of IO multiplexing "addressing" is increased as needed. The continuous numbering equalization method is to divide the M optical modules into groups equally, and each group corresponds to an SDA data logic pin in turn. The circular correspondence method is to correspond the SCL clock logic pins of the M optical modules in sequence, and repeat the circular correspondence when the number is insufficient. That is, when there are no more than 9 optical modules, three addressing numbers "sda-a" can be used to connect with optical module 1, optical module 2, and optical module 3, "sda-b" can be connected with optical module 4, optical module 5, and optical module 6, and "sda-c" can be connected with optical module 7, optical module 8, and optical module 9. "scl-a" is connected with optical module 1, optical module 4, and optical module 7, "scl-b" is connected with optical module 2, optical module 5, and optical module 8, and "scl-c" is connected with optical module 3, optical module 6, and optical module 9.

[0035] Similarly, when more optical modules need to be connected, you only need to use IO multiplexing to increase the number of "addresses" to achieve a small increase in the number of pins to connect a larger number of slave device optical modules.

[0036] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the concept of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. An addressing module for implementing IIC access to multiple optical modules, characterized in that: IIC includes SDA data logic pin and SCL clock logic pin, which control multiple pins respectively through time-sharing definition; multiple pins are connected to optical modules in bus mode, and each optical module has a pin connected to the corresponding management; SDA data logic pin and SCL clock logic pin are connected to the corresponding optical module in a completely different distribution order.

2. An addressing module for implementing IIC access to multiple optical modules according to claim 1, characterized in that: The optical module is numbered sequentially, multiple pins connected to the SDA data logic pin are connected in a continuous numbering and evenly distributed manner, and multiple pins connected to the SCL clock logic pin are connected in a cyclic corresponding manner.

3. The addressing module for implementing IIC access to multiple optical modules according to claim 2, characterized in that: The continuous numbering equalization method is to divide the M optical modules into groups equally, and each group corresponds to an SDA data logic pin in turn.

4. The addressing module for implementing IIC access to multiple optical modules according to claim 2, characterized in that: The circular correspondence method is to correspond the SCL clock logic pins of the M optical modules in sequence, and repeat the circular correspondence when the number is insufficient.

5. The addressing module for implementing IIC access to multiple optical modules according to claim 1, characterized in that: The multiple pins connected to the SDA data logic pin and the multiple pins connected to the SCL clock logic pin are all exclusively and uniquely connected using time-sharing definition.