A kind of SFP+ type optical communication testing apparatus
Technical field
The utility model patent relates to a kind of optical communication testing apparatus, relates in particular to a kind of SFP+ type optical communication testing apparatus.
Background technology
SFP+ is the abbreviation of Small Form Factor Pluggable Module, be a kind of optical module of low profile thermal plug encapsulation, there is monitoring MCU SFP+ optical module inside, gathers various communication performance parameters, be Diagnostic parameters, and save the data in the memory according to the SFF standard agreement.It provides the external interface of an IIC mode, and the order that the read-write parameter information can only be by meeting the IIC agreement.
For the commissioning staff, debug the optical module performance at the scene, find out failure cause, the performance parameter that needs real-time monitor optical module, issuing PC after by a testing apparatus data being read in the optical module shows, or on PC configuration information, by a testing apparatus data are write in the optical module.
So this testing apparatus need be finished and the PC communication function, and and the communication function of optical module.The first, testing apparatus and optical module communication function are based on the IIC communication modes.The second, in the communication modes of microprocessor and PC, main available parallel port, serial ports and USB interface.The parallel port pin is various, with the communication applications of microprocessor in uncommon.Relatively Chang Yong mode is serial ports (DB9), because its agreement is fairly simple, realizes also than being easier to.
In the above-mentioned existing testing apparatus scheme, serial mode is adopted in PC and testing apparatus communication, though this communication modes realizes that simply message transmission rate is slower, the microprocessor of adding on the testing apparatus advanced protocol conversion and IIC communication, and the real-time property that obtains on PC is not high.The portable PC of debugging generally is not with this hardware of serial ports now in addition, brings inconvenience to field adjustable.
The utility model content
The purpose of this utility model is, a kind of SFP+ type optical communication testing apparatus is provided.The real-time property that obtains on its transmission rate that can improve PC (external computer) and testing apparatus and the PC, and easy to use, simple in structure.
The technical solution of the utility model: a kind of SFP+ type optical communication testing apparatus is characterized in that: comprise microprocessor, communication interface A, communication interface B, power management module.Microprocessor links to each other with power management module with communication interface A, communication interface B respectively, and communication interface A also links to each other with power management module.
In the aforesaid SFP+ type optical communication testing apparatus, be provided with USB module and two IIC modules in the described microprocessor, the USB module links to each other with communication interface A, like this microprocessor and the external computer passage that connects; Two IIC modules all link to each other with communication interface B, have set up the interface channel of microprocessor and exterior light module.
In the aforesaid SFP+ type optical communication testing apparatus, described microprocessor is a MSP430F55XX series microprocessor chip.
Compared with prior art, the utility model is the USB device with SFP+ type optical communication testing apparatus, when testing apparatus is connected with outer PC by the USB connecting line, by the microprocessor module configuration this testing apparatus is enumerated into the CDC module, the upper computer software system can be used for testing apparatus as serial ports on the PC, it is sent order and data, and substantial data is the USB communication from the transmission means that PC arrives testing apparatus, speed is many soon than serial ports.Microprocessor on the testing apparatus can read and resolve the order and the data of outside upper computer software module, thereby realizes the communications protocol of PC and microprocessor.Microprocessor can read and write the information of outside optical module communication by IIC, and be the form that outside upper computer software module can be discerned with information translation, PC has just been set up to the data link of exterior light module to testing apparatus again like this.
Description of drawings
Fig. 1 is a structural representation of the present utility model;
Fig. 2 is the utility model embodiment workflow diagram.
Being labeled as in the accompanying drawing: 1-microprocessor, 2-communication interface A, 3-communication interface B, 4-power management module, 5-USB module, 6-IIC module, 7-external computer, 8-optical module.
Embodiment
Below in conjunction with drawings and Examples the utility model is further described, but not as the foundation to the utility model restriction.
Embodiment.A kind of SFP+ type optical communication testing apparatus as shown in Figure 1, comprises microprocessor 1, communication interface A2, communication interface B3, power management module 4.Microprocessor 1 links to each other with power management module 4 with communication interface A2, communication interface B3 respectively, and communication interface A2 also links to each other with power management module 4.Be provided with USB module 5 and two IIC modules 6 in the described microprocessor 1, USB module 5 links to each other with communication interface A2, and two IIC modules 6 all link to each other with communication interface B3.Communication interface A2 links to each other with the USB interface of external computer 7, and communication interface B3 links to each other with optical module 8.Described microprocessor 1 is MSP430F55XX series microprocessor chip (Texas Instrument's production).
The course of work is as shown in Figure 2: externally in the software interface function of computer (host computer), can comprise in the memory of optical module inside that the concrete implication of 512 byte content is resolved altogether.For example: the voltage of the transmitting power of optical module, bias current, optical module, temperature, light are accepted power.And the alarming threshold value set point of these parameters.