CN201886466U - Seamless transition module from MDIO (management data input output) bus slave computer to SPI (serial peripheral interface) bus - Google Patents
Seamless transition module from MDIO (management data input output) bus slave computer to SPI (serial peripheral interface) bus Download PDFInfo
- Publication number
- CN201886466U CN201886466U CN2010206608836U CN201020660883U CN201886466U CN 201886466 U CN201886466 U CN 201886466U CN 2010206608836 U CN2010206608836 U CN 2010206608836U CN 201020660883 U CN201020660883 U CN 201020660883U CN 201886466 U CN201886466 U CN 201886466U
- Authority
- CN
- China
- Prior art keywords
- mdio
- bus
- spi
- interface
- fpga
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Abstract
The utility model discloses a seamless transition module from an MDIO (management data input output) bus slave computer to an SPI (serial peripheral interface) bus, which comprises an FPGA (field programmable gate array), wherein the FPGA is respectively connected with a system planar and an MCU (micro control unit) of an optical module. According to the seamless transition module provided by the utility model, the switching over of the system planar and the MCU of the optical module is realized by the FPGA; by utilizing the programmable characteristic of the FPGA, the analysis of an MDIO bus interface can be realized, thus data streams received by the MDIO bus slave computer can be decoded and converted to be output by an SPI host computer interface, and the data streams received by the SPI host computer can be decoded and converted to be output by the MDIO bus slave computer. According to the seamless transition module, the timing sequence requirement of an MDIO protocol can be met and realized, and the SPI interface is realized by a plurality of main stream MCUs, thus the protocol requirement of the optical module can be realized by a universal MCU and the control requirement can be finished.
Description
Technical field
The utility model relates to a kind of interface protocol modular converter, specifically, is the bumpless transfer module of a kind of MDIO bus slave computer to SPI (Serial Peripheral Interface (SPI)) bus.
Background technology
At present, (interface of optical module of 40G~100G) and system communication adopts MDIO (management data input and output) interface to the part novel high speed, slightly variant with the MDIO interface on the PHY chip of using always (ethernet physical layer transceiver), be embodied on speed and the frame structure.On the other hand, the realization of the control section of optical module is limited by size and complexity, selects for use MCU (Micro Control Unit, micro-control unit) to realize control mostly, but realizes that without any MCU MDIO is from interface now.Be exactly that existing MCU can't carry out communication with the MDIO interface on the system board in simple terms.
The utility model content
The technical problems to be solved in the utility model provides a kind of interface protocol modular converter, can realize that the MDIO interface on MCU and the system board carries out communication.
In order to solve the problems of the technologies described above, the utility model provides the bumpless transfer module of a kind of MDIO bus slave computer to spi bus, comprise on-site programmable gate array FPGA, described FPGA links to each other by the micro-control unit MCU of interface with System Backplane and optical module respectively.
Described interface is an IO interface.
It is the MCU switching of System Backplane and optical module that the utility model adopts FPGA, utilize the programmable features of FPGA, realization is to the parsing of MDIO bus interface, the data stream decoding conversion of MDIO slave is exported by the SPI host interface, the data stream decoding conversion that the SPI main frame receives is exported by the MDIO slave.Can satisfy and the requirement of realization MDIO agreement sequential, and the SPI interface is realized by most of main flow MCU, so just can realize the protocol requirement of optical module and finish the control requirement with general MCU.
Description of drawings
Fig. 1 is the frame diagram of MDIO bus slave computer of the present utility model to the bumpless transfer module of spi bus;
Fig. 2 be embodiment illustrated in fig. 1 in the schematic diagram that leads to of each module.
Embodiment
The utility model is described in further detail below in conjunction with the drawings and specific embodiments, so that those skilled in the art can better understand the utility model and being implemented, but illustrated embodiment is not as to qualification of the present utility model.
As shown in Figure 1, MDIO bus slave computer of the present utility model is to the bumpless transfer module of spi bus, comprise FPGA (Field-Programmable Gate Array, field programmable gate array), described FPGA links to each other by the micro-control unit MCU of interface with System Backplane and optical module respectively.Wherein, said interface is input and output (I/O) interfaces.
Wherein, SCK is the spi bus serial clock of FPGA simulation; MOSI is the spi bus output data line for FPGA, is the spi bus input data line for MCU; MISO is the spi bus input data line for FPGA, is the spi bus output data line for MCU; NSS is a spi bus chip selection signal line, and when being high level, the spi bus of MCU is invalid, and when being low level, the spi bus of MCU is effective; Condition line 1 and condition line 2, when being 00 be MDIO send for the address, be 01 o'clock be MDIO send be the write data order, be 10 o'clock be MDIO send be continuous read command; Be 11 o'clock be MDIO send be the single read command; The handshake line is guaranteed communication just often when FPGA need shake hands, and FPGA will send a pulse, and notice MCU will carry out handshake operation, after the success of shaking hands, level is put height, and notice MCU shakes hands successful; The MCU condition line, a pulse notice FPGA is sent out in acting as of this line, and MCU is ready to, can carry out next step operation
See also Fig. 1, the MDIO data stream that FPGA receiving system backboard transmits converts the SPI stream data transmission to and gives MCU, carries out the mutual of MDIO data between FPGA and the System Backplane, and becomes SPI data and MCU mutual the MDIO data-switching.
The above embodiment is the preferred embodiment that proves absolutely that the utility model is lifted, and protection domain of the present utility model is not limited thereto.Being equal to that those skilled in the art are done on the utility model basis substitutes or conversion, all within protection domain of the present utility model.Protection domain of the present utility model is as the criterion with claims.
Claims (2)
1. a MDIO bus slave computer is characterized in that to the bumpless transfer module of spi bus comprise on-site programmable gate array FPGA, described FPGA links to each other by the micro-control unit MCU of interface with System Backplane and optical module respectively.
2. MDIO bus slave computer according to claim 1 is characterized in that to the bumpless transfer module of spi bus described interface is an IO interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010206608836U CN201886466U (en) | 2010-12-15 | 2010-12-15 | Seamless transition module from MDIO (management data input output) bus slave computer to SPI (serial peripheral interface) bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010206608836U CN201886466U (en) | 2010-12-15 | 2010-12-15 | Seamless transition module from MDIO (management data input output) bus slave computer to SPI (serial peripheral interface) bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201886466U true CN201886466U (en) | 2011-06-29 |
Family
ID=44184014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010206608836U Expired - Lifetime CN201886466U (en) | 2010-12-15 | 2010-12-15 | Seamless transition module from MDIO (management data input output) bus slave computer to SPI (serial peripheral interface) bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201886466U (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102684790A (en) * | 2012-05-30 | 2012-09-19 | 曙光信息产业(北京)有限公司 | Optical module control system utilizing FPGA (Field Programmable Gate Array) |
CN102750253A (en) * | 2012-06-06 | 2012-10-24 | 武汉电信器件有限公司 | Centum form factor pluggable (CFP) optical module and management data input/output (MDIO) interface communication method thereof |
CN103630987A (en) * | 2013-11-20 | 2014-03-12 | 深圳市易飞扬通信技术有限公司 | CFP (centum form factor pluggable) optical module and MDIO (management data input/output) interface circuit thereof |
CN103729322A (en) * | 2014-01-02 | 2014-04-16 | 上海斐讯数据通信技术有限公司 | System for transition of buses with different timing sequences and communication method thereof |
CN111367850A (en) * | 2020-02-11 | 2020-07-03 | 国电南瑞科技股份有限公司 | Rapid communication method between FPGA and MCU |
-
2010
- 2010-12-15 CN CN2010206608836U patent/CN201886466U/en not_active Expired - Lifetime
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102684790A (en) * | 2012-05-30 | 2012-09-19 | 曙光信息产业(北京)有限公司 | Optical module control system utilizing FPGA (Field Programmable Gate Array) |
CN102750253A (en) * | 2012-06-06 | 2012-10-24 | 武汉电信器件有限公司 | Centum form factor pluggable (CFP) optical module and management data input/output (MDIO) interface communication method thereof |
CN103630987A (en) * | 2013-11-20 | 2014-03-12 | 深圳市易飞扬通信技术有限公司 | CFP (centum form factor pluggable) optical module and MDIO (management data input/output) interface circuit thereof |
CN103630987B (en) * | 2013-11-20 | 2015-11-18 | 深圳市易飞扬通信技术有限公司 | CFP optical module |
CN103729322A (en) * | 2014-01-02 | 2014-04-16 | 上海斐讯数据通信技术有限公司 | System for transition of buses with different timing sequences and communication method thereof |
CN111367850A (en) * | 2020-02-11 | 2020-07-03 | 国电南瑞科技股份有限公司 | Rapid communication method between FPGA and MCU |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201886466U (en) | Seamless transition module from MDIO (management data input output) bus slave computer to SPI (serial peripheral interface) bus | |
CN102621974B (en) | Industrial automatic real-time control device and method based on communication bus | |
CN105208034B (en) | A kind of spi bus and CAN bus protocol conversion circuitry and method | |
JP2005228311A (en) | Bus system based on open type core protocol | |
CN104239271A (en) | Simulation image player realized by adopting FPGA and DSP | |
CN105611295A (en) | System and method for implementing video capture, compression and transmission on SOC (System On Chip) | |
CN103914424A (en) | Method and device for expanding LPC (linear predictive coding) peripheral on basis of GPIO (general purpose input/output) interface | |
CN103136163B (en) | Protocol processor chip capable of allocating and achieving FC-AE-ASM and FC-AV protocol | |
CN110855996B (en) | Image coding and decoding and network transmission method and device based on FPGA | |
CN105786741B (en) | SOC high-speed low-power-consumption bus and conversion method | |
CN103036685A (en) | DP83849C-based AFDX interface converter | |
CN201378851Y (en) | CCD image data collecting device | |
CN102012877A (en) | Method for expanding embedded processor GPIO by using CPLD | |
CN105718410B (en) | A kind of LPC based on FPGA and SPI and I2C conversion adapters and its implementation | |
CN201336032Y (en) | Software simulation serial data transmission device | |
CN102693203A (en) | Embedded USB (universal serial bus) host | |
CN200944235Y (en) | Interface device of digital signal processor synchronous serial port and asynchronous serially equipment | |
CN201222250Y (en) | Multicomputer switching device with data transmission function between computers | |
CN101140551B (en) | Device for realizing digital signal processor asynchronous serial communication | |
CN202058139U (en) | Serial port conversion module based on universal asynchronous receiver/transmitter (UART) serial port expansion chip | |
CN102202431B (en) | Increase the apparatus and method of 3G communication module and Application Processor Interface flexibility | |
CN103051817B (en) | Method and voice terminal device for realizing pulse code modulation (PCM) information interaction by utilizing serial peripheral interface (SPI) interface | |
CN102508807B (en) | Scalable processor architecture (SPARC)-V8-processor-based bus structure | |
CN202720637U (en) | Serial communication interface of system on chip | |
CN104035906B (en) | Method and the application thereof of time division multiplex bus is realized with SPI |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20110629 |
|
CX01 | Expiry of patent term |