| The MIPI CSI-2 protocol was proposed by the Mobile Industry Processor Interface Alliance,which defines a series of internal interface standards for mobile phones.The establishment of MIPI Alliance enables a variety of transmission interfaces on the market to have a unified transmission specification,which allows different devices to share the same transmission protocol,and thus brings convenience to designers.The MIPI CSI-2 interface has been widely used in mobile devices such as mobile phones due to its strong anti-interference performance and fast transmission rate.Therefore,research on the interface design and implementation based on MIPI CSI-2 protocol has important engineering significance.The main content of this article includes:First,by systematically analyzing the CSI-2 protocol under MIPI Alliance,the level division of interface based on MIPI CSI-2 protocol is completed.The MIPI CSI-2 protocol describes an interface between the camera module and the processor.The transmitting end of the interface is located in the camera module and the receiving end is located in the processor.According to the requirements of protocol,the interface is divided into application layer,protocol layer,physical layer and CCI module for configuration.The application layer describes the high-level coding and interpretation of the data contained in the data stream.The protocol layer is used to package the data and send it in channels.The physical layer forms the final signal waveform based on the D-PHY protocol.The CCI configuration module is based on the CCI protocol to configure the interface parameters.Secondly,according to the protocol requirements,this article uses Verilog HDL language to design and simulate the protocol layer and CCI configuration module of the transmitter and receiver respectively,and further complete the design and simulation of the top-level circuit of the interface transmitter and receiver.Finally,this thesis uses Design Compilier synthesis tool to realize logic synthesis based on 180 nm craft,and obtain the corresponding gate-level netlist.Then the IC Compilier tool is adpoted to complete the layout.Simulation result verifies that the proposed transmitter circuit layout meets the requirements of both timing and functional. |