CN214756745U - Optical module circuit - Google Patents

Optical module circuit Download PDF

Info

Publication number
CN214756745U
CN214756745U CN202120285774.9U CN202120285774U CN214756745U CN 214756745 U CN214756745 U CN 214756745U CN 202120285774 U CN202120285774 U CN 202120285774U CN 214756745 U CN214756745 U CN 214756745U
Authority
CN
China
Prior art keywords
module
interface
switch
mcu
golden finger
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.)
Active
Application number
CN202120285774.9U
Other languages
Chinese (zh)
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.)
Ruitai Weihai Electronic Technology Co ltd
Original Assignee
Ruitai Weihai Electronic Technology 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 Ruitai Weihai Electronic Technology Co ltd filed Critical Ruitai Weihai Electronic Technology Co ltd
Priority to CN202120285774.9U priority Critical patent/CN214756745U/en
Application granted granted Critical
Publication of CN214756745U publication Critical patent/CN214756745U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model relates to an optical module circuit, including golden finger module, MCU module and switch switching module, golden finger module I2C interface is connected with MCU module I2C interface and download interface through switch switching module, and switch switching module is used for switching golden finger module I2C interface and MCU module I2C interface or golden finger module I2C interface and MCU module download interface connection; so, switch the hookup location of golden finger module I2C interface and MCU module through the switch switching module, when normal communication, golden finger module I2C interface and MCU module I2C interface connection, realize normal communication transmission function, when the needs download upgrading, golden finger module I2C interface and MCU module download interface connection, realize high-speed download, switch easy operation, it is slow to solve the optical communication module download speed among the prior art, and when improving download speed through reserving the probe point, the poor commonality of operability is low problem.

Description

Optical module circuit
Technical Field
The utility model belongs to the technical field of the optical communication module, concretely relates to optical module circuit.
Background
With the development of the optical communication industry, higher-speed optical modules are increasingly popularized, QSFP _ DD protocol modules are increasingly used, the control logic of the MCU in the optical module of the QSFP _ DD protocol is complex, and the occupied space of the data area is large, resulting in an increasingly large Flash space required by the whole firmware. The general I2C program downloading mode in the optical module industry has the defects of low downloading efficiency and long time consumption, and the downloading interface of the MCU is directly used for fast downloading, but the I2C and the downloading are not multiplexed at the MCU end and cannot be compatible. Some manufacturers may use a mode of reserving probe points on the PCB for downloading the program quickly, but the downloading needs to be completed by matching with a special tool, such as using a probe and a probe point for contact, and the problems of poor operability and low universality exist.
SUMMERY OF THE UTILITY MODEL
In order to solve the above-mentioned problem that prior art exists at least, the utility model provides an optical module circuit.
The utility model provides a technical scheme as follows:
a light module circuit, comprising: the device comprises a golden finger module, an MCU module and a switch switching module;
the I2C interface of the golden finger module is connected with the input end of the switch switching module;
the first output end of the switch switching module is connected with an I2C interface of the MCU module, and the second output end of the switch switching module is connected with a downloading interface of the MCU module;
the switch switching module is used for switching the connection between the I2C interface of the golden finger module and the I2C interface of the MCU module or the connection between the I2C interface of the golden finger module and the downloading interface of the MCU module.
Optionally, the switch switching module includes a first switch and a second switch;
the input end of the first switch is connected with the interface of the golden finger I2C, and the output end of the first switch is the first output end of the switch switching module and is connected with the interface of the MCU module I2C;
the input end of the second switch is connected with the golden finger I2C interface, and the output end of the second switch is the second output end of the switch switching module and is connected with the MCU module downloading interface.
Optionally, the first switch is further connected to the first control interface of the MCU module, and is configured to receive a control signal sent by the MCU module and change a conducting or disconnecting state of the first switch.
Optionally, the second switch is further connected to a second control interface of the MCU module, and is configured to receive a control signal sent by the MCU module and change a conducting or disconnecting state of the second switch.
Optionally, the circuit further includes a first control resistor and a second control resistor;
the first control resistor is arranged between the first switch and the first control interface and used for controlling the initial on-off state of the first switch by changing the resistance value by a user;
the second control resistor is arranged between the second switch and the second control interface and used for controlling the initial on-off state of the second switch by changing the resistance value by a user.
Optionally, the first control resistor is a pull-up resistor or a pull-down resistor;
the second control resistor is a pull-up resistor or a pull-down resistor.
Optionally, the first switch is a logic gate circuit.
Optionally, the second switch is a logic gate circuit.
Optionally, the download interface is an SWD interface.
Optionally, the first control interface and the second control interface are general I/O control interfaces.
The utility model has the advantages that:
the embodiment of the utility model provides an optical module circuit, include; the device comprises a golden finger module, an MCU module and a switch switching module; the I2C interface of the golden finger module is connected with the input end of the switch switching module; the first output end of the switch switching module is connected with an I2C interface of the MCU module, and the second output end of the switch switching module is connected with a downloading interface of the MCU module; the switch switching module is used for switching the connection between the I2C interface of the golden finger module and the I2C interface of the MCU module or the connection between the I2C interface of the golden finger module and the downloading interface of the MCU module. So, through the I2C interface of switch switching module control golden finger module and the I2C interface connection of MCU module or with the download interface connection of MCU module, when normal information transmission, make the I2C interface of golden finger module and the I2C interface connection of MCU module, realize general communication function, when needing to download the upgrade, switch over the module through the switch, connect the I2C interface of golden finger module and the download interface of MCU module, realize the high-speed download function, thereby on the basis of guaranteeing normal information transmission, can also satisfy the requirement of high-speed download, and switch over the action simply, the practicality is high, in having solved prior art, optical communication module download speed is slow, or need special dedicated frock of cooperation to realize when improving download speed through the mode of probe point, the problem of complicated operation, the commonality is poor.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of an optical module circuit according to an embodiment of the present invention.
The device comprises a 1-golden finger module, a 2-MCU module and a 3-switch switching module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be described in detail below. It is to be understood that the embodiments described are only some embodiments of the invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
Along with the development of an optical communication industrial chain, a higher-speed optical module is more and more popular, particularly, due to the fact that a QSFP _ DD protocol is launched, 200G, 400G and 800G optical modules are also continuously appeared and updated, the module is multiplied by the parallel channel of the original module, the control logic of the protocol is more and more complex, particularly, due to the fact that the CMIS4.0 is put forward, the firmware is required to be continuously upgraded by business, two parts of firmware are needed, the size of the whole firmware is multiple times of the original size, the downloading speed of the original firmware is not a factor influencing generation, and the problem of long time consumption of downloading is gradually revealed at present.
At present, the most mainstream method for downloading the optical module is to multiplex an I2C bus of a module golden finger, and an MCU in the module needs a BootLoader with an I2C. This approach has two limitations, one is that the MCU needs a BootLoader with I2C, and the other is that the I2C bus is not efficient and has a low communication rate. The other downloading mode is to reserve a probe point on the PCB, adopt a special tool and use the probe to contact with the probe point for programming, and the mode has two defects, one is that the tool needs to be customized specially, and the module has no universality, and the second is that the module can not be used after being cased.
The current general I2C communication bus has 400kHz rate, the SWDs are all in MHz level, and the intervals of data frames are different in the communication process, so that the general programming interface has higher rate and is more suitable for program downloading
To the above situation, for at least solving the utility model discloses in the technical problem who proposes, the embodiment of the utility model provides an optical module circuit.
Fig. 1 is a schematic diagram of an optical module circuit provided by an embodiment of the present invention, referring to fig. 1, the optical module circuit provided by this embodiment includes: the device comprises a golden finger module 1, an MCU module 2 and a switch switching module 3; the I2C interface of the golden finger module 1 is connected with the input end of the switch switching module 3; a first output end of the switch switching module 3 is connected with an I2C interface of the MCU module 2, and a second output end is connected with a download interface of the MCU module 2; the switch switching module 3 is used for switching the connection between the I2C interface of the golden finger module 1 and the I2C interface of the MCU module 2 or the connection between the I2C interface and the download interface of the MCU module 2;
specifically, the switch switching module 3 includes an input end connected to the I2C interface of the golden finger module 1, and the switch switching module 3 further includes two output ends respectively connected to the I2C interface of the MCU module 2 and the download interface of the MCU module 2; the switch switching module 3 comprises two switches, namely a first switch and a second switch, and the two specific switches can be realized by adopting the simplest circuit in a digital circuit, namely a logic gate circuit, so that the cost is low, the package is small, and the occupied space is small.
A switch switching module 3, namely two switches, namely a first switch and a second switch, is additionally arranged between the golden finger module 1 and the MCU module 2; one end of the first switch is connected with an I2C bus of the golden finger module 1, and the other end of the first switch is connected with an I2C bus pin of the MCU module 2; one end of the second switch is also connected with the I2C bus of the golden finger module 1, and the other end is connected with the download port of the MCU module 2, that is, the I2C of the golden finger is divided into two parts by the first switch and the second switch, one end of the second switch is connected with the I2C bus pin of the MCU module 2, and the other end of the second switch is connected with the download interface of the MCU module 2, that is, the programming interface.
In practical application, because the downloading port of the current MCU is also universal, the SWD interface is generally used rapidly, and the SWD interface is connected with the I2C interface of the golden finger module 1, so that the function of high-speed downloading is realized, and the programming speed is improved.
The switch switching module 3 is used for switching the connection between the I2C interface of the golden finger module 1 and the I2C interface of the MCU module 2 or the connection between the I2C interface and the download interface of the MCU module 2;
specifically, when the MCU module 2 needs to be downloaded, the golden finger module 1I2C interface and the download interface of the MCU module 2 are connected for high-speed downloading, and after the program is downloaded, the program control switch disconnects the connection between the golden finger module 2I2C interface and the download interface, and connects the golden finger module 1I2C interface and the MCU module 2I2C bus interface; if the program needs to be downloaded again, the program is upgraded again, the program control switch is used for conducting communication between the golden finger module 1I2C and the download port of the MCU module 2, and the downloading and upgrading are carried out when the upgrading mode is switched in again.
According to the optical module circuit provided by the embodiment of the application, two simple logic gate circuits are added between the golden finger and the MCU, so that the golden finger is switched to connect different interfaces of the MCU, and the golden finger I2C and the I2C of the MCU are connected during normal communication to keep normal communication; when the upgrading is downloaded to needs, disconnection golden finger I2C and MCU's I2C's connection, break on golden finger I2C and MCU download interface, carry out high-speed download, through the golden finger from the interface of the I2C who takes, in the download process, use the dedicated download port of inside MCU to accomplish the download, can be in order to keep normal communication transmission, can be again through simple quick circuit switching, realize high-speed download, the specificity is stronger, solved among the prior art, optical communication module download speed is slow and set up the reservation electric shock for improving download speed, switching operation is complicated, the poor problem of communicational nature.
Further, the first switch is further connected with a control interface of the MCU module 2, i.e. a first control interface, for receiving a control signal sent by the MCU module 2, thereby realizing a function of controlling the on/off state of the first switch, and similarly, the second switch is also connected with the control interface of the MCU module 2, i.e. a second control interface, for receiving a control signal sent by the MCU module, thereby realizing a function of controlling the on/off state of the second switch.
In practical application, the first control interface and the second control interface may be general I/O interfaces of MCU, which are connected to the first switch through the general I/O interfaces, and control the on/off state of the first switch, and are connected to the second switch through another general I/O interface, and control the on/off state of the second switch, thereby implementing the connection between the gold finger module 1I2C interface and the MCU module 2I2C interface or the connection between the gold finger module 1I2C interface and the MCU module 2I2C interface, during normal communication, the gold finger module 1I2C interface and the MCU module 2I2 downloading interface are connected when downloading and upgrading are needed, so that control is simpler, and user experience is increased.
It should be noted that, before the MCU module 2 has not downloaded the program, the state of the control interface, i.e., the general I/O interface, is the default state and is not controlled, so the initial states of the switches are respectively controlled by the control resistors at this time, and in practical application, a first control resistor may be added to connect the first switch, and a second control resistor may be connected to the second switch; specifically, the control resistor can be realized by a pull-up resistor and a pull-down resistor; in the optical module circuit provided by the embodiment of the application, a pull-up resistor or a pull-down resistor is arranged between the first switch and the first control interface, namely the first control interface of the MCU module 2, so that a user can change the on/off state of the switch through the pull-up resistor or the pull-down resistor when the circuit is in the initial state; similarly, a pull-up resistor or a pull-down resistor is also arranged between the second switch and the second control interface, namely the pull-up resistor or the pull-down resistor is arranged at the second control interface of the MCU module 2, so that the same function is realized, and the states of the first switch and the second switch are controlled when the circuit is in the initial state.
The above description is only for the specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present invention, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means at least two unless otherwise specified.
In addition, each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art without departing from the scope of the present invention.

Claims (10)

1. A light module circuit, comprising: the device comprises a golden finger module, an MCU module and a switch switching module;
the I2C interface of the golden finger module is connected with the input end of the switch switching module;
the first output end of the switch switching module is connected with an I2C interface of the MCU module, and the second output end of the switch switching module is connected with a downloading interface of the MCU module;
the switch switching module is used for switching the connection between the I2C interface of the golden finger module and the I2C interface of the MCU module or the connection between the I2C interface of the golden finger module and the downloading interface of the MCU module.
2. A light module circuit according to claim 1, wherein the switch switching module comprises a first switch and a second switch;
the input end of the first switch is connected with the interface of the golden finger I2C, and the output end of the first switch is the first output end of the switch switching module and is connected with the interface of the MCU module I2C;
the input end of the second switch is connected with the golden finger I2C interface, and the output end of the second switch is the second output end of the switch switching module and is connected with the MCU module downloading interface.
3. The optical module circuit according to claim 2, wherein the first switch is further connected to the first control interface of the MCU module, and configured to receive a control signal sent by the MCU module and change an on or off state of the first switch.
4. A light module circuit according to claim 3, wherein the second switch is further connected to the second control interface of the MCU module, and is configured to receive a control signal sent by the MCU module and change the on or off state of the second switch.
5. A light module circuit according to claim 4, further comprising a first control resistor and a second control resistor;
the first control resistor is arranged between the first switch and the first control interface and used for controlling the initial on-off state of the first switch by changing the resistance value by a user;
the second control resistor is arranged between the second switch and the second control interface and used for controlling the initial on-off state of the second switch by changing the resistance value by a user.
6. A light module circuit according to claim 5,
the first control resistor is a pull-up resistor or a pull-down resistor;
the second control resistor is a pull-up resistor or a pull-down resistor.
7. A light module circuit according to claim 2, characterized in that the first switch is a logic gate circuit.
8. A light module circuit according to claim 2, characterized in that the second switch is a logic gate circuit.
9. A light module circuit according to claim 1,
the download interface is an SWD interface.
10. A light module circuit according to claim 4, characterized in that the first control interface and the second control interface are general purpose I/O control interfaces.
CN202120285774.9U 2021-02-01 2021-02-01 Optical module circuit Active CN214756745U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120285774.9U CN214756745U (en) 2021-02-01 2021-02-01 Optical module circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120285774.9U CN214756745U (en) 2021-02-01 2021-02-01 Optical module circuit

Publications (1)

Publication Number Publication Date
CN214756745U true CN214756745U (en) 2021-11-16

Family

ID=78643132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120285774.9U Active CN214756745U (en) 2021-02-01 2021-02-01 Optical module circuit

Country Status (1)

Country Link
CN (1) CN214756745U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076274A (en) * 2021-04-30 2021-07-06 成都优博创通信技术有限公司 Optical module and software program acquisition method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076274A (en) * 2021-04-30 2021-07-06 成都优博创通信技术有限公司 Optical module and software program acquisition method
CN113076274B (en) * 2021-04-30 2022-08-09 成都优博创通信技术有限公司 Optical module and software program acquisition method

Similar Documents

Publication Publication Date Title
US7069347B1 (en) Device and method for adapting speed of a USB device based on available power
CN102687131A (en) Configurable connector for system-level communication
CN108920397B (en) Device identification method and device, storage medium and electronic device
EP3171484A1 (en) Mobile terminal, power supply adapter, and upgrading method thereof
CN107835967A (en) Voltage conversion for USB power delivery sources controls
EP2950219B1 (en) Method and apparatus for using serial port in time division multiplexing manner
CN214756745U (en) Optical module circuit
CN111103827B (en) Server working mode switching device
CN107613126A (en) UART and USB multiplex circuits and mobile terminal
US20130236190A1 (en) Optical transceiver having improved functions to load control program
CN112463702A (en) CPLD I2C channel address allocation method and system of cascade backplane
CN114328329A (en) Communication module design method and device compatible with master and slave devices
CN113626359A (en) Signal switching device and method for flash memory chip of server
CN102508810A (en) Switching device and switching method
CN105430723B (en) The carrier aggregation mode setting method and communication terminal of a kind of communication terminal
CN116541329A (en) Data transmission method, device, equipment and medium
CN113934661B (en) Electronic equipment, control method, device and medium
CN110381379A (en) Idle method, test method and the Related product of network machine top box
CN115858426A (en) Hard disk interface, hard disk and electronic equipment
CN111123883B (en) Dual-drive unmanned vehicle simulation method, device, equipment and computer readable medium
CN210804054U (en) Circuit of CAN bus interface expansion interface
CN111443926B (en) Method, device, equipment and storage medium for cleaning data
CN105430727A (en) Communication terminal and carrier aggregation mode setting method thereof
CN216794990U (en) Communication circuit supporting 4G and 5G switching, V2X device, vehicle and road side device
CN117827716B (en) Master-slave switching interface structure of server and application equipment thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of utility model: Optical module circuit

Effective date of registration: 20230606

Granted publication date: 20211116

Pledgee: Weihai commercial bank Limited by Share Ltd.

Pledgor: Ruitai (Weihai) Electronic Technology Co.,Ltd.

Registration number: Y2023980042959