KR20200138275A - MIPI D-PHY sending circuit and equipment - Google Patents

MIPI D-PHY sending circuit and equipment Download PDF

Info

Publication number
KR20200138275A
KR20200138275A KR1020207029589A KR20207029589A KR20200138275A KR 20200138275 A KR20200138275 A KR 20200138275A KR 1020207029589 A KR1020207029589 A KR 1020207029589A KR 20207029589 A KR20207029589 A KR 20207029589A KR 20200138275 A KR20200138275 A KR 20200138275A
Authority
KR
South Korea
Prior art keywords
circuit
data
clock
mipi
phy
Prior art date
Application number
KR1020207029589A
Other languages
Korean (ko)
Other versions
KR102427868B1 (en
Inventor
싱중 류
Original Assignee
선전 판고 마이크로시스템즈 컴퍼니.,리미티드.
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 선전 판고 마이크로시스템즈 컴퍼니.,리미티드. filed Critical 선전 판고 마이크로시스템즈 컴퍼니.,리미티드.
Publication of KR20200138275A publication Critical patent/KR20200138275A/en
Application granted granted Critical
Publication of KR102427868B1 publication Critical patent/KR102427868B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system

Abstract

본 발명은 MIPI D-PHY 발송 회로 및 기기를 제공하고, MIPI D-PHY 발송 회로는 FPGA 재구성 가능 발송 클록 회로; 상기 FPGA 재구성 가능 발송 클록 회로에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로; 데이터 패킷 재조합 회로; 및 상기 데이터 패킷 재조합 회로에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로를 포함하며, FPGA 재구성 가능 MIPI D-PHY 발송 회로를 통해 MIPI D-PHY 발송 회로와 MIPI 프로토콜층에 대해 정합 설계를 진행하여, MIPI D-PHY 발송 회로의 구동 능력을 조절함으로써, 회로 면적을 효과적으로 감소하고 회로의 자원 사용률을 향상시키며, 발송 성능을 향상시키고 호환성을 향상시킬 수 있고, CSI-2와 DSI의 여러가지 다양한 응용 상황 요구를 만족시킬 수도 있다.The present invention provides a MIPI D-PHY sending circuit and device, the MIPI D-PHY sending circuit comprising: an FPGA reconfigurable sending clock circuit; An FPGA reconfigurable DPHY_IO sending circuit connected to the FPGA reconfigurable sending clock circuit; A data packet recombination circuit; And an FPGA reconfigurable DPHY_IO transmission circuit connected to the data packet recombination circuit, and a matching design is performed for the MIPI D-PHY transmission circuit and the MIPI protocol layer through the FPGA reconfigurable MIPI D-PHY transmission circuit, and the MIPI D -By adjusting the driving capability of the PHY sending circuit, it can effectively reduce the circuit area and improve the resource utilization rate of the circuit, improve the sending performance and improve the compatibility, and satisfy the various application requirements of CSI-2 and DSI. You can also make it.

Description

MIPI D-PHY 발송 회로 및 기기MIPI D-PHY sending circuit and equipment

본 발명은 2019년 5월 29일에 제출한 출원번호가 CN201910458822.7인 중국 출원의 우선권을 주장하고, 인용을 통해 그 모든 내용이 본문에 병합된다.The present invention claims the priority of the Chinese application with the application number CN201910458822.7 filed on May 29, 2019, and all the contents thereof are incorporated herein by reference.

본 발명은 고속 직렬 버스 기술분야에 관한 것이고, 더 구체적으로 MIPI D-PHY 발송 회로 및 기기에 관한 것이다.The present invention relates to the field of high-speed serial bus technology, and more particularly to MIPI D-PHY transmission circuits and devices.

MIPI(Mobile Industry Processor Interface, 모바일 산업 프로세서 인터페이스) DPHY는 모바일 업계 프로세서 인터페이스의 표준 범용 인터페이스이다. MIPI D-PHY 인터페이스가 모바일 업계에서의 응용이 날따라 광범위해짐에 따라, MIPI D-PHY 지원 모드에 대한 다양성에 대한 요구도 높아지고 있다. 그러나 기존의 MIPI D-PHY 회로는 모두 ASIC 전용 회로를 사용하기에 응용 모드에 대해 유연하게 구성할 수 없고, 전용 MIPI D-PHY 회로는 상이한 응용 상황 요구를 만족시킬 수 없다. 또한 범용 MIPI D-PHY 회로와 프로토콜(CSI-2/DSI) 회로가 각각 독립적이기에, MIPI D-PHY와 MIPI 프로토콜층은 모두 회로에 대해 프로토콜 처리를 진행해야 하므로, 일부 기능이 중복되어 자원 낭비 문제가 존재한다.Mobile Industry Processor Interface (MIPI) DPHY is a standard general purpose interface for the mobile industry processor interface. As the application of the MIPI D-PHY interface in the mobile industry becomes more and more widespread, the demand for a variety of MIPI D-PHY supported modes is also increasing. However, since all existing MIPI D-PHY circuits use ASIC-only circuits, they cannot be flexibly configured for the application mode, and dedicated MIPI D-PHY circuits cannot satisfy different application requirements. In addition, since the general-purpose MIPI D-PHY circuit and the protocol (CSI-2/DSI) circuit are each independent, both the MIPI D-PHY and MIPI protocol layers have to process the protocol for the circuit. Exists.

본 발명이 해결하고자 하는 기술적 과제는 기존의 전용 MIPI D-PHY 회로가 상이한 응용 상황 요구를 만족시킬 수 없고, 범용 MIPI D-PHY 회로와 프로토콜(CSI-2 프로토콜/DSI 프로토콜) 회로가 각각 독립적이기에, MIPI D-PHY와 MIPI 프로토콜층이 모두 회로에 대해 프로토콜 처리를 진행해야 하므로, 일부 기능이 중복되어 자원 낭비 문제가 존재하는 것이다.The technical problem to be solved by the present invention is that the conventional MIPI D-PHY circuit cannot satisfy different application requirements, and the general-purpose MIPI D-PHY circuit and the protocol (CSI-2 protocol/DSI protocol) circuit are each independent. However, since both the MIPI D-PHY and the MIPI protocol layer have to process the protocol for the circuit, there is a problem of wasting resources due to overlapping some functions.

상기 기술적 과제를 해결하기 위해, 본 발명은 MIPI D-PHY 발송 회로를 제공하고, 상기 MIPI D-PHY 발송 회로는 FPGA 재구성 가능 발송 클록 회로; 및 상기 FPGA 재구성 가능 발송 클록 회로에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로를 포함한다.In order to solve the above technical problem, the present invention provides a MIPI D-PHY transmission circuit, the MIPI D-PHY transmission circuit is an FPGA reconfigurable transmission clock circuit; And an FPGA reconfigurable DPHY_IO sending circuit connected to the FPGA reconfigurable sending clock circuit.

선택 가능하게, 상기 MIPI D-PHY 발송 회로는 데이터 패킷 재조합 회로; 및 상기 데이터 패킷 재조합 회로에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로를 더 포함하고, 상기 데이터 패킷 재조합 회로는 발송하고자 하는 데이터를 프로토콜에 따라 재패키징한 후 상기 FPGA 재구성 가능 DPHY_IO 발송 회로에 발송한다.Selectably, the MIPI D-PHY sending circuit comprises: a data packet recombination circuit; And an FPGA reconfigurable DPHY_IO transmission circuit connected to the data packet recombination circuit, wherein the data packet recombination circuit repackages the data to be transmitted according to a protocol and then sends it to the FPGA reconfigurable DPHY_IO transmission circuit.

선택 가능하게, 상기 MIPI D-PHY 발송 회로는 CSI-2프로토콜 또는 DSI프로토콜에 기초하여 데이터 전송을 진행한다.Optionally, the MIPI D-PHY sending circuit performs data transmission based on the CSI-2 protocol or the DSI protocol.

선택 가능하게, 상기 FPGA 재구성 가능 발송 클록 회로는 PLL 모듈을 포함하고, FPGA 재구성 가능 DPHY_IO 발송 회로는 DPHY_IO 클록 회로를 포함하며, 상기 PLL 모듈은 클록 링크 클록 신호 출력 회로, 데이터 링크 클록 신호 출력 회로를 포함하고, 상기 DPHY_IO 클록 회로는 각각 상기 클록 링크 클록 신호 출력 회로에 연결되는 클록 링크 클록 채널, 및 상기 데이터 링크 클록 신호 출력 회로에 연결되는 데이터 링크 클록 채널을 포함한다.Optionally, the FPGA reconfigurable sending clock circuit comprises a PLL module, the FPGA reconfigurable DPHY_IO sending circuit comprises a DPHY_IO clock circuit, and the PLL module comprises a clock link clock signal output circuit and a data link clock signal output circuit. The DPHY_IO clock circuit each includes a clock link clock channel connected to the clock link clock signal output circuit, and a data link clock channel connected to the data link clock signal output circuit.

선택 가능하게, 상기 클록 링크 클록 채널은 제1 주파수 분할 회로CLKDIV, 제1 병렬 직렬 변환 모듈OSERDES, 제1 입력 출력 버퍼IOB를 포함하고, 상기 제1 주파수 분할 회로 CLKDIV는 제1 상기 PLL 모듈이 발송한 클록 채널 데이터를 수신하고, 상기 클록 채널 데이터에 대해 주파수 분할을 진행한 후 제1 병렬 데이터를 얻으며, 상기 제1 병렬 데이터를 제1 병렬 직렬 변환 모듈OSERDES에 병렬 전송하고, 상기 제1 병렬 직렬 변환 모듈OSERDES은 상기 제1 병렬 데이터를 제1 직렬 데이터로 변환하여 상기 제1 입력 출력 버퍼IOB에 전송한다.Selectably, the clock link clock channel includes a first frequency division circuit CLKDIV, a first parallel serial conversion module OSERDES, and a first input output buffer IOB, and the first frequency division circuit CLKDIV is sent by the first PLL module. After receiving one clock channel data, performing frequency division on the clock channel data, obtaining first parallel data, transmitting the first parallel data in parallel to the first parallel serial conversion module OSERDES, and performing the first parallel serial The conversion module OSERDES converts the first parallel data into first serial data and transmits it to the first input output buffer IOB.

선택 가능하게, 상기 데이터 링크 클록 채널은 제2 주파수 분할 회로CLKDIV, 제2 병렬 직렬 변환 모듈OSERDES, 제2 입력 출력 버퍼IOB를 포함하고, 상기 제2 주파수 분할 회로CLKDIV는 상기 PLL 모듈이 발송한 데이터채널 데이터를 수신하고, 상기 데이터 채널 데이터에 대해 주파수 분할을 진행 한 후 제2 병렬 데이터를 얻으며, 상기 제2 병렬 데이터를 상기 제2 병렬 직렬 변환 모듈OSERDES에 병렬 전송하고, 상기 제2 병렬 직렬 변환 모듈OSERDES은 상기 제2 병렬 데이터를 제2 직렬 데이터로 변환하여 상기 제2 입력 출력 버퍼IOB에 전송한다.Selectably, the data link clock channel includes a second frequency division circuit CLKDIV, a second parallel serial conversion module OSERDES, and a second input output buffer IOB, and the second frequency division circuit CLKDIV is the data sent by the PLL module. Receiving channel data, performing frequency division on the data channel data, obtaining second parallel data, transmitting the second parallel data in parallel to the second parallel serial conversion module OSERDES, and performing the second parallel serial conversion The module OSERDES converts the second parallel data into second serial data and transmits it to the second input output buffer IOB.

선택 가능하게, 상기 FPGA 재구성 가능 DPHY_IO 발송 회로는 최대 4개의 데이터 출력 채널을 포함한다.Optionally, the FPGA reconfigurable DPHY_IO sending circuit includes up to 4 data output channels.

선택 가능하게, 상기 데이터 출력 채널은 상기 DPHY_IO 발송 회로 및 외부 아날로그 회로를 포함하고, 상기 DPHY_IO 발송 회로는 상기 외부 아날로그 회로에 연결된다.Selectably, the data output channel includes the DPHY_IO sending circuit and an external analog circuit, and the DPHY_IO sending circuit is connected to the external analog circuit.

선택 가능하게, 상기 DPHY_IO 발송 회로는 IOL 모듈 및 상기 IOL 모듈에 연결되는 발송 회로를 포함하고, IOL 모듈은 저속 데이터 또는 고속 데이터를 수신하며; 발송 회로는 저속 데이터 또는 고속 데이터를 외부 포트에 출력하고; 상기 외부 아날로그 회로는 상기 외부 포트에 연결된다.Optionally, the DPHY_IO sending circuit comprises an IOL module and a sending circuit connected to the IOL module, the IOL module receiving low-speed data or high-speed data; The sending circuit outputs low-speed data or high-speed data to an external port; The external analog circuit is connected to the external port.

선택 가능하게, 상기 IOL 모듈의 개수는 4개이고, 4개의 IOL 모듈은 저속 데이터를 전송하기 위한 2개의 제1 IOL 모듈 및 고속 데이터를 전송하기 위한 2개의 제2 IOL 모듈을 포함한다.Optionally, the number of IOL modules is 4, and the 4 IOL modules include two first IOL modules for transmitting low-speed data and two second IOL modules for transmitting high-speed data.

선택 가능하게, 상기 MIPI D-PHY 발송 회로는 제1 저항을 더 포함하고, 상기 제1 IOL 모듈은 상기 제1 저항을 통해 상기 외부 포트에 연결되며, 상기 제1 저항의 저항 값은 330 옴이다.Selectably, the MIPI D-PHY sending circuit further includes a first resistor, the first IOL module is connected to the external port through the first resistor, and the resistance value of the first resistor is 330 ohm. .

선택 가능하게, 상기 MIPI D-PHY 발송 회로는 제2 저항을 더 포함하고, 상기 제2 IOL 모듈은 상기 제2 저항을 통해 상기 외부 포트에 연결되며, 상기 제2 저항의 저항 값은 50 옴이다.Selectably, the MIPI D-PHY sending circuit further includes a second resistor, the second IOL module is connected to the external port through the second resistor, and the resistance value of the second resistor is 50 ohms. .

선택 가능하게, 상기 고속 데이터의 레벨 표준은 LVDS이다.Optionally, the level standard for the high-speed data is LVDS.

선택 가능하게, 상기 고속 데이터는 2~4mA의 전류이다.Optionally, the high-speed data is a current of 2-4mA.

선택 가능하게, 상기 저속 데이터의 레벨 표준은 LVCMOS12이다.Optionally, the level standard for the low-speed data is LVCMOS12.

선택 가능하게, 상기 고속 데이터는 2~12mA의 전류이다.Optionally, the high-speed data is a current of 2-12mA.

선택 가능하게, 상기 클록 링크 클록 채널은 단방향 채널이고, 상기 데이터 링크 클록 채널은 단방향 채널 또는 양방향 채널이다.Selectably, the clock link clock channel is a unidirectional channel and the data link clock channel is a unidirectional channel or a bidirectional channel.

선택 가능하게, 상기 MIPI D-PHY 발송 회로는 클록 통로의 클록 및 데이터 통로의 클록을 생성하기 위한 것이고, 상기 클록 통로의 클록 및 상기 데이터 통로의 클록은 기설정 위상만큼 차이난다.Selectably, the MIPI D-PHY sending circuit is for generating a clock of a clock path and a clock of a data path, and the clock of the clock path and the clock of the data path are different by a preset phase.

또한, 본 발명은 상술한 MIPI D-PHY 발송 회로를 포함하는 기기를 더 제공한다.In addition, the present invention further provides a device including the MIPI D-PHY transmission circuit described above.

선택 가능하게, 상기 기기는 스마트폰, 태블릿 PC, 노트북, PDA 및 차량 탑재 컴퓨터를 포함한다.Optionally, the device includes a smartphone, a tablet PC, a notebook, a PDA and a vehicle-mounted computer.

MIPI D-PHYMIPI D-PHYMIPI D-PHYMIPI D-PHYMIPI D-PHYMIPI D-PHY

도 1은 본 발명의 실시예 1이 제공하는 MIPI D-PHY 발송 회로의 구조 모식도이다.
도 2는 본 발명의 실시예 1이 제공하는 MIPI D-PHY 발송 회로의 클록 회로 논리적 계층 회로의 구조 모식도이다.
도 3은 본 발명의 실시예 1이 제공하는 MIPI D-PHY 발송 회로의 DPHY_IO 발송 회로의 구조 모식도이다.
도 4는 본 발명의 실시예 2가 제공하는MIPI D-PHY 발송 회로의 작업 흐름 모식도이다.
1 is a schematic structural diagram of a MIPI D-PHY transmission circuit provided by Embodiment 1 of the present invention.
Fig. 2 is a schematic diagram of the structure of a clock circuit logical layer circuit of the MIPI D-PHY transmission circuit provided by Embodiment 1 of the present invention.
3 is a schematic structural diagram of a DPHY_IO transmission circuit of the MIPI D-PHY transmission circuit provided by Embodiment 1 of the present invention.
Figure 4 is a schematic diagram of the work flow of the MIPI D-PHY sending circuit provided by Embodiment 2 of the present invention.

본 발명의 목적, 과제의 해결 수단 및 장점이 더 명확해지도록, 아래 구체적인 실시형태를 통해 도면을 참조하여 본 발명의 실시예에 대해 상세히 설명한다. 이해해야 할 것은, 여기서 설명된 구체적인 실시예는 본 발명을 해석하기 위한 것일 뿐 한정하기 위한 것이 아니다.Examples of the present invention will be described in detail with reference to the drawings through specific embodiments below so that the objects, means and advantages of the present invention may become clearer. It should be understood that the specific embodiments described herein are for interpreting the present invention and not for limiting it.

실시예 1Example 1

기존의 전용 MIPI D-PHY 회로가 상이한 응용 상황 요구를 만족시킬 수 없고, 범용 MIPI D-PHY 회로와 프로토콜(CSI-2/DSI) 회로가 각각 독립적이기에, MIPI D-PHY와 MIPI 프로토콜층이 모두 회로에 대해 프로토콜 처리를 진행해야 하므로, 일부 기능이 중복되어 자원 낭비 문제가 발생하는 것을 해결하기 위해, MIPI D-PHY 발송 회로를 제공한다.Since the existing dedicated MIPI D-PHY circuit cannot satisfy different application requirements, and the general-purpose MIPI D-PHY circuit and the protocol (CSI-2/DSI) circuit are independent, both the MIPI D-PHY and MIPI protocol layers are In order to solve the problem of resource waste due to overlapping of some functions, since protocol processing must be performed for the circuit, a MIPI D-PHY transmission circuit is provided.

이해해야 할 것은, 본 발명은 FPGA((Field-Programmable Gate Array, 필드 프로그래머블 게이트 어레이)를 사용하여 MIPI D-PHY 발송 회로의 재구성을 실현한다. 여기서, MIPI는 모바일 산업 프로세서 인터페이스로서 그 정식 명칭은 Mobile Industry Processor Interface이다. 여기서, MIPI D-PHY는 MIPI의 한가지 물리적 계층이고, 그 프로토콜층에는 CSI와 DSI 두 가지가 있으며, 여기서 CSI는 주로 이미지 접속, 예를 들면 이미지 센서(Sensor)에 사용된다.It should be understood that the present invention realizes the reconfiguration of the MIPI D-PHY sending circuit using an FPGA (Field-Programmable Gate Array), where MIPI is a mobile industrial processor interface whose official name is Mobile Here, MIPI D-PHY is one physical layer of MIPI, and there are two types of protocol layer, CSI and DSI, where CSI is mainly used for image access, for example an image sensor.

도 1을 참조하면, 도 1은 본 발명의 실시예가 제공하는 MIPI D-PHY 발송 회로의 구조 모식도이다. MIPI D-PHY 발송 회로(100)는 FPGA 재구성 가능 발송 클록 회로(110), 상기 FPGA 재구성 가능 발송 클록 회로(110)에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로(120), 데이터 패킷 재조합 회로(prg_tx_hs_pkg)(130) 및 상기 데이터 패킷 재조합 회로(130)에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로(120)를 포함하고, 아래에서 FPGA 재구성 가능 발송 클록 회로(110)에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로(120)를 DPHY_IO 클록 회로(121)로 약칭하고, 데이터 패킷 재조합 회로(130)에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로(120)를 DPHY_IO 발송 회로(122)로 약칭한다.Referring to Figure 1, Figure 1 is a schematic diagram of the structure of the MIPI D-PHY transmission circuit provided by an embodiment of the present invention. The MIPI D-PHY sending circuit 100 includes an FPGA reconfigurable sending clock circuit 110, an FPGA reconfigurable DPHY_IO sending circuit 120 connected to the FPGA reconfigurable sending clock circuit 110, and a data packet recombination circuit (prg_tx_hs_pkg). (130) And the FPGA reconfigurable DPHY_IO sending circuit 120 connected to the data packet recombination circuit 130, including the FPGA reconfigurable DPHY_IO sending circuit 120 connected to the FPGA reconfigurable sending clock circuit 110 below. ) Is abbreviated as the DPHY_IO clock circuit 121, and the FPGA reconfigurable DPHY_IO sending circuit 120 connected to the data packet recombination circuit 130 is abbreviated as the DPHY_IO sending circuit 122.

본 실시예에서, FPGA 재구성 가능 발송 클록 회로(110)는 PLL 모듈이고, PLL 모듈은 사용자 구성에 따라 필요한 클록을 생성할 수 있으며, 설명해야 할 것은 생성된 클록은 2 가지 유형이 있는데 한 가지는 클록 통로의 클록이고 다른 한가지는 데이터 통로의 클록이며, 2개의 클록은 일정한 위상 관계를 유지하여 디지털 회로에 필요한 구축 유지 시간을 만족한다. DPHY_IO 클록 회로(121)는 PLL 모듈이 hs_clk 및 hs_clk_i을 통해 각각 전송해 온 클록 채널의 클록 및 데이터 채널의 클록을 수신하고, 여기서 hs_cl은 클록 채널의 구동 클록이며, hs_clk_i은 데이터 채널의 구동 클록으로서 클록 채널에 의해 출력된다. 데이터 패킷 재조합 회로(prg_tx_hs_pkg)(130)는 수신된 사용자 데이터를 프로토콜 요구에 따라 재패키징하여 DPHY_IO 발송 회로(122)에 발송하고 데이터 채널에 의해 출력된다.In this embodiment, the FPGA reconfigurable dispatch clock circuit 110 is a PLL module, and the PLL module can generate a required clock according to a user configuration, and it should be explained that there are two types of generated clocks, one of which is a clock. The clock of the passage and the other is the clock of the data passage, and the two clocks maintain a constant phase relationship to satisfy the construction and maintenance time required for the digital circuit. The DPHY_IO clock circuit 121 receives the clock of the clock channel and the clock of the data channel transmitted by the PLL module through hs_clk and hs_clk_i, respectively, where hs_cl is the driving clock of the clock channel, and hs_clk_i is the driving clock of the data channel. Output by the clock channel. The data packet recombination circuit (prg_tx_hs_pkg) 130 repackages the received user data according to the protocol request, sends it to the DPHY_IO sending circuit 122, and is output through the data channel.

설명해야 할 것은, 데이터 패킷 재조합 회로(130)는 수신된 사용자 데이터를 처리하고, 프로토콜 요구에 따라 DPHY_IO 발송 회로(122)에 의해 수신 처리가 가능한 포맷으로 변환시킨 후 재패키징 하여 발송한다.It should be explained that the data packet recombination circuit 130 processes the received user data, converts it into a format capable of receiving processing by the DPHY_IO transmission circuit 122 according to a protocol request, and repackages and sends it.

본 실시예에서, MIPI D-PHY 발송 회로(100)와 CSI-2프로토콜/DSI프로토콜에 대해 정합을 진행하는데, 다시 말하면 MIPI D-PHY 발송 회로(100)는 CSI-2프로토콜 또는 DSI프로토콜에 기초하여 데이터 전송을 진행할 수 있다. 구체적으로 어느 프로토콜을 선택하는지는 사용자 본인이 결정하면 되고, 이러한 방식은 회로 면적을 효과적으로 감소하고 회로의 자원 사용률을 향상시킬 수 있다.In this embodiment, the MIPI D-PHY sending circuit 100 and the CSI-2 protocol / DSI protocol are matched, in other words, the MIPI D-PHY sending circuit 100 is based on the CSI-2 protocol or the DSI protocol. Thus, data transmission can proceed. Specifically, it is up to the user to decide which protocol to select, and this method can effectively reduce the circuit area and improve the resource utilization rate of the circuit.

본 실시예에서, MIPI D-PHY 발송 회로는 한 쌍의 소스 동기화 클록 및 1 내지 4쌍의 클록 데이터 라인을 사용하여 데이터 전송을 진행하고, 설명해야 할 것은, 클록 채널은 단방향이고 데이터 채널은 단방향 또는 양방향이다.In this embodiment, the MIPI D-PHY sending circuit uses a pair of source synchronization clocks and 1 to 4 pairs of clock data lines to transmit data, and it should be explained that the clock channel is unidirectional and the data channel is unidirectional. Or both.

본 실시예에서, 클록 신호의 전송은 도 2를 참조하기 바란다. PLL 모듈은 클록 신호 입력단(clk_in)(111), 제1 클록 신호 출력단(clkout0)(112), 제2 클록 신호 출력단(clkout1)(113), 클록 링크 클록 신호 출력 회로(114) 및 데이터 링크 클록 신호 출력 회로(115)를 포함하고, DPHY_IO 클록 회로는 각각 클록 링크 클록 신호 출력 회로(114)에 연결되는 클록 링크 클록 채널(1211), 및 데이터 링크 클록 신호 출력 회로(115)에 연결되는 데이터 링크 클록 채널(1212)을 포함하며, 클록 링크 클록 채널은 주파수 분할 회로(CLKDIV)(1211a), 병렬 직렬 변환 모듈(OSERDES)(1211b), 입력 출력 버퍼(IOB)(1211c)를 포함하고, 데이터 링크 클록 채널은 주파수 분할 회로(CLKDIV)(1212a), 병렬 직렬 변환 모듈(OSERDES)(1212b), 입력 출력 버퍼(IOB)(1212c)를 포함한다.In this embodiment, refer to Fig. 2 for transmission of the clock signal. The PLL module includes a clock signal input terminal (clk_in) 111, a first clock signal output terminal (clkout0) 112, a second clock signal output terminal (clkout1) 113, a clock link clock signal output circuit 114, and a data link clock. Including a signal output circuit 115, the DPHY_IO clock circuit is a clock link clock channel 1211 connected to the clock link clock signal output circuit 114, respectively, and a data link connected to the data link clock signal output circuit 115 It includes a clock channel 1212, the clock link clock channel includes a frequency division circuit (CLKDIV) 1211a, a parallel serial conversion module (OSERDES) 1211b, an input output buffer (IOB) 1211c, and a data link The clock channel includes a frequency division circuit (CLKDIV) 1212a, a parallel serial conversion module (OSERDES) 1212b, and an input/output buffer (IOB) 1212c.

구체적으로, PLL 모듈 중의 클록 신호 입력단(clk_in)(111)은 사용자가 구성한 클록 신호를 수신하고, 상기 클록 신호는 클록 통로의 클록 신호 및 데이터 통로의 클록 신호를 포함하며, 클록 통로의 클록 신호는 제1 클록 신호 출력단(clkout0)(112)에 의해 클록 링크 클록 신호 출력 회로(114)를 통해 클록 링크 클록 채널(1211)에 진입하고, 데이터 통로의 클록 신호는 제2 클록 신호 출력단(clkout1)(113)에 의해 데이터 링크 클록 신호 출력 회로(115)를 통해 데이터 링크 클록 채널(1212)에 진입하며; 클록 링크 클록 채널(1211)은 클록 통로 클록 신호를 수신하고 주파수 분할 회로(CLKDIV)(1211a)에 의해 주파수 분할을 진행하고, 2개의 클록 통로 클록 신호를 출력하며, 병렬 직렬 변환 모듈(OSERDES)(1211b)을 통해 신호를 직렬 신호로 변환시켜 입력 출력 버퍼(IOB)(1211c)에 전송하고, 입력 출력 버퍼(IOB)(1211c)를 거쳐 외부 포트(200)에 출력하며, 출력된 클록 통로 클록 신호의 위상은 반대되고; 데이터 링크 클록 채널(1212)은 데이터 통로의 클록 신호를 수신하고 주파수 분할 회로(CLKDIV)(1212a)에 의해 주파수 분할을 진행한 후, 2개의 데이터 통로 클록 신호를 출력하며, 병렬 직렬 변환 모듈(OSERDES)(1212b)을 통해 신호를 직렬 신호로 변환시켜 입력 출력 버퍼(IOB)(1212c)에 전송하고, 입력 출력 버퍼(IOB)(1212c)를 거쳐 외부 포트(200)에 출력하며, 출력된 데이터 통로 클록 신호의 위상은 반대된다.Specifically, the clock signal input terminal (clk_in) 111 of the PLL module receives a clock signal configured by a user, and the clock signal includes a clock signal of a clock path and a clock signal of a data path, and the clock signal of the clock path is The first clock signal output terminal (clkout0) 112 enters the clock link clock channel 1211 through the clock link clock signal output circuit 114, and the clock signal of the data path is transmitted to the second clock signal output terminal (clkout1) ( 113) enters the data link clock channel 1212 through the data link clock signal output circuit 115; The clock link clock channel 1211 receives a clock path clock signal, performs frequency division by a frequency division circuit (CLKDIV) 1211a, outputs two clock path clock signals, and outputs a parallel serial conversion module (OSERDES) ( 1211b) converts the signal to a serial signal and transmits it to the input output buffer (IOB) 1211c, outputs it to the external port 200 through the input output buffer (IOB) 1211c, and the output clock path clock signal The phase of is reversed; The data link clock channel 1212 receives the clock signal of the data path, performs frequency division by the frequency division circuit (CLKDIV) 1212a, and outputs two data path clock signals, and outputs two data path clock signals, and a parallel serial conversion module (OSERDES) ) (1212b) converts the signal into a serial signal and transmits it to the input output buffer (IOB) 1212c, outputs it to the external port 200 through the input output buffer (IOB) 1212c, and the output data path The phase of the clock signal is reversed.

설명해야 할 것은, 상기 데이터 통로 클록 신호의 전송은 하나의 데이터 채널에 대응되고, MIPI D-PHY 발송 회로(100) 작동 시 최대 4개의 채널이 동시에 데이터 전송을 진행할 수 있으며, 각각의 데이터 채널은 모두 하나의 병렬 직렬 변환 모듈(OSERDES)(1212b) 및 입력 출력 버퍼(IOB)(1212c)에 대응되고, 각각의 병렬 직렬 변환 모듈(OSERDES)(1212b)은 모두 주파수 분할 회로(CLKDIV)(1212a)에 의해 주파수 분할을 거친 후 출력된 2개의 데이터 통로 클록 신호를 수신한다.It should be explained that the transmission of the data path clock signal corresponds to one data channel, and when the MIPI D-PHY transmission circuit 100 is operated, up to 4 channels can simultaneously transmit data, and each data channel is All correspond to one parallel-to-serial conversion module (OSERDES) 1212b and an input-output buffer (IOB) 1212c, and each of the parallel-to-serial conversion modules (OSERDES) 1212b is a frequency division circuit (CLKDIV) 1212a. The two data path clock signals output after frequency division are received by.

본 실시예에서, MIPI D-PHY 발송 회로의 데이터 채널과 클록 채널은 모두 FPGA에 의해 재구성이 가능하고, 데이터 채널의 신호와 클록 채널의 신호는 위상 조정이 가능하다.In this embodiment, both the data channel and the clock channel of the MIPI D-PHY transmission circuit can be reconfigured by the FPGA, and the data channel signal and the clock channel signal can be phase adjusted.

본 실시예에서, DPHY_IO 발송 회로의 구체적인 작동 흐름은 도 3을 참조하기 바란다.In this embodiment, please refer to FIG. 3 for a detailed operation flow of the DPHY_IO sending circuit.

MIPI D-PHY 발송 회로는 저속 모드(LP, Lower Power) 및 고속 모드(HS, high speed) 2가지 전송 모드를 포함하고, 2가지 모드가 공통으로 작동하여 MIPI 인터페이스 프로토콜층 중의 데이터 및 명령의 전송을 실현한다.The MIPI D-PHY transmission circuit includes two transmission modes, low-speed mode (LP, Lower Power) and high-speed mode (HS, high speed), and the two modes work in common to transmit data and commands in the MIPI interface protocol layer. To realize.

도 3에 도시된 바와 같이, DPHY_IO 발송 회로(122)는 IOL 모듈(1221) 및 발송 회로(1222)를 포함한다. 본 실시예에서, DPHY_IO 발송 회로는 4개의 IOL 모듈(1221)을 포함하고, 4개의 IOL 모듈(1221)은 저속 데이터를 전송하기 위한 2개의 제1 IOL 모듈(1221a) 및 고속 데이터를 전송하기 위한 2개의 제2 IOL 모듈(1221b)을 포함한다. 저속 데이터를 수신한 후, 저속 데이터는 IO0(p 단)과 IO3(n 단)의 IOB(I/O 버퍼, 미도시)로부터 외부 포트(200)에 출력되고, 레벨 표준은 LVCMOS12를 사용한다. LP11->LP01-> LP00를 발송 완료한 후, 고속 채널의 TS를 0로 하고, 고속 채널 인에이블링(enabling)을 개방하고, LP11을 다시 발송 시, 고속 채널의 TS를 1로 하고 고속 채널을 닫는다. 고속 채널을 개방하는 동안 저속 채널은 LP00을 발송해야 한다. 설명해야 할 것은, LP01은 P 단이 0, n 단이 1임을 표시하고, 다른 것도 유사하다. 고속 데이터를 수신한 후, 2개의 제2 IOL 모듈(1221b)이 서로 배합하여 데이터를 처리하고, 고속 신호는 차등 레벨 LVDS(Low Voltage Differential Signaling, 저전압 차등 신호) 표준을 사용하고, IOL 모듈에 진입하여 병렬 직렬 변환(OSERDES)을 실현한다. 예를 들어, 8비트의 병렬 데이터를 직렬 데이터로 변환하고, IO1와 IO2의 IOB(I/O 버퍼, 미도시)를 통해 외부 포트(200)에 출력하며, IOB(I/O 버퍼, 미도시)는 제어를 받아야 하고 TS는 0이며, 3상태 인에이블링을 닫고, 신호는 IOB로부터 외부 포트(200)에 출력될 수 있으며, TS가 1일 경우 3상태 인에이블링을 개방하고 외부 포트(200)는 고저항 상태로 인에이블링 된다. IO0, IO1, IO2 및 IO3은 외부 포트(200)를 통해 외부 아날로그 회로(300)에 연결되고, 고속 채널IO1 및 IO2에는 제1 저항(140)이 직렬 연결 되며, 여기서 제1 저항은 330 옴 저항일 수 있고, 저속 채널IO0 및 IO4에는 제2 저항(150)이 직렬 연결되며, 제2 저항은 50 옴 저항일 수 있으며, MIPI 규범 요구에 부합되는 전기적 특성을 실현하고, 전기적 특성은 공통 모드 전압(직류 특성) 및 차등 진폭(교류 특성)을 포함한다. 여기서 도 2 중의 tx_byte_i_clk는 클록 채널의 바이트 클록이고, 이해해야 할 것은 도 2 중 다른 관련 명칭은 상응한 바이트 클록일 수 있다.3, the DPHY_IO sending circuit 122 includes an IOL module 1221 and a sending circuit 1222. In this embodiment, the DPHY_IO sending circuit includes four IOL modules 1221, and the four IOL modules 1221 are two first IOL modules 1221a for transmitting low-speed data, and for transmitting high-speed data. It includes two second IOL modules 1221b. After receiving the low-speed data, the low-speed data is output to the external port 200 from the IOB (I/O buffer, not shown) of IO0 (p-stage) and IO3 (n-stage), and LVCMOS12 is used as a level standard. After sending LP11->LP01-> LP00, set TS of high-speed channel to 0, open high-speed channel enabling, and when sending LP11 again, set TS of high-speed channel to 1 and high-speed channel Close While opening the high-speed channel, the low-speed channel must send LP00. It should be explained that LP01 indicates that the P stage is 0 and the n stage is 1, and others are similar. After receiving the high-speed data, the two second IOL modules 1221b combine with each other to process the data, and the high-speed signal uses the differential level LVDS (Low Voltage Differential Signaling) standard and enters the IOL module. Thus, parallel serial conversion (OSERDES) is realized. For example, 8-bit parallel data is converted into serial data, output to the external port 200 through IOBs (I/O buffers, not shown) of IO1 and IO2, and IOB (I/O buffers, not shown) ) Must be controlled, TS is 0, closes the 3-state enabling, and the signal can be output from the IOB to the external port 200, and when TS is 1, the 3-state enabling is opened and the external port ( 200) is enabled in high resistance state. IO0, IO1, IO2 and IO3 are connected to the external analog circuit 300 through the external port 200, and a first resistor 140 is connected in series to the high-speed channels IO1 and IO2, where the first resistor is a 330 ohm resistor. The second resistor 150 is serially connected to the low-speed channels IO0 and IO4, and the second resistor may be a 50 ohm resistor, realizing electrical characteristics that meet MIPI normative requirements, and the electrical characteristics of the common mode voltage. (DC characteristic) and differential amplitude (AC characteristic) are included. Here, tx_byte_i_clk in FIG. 2 is a byte clock of a clock channel, and it should be understood that another related name in FIG. 2 may be a corresponding byte clock.

본 실시예에서, DPHY_IO 발송 회로의 구동 능력은 IOB를 통해 조절할 수 있고, 고속 모드에서 LVDS 레벨 표준을 사용하며 2mA~4mA를 선택할 수 있고; 저속 모드에서 LVCMOS12 레벨 표준을 사용하며 2~12mA를 선택할 수 있고, 설명해야 할 것은, 상이한 구동 전류를 사용하여 상이한 응용 상황에 적응한다.In this embodiment, the driving capability of the DPHY_IO sending circuit can be adjusted through the IOB, the LVDS level standard is used in the high-speed mode, and 2mA to 4mA can be selected; In low speed mode, it uses the LVCMOS12 level standard, you can choose from 2 to 12mA, it should be explained, it uses different drive currents to adapt to different application situations.

본 발명의 실시예는 MIPI D-PHY 발송 회로(100)를 제공하고, 이는 FPGA 재구성 가능 발송 클록 회로(110), 및 상기 FPGA 재구성 가능 발송 클록 회로(110)에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로(120), 데이터 패킷 재조합 회로(130), 및 데이터 패킷 재조합 회로(130)에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로(120)를 포함하고, MIPI D-PHY 발송 회로(110)와 MIPI 프로토콜층에 대해 정합 설계를 진행하여, 회로 면적을 효과적으로 감소하고 회로의 자원 사용률을 향상시키며, MIPI D-PHY 데이터 채널과 클록 채널에 대해 위상 조절을 진행함으로써 발송 성능을 향상시키고, MIPI D-PHY 발송 회로의 구동 능력을 조절할 수 있어 호환성을 향상시킬 수 있고, MIPI D-PHY 발송 회로는 CSI-2와 DSI의 여러가지 다양한 응용 상황 요구를 만족시킬 수 있다.An embodiment of the present invention provides a MIPI D-PHY sending circuit 100, which is an FPGA reconfigurable sending clock circuit 110, and an FPGA reconfigurable DPHY_IO sending circuit connected to the FPGA reconfigurable sending clock circuit 110. 120, a data packet recombination circuit 130, and an FPGA reconfigurable DPHY_IO transmission circuit 120 connected to the data packet recombination circuit 130, and the MIPI D-PHY transmission circuit 110 and the MIPI protocol layer. The matching design is carried out to effectively reduce the circuit area and improve the resource utilization rate of the circuit, improve the transmission performance by adjusting the phase of the MIPI D-PHY data channel and the clock channel, and improve the transmission performance of the MIPI D-PHY transmission circuit. The drive capability can be adjusted to improve compatibility, and the MIPI D-PHY transmission circuit can satisfy the needs of various applications of CSI-2 and DSI.

실시예 2Example 2

상기 실시예의 기초상에서, 본 실시예는 MIPI D-PHY 발송 회로의4채널 프로토콜 발송 흐름도를 제공하고, 구체적으로 도 4를 참조하기 바란다.On the basis of the above embodiment, this embodiment provides a flow chart for sending a 4-channel protocol of the MIPI D-PHY sending circuit, and refer to Fig. 4 in detail.

시스템 초기화 시 대기 IDLE 상태에 진입한다.When the system is initialized, enter the standby IDLE state.

S401: IDLE 상태에서 초기화 완료 여부를 검출하고, 완료되면 init_done를 높이고 ST_LP_STOP 상태에 진입하며, 초기화 시간의 길고 짧음은 사용자가 설정한다. 여기서 ST_LP_STOP는 저속 유휴 상태이다.S401: Detects whether the initialization is complete in IDLE state, and when it is completed, increases init_done and enters the ST_LP_STOP state, and the long and short initialization time is set by the user. Here, ST_LP_STOP is a low-speed idle state.

설명해야 할 것은, 초기화 완료 여부를 검출하는 것은 LP11 발송 여부에 따라 판단할 수 있고, LP11이 발송되면 초기화가 이미 완료되었음을 설명하고 아니면 계속하여 초기화를 진행한다. 본 실시예에서, 시간의 길고 짧음은 사용자가 설정하고, 클록 주기는 FPGA 재구성 가능 발송 클록 회로의 PLL 모듈에 의해 설정되며, 클록 주기를 잘 설정한 후 사용자는 필요에 따라 클록 주기의 개수를 구성해야 한다. 이런 시간의 길고 짧음은 클록 주기의 개수에 의해 결정된다. It should be explained that the detection of whether the initialization is complete can be determined according to whether or not the LP11 is sent, and when the LP11 is sent, it is explained that the initialization has already been completed, and otherwise, the initialization is continued. In this embodiment, the long and short time is set by the user, and the clock cycle is set by the PLL module of the FPGA reconfigurable sending clock circuit, and after setting the clock cycle well, the user configures the number of clock cycles as needed. Should be. The long and short of this time is determined by the number of clock cycles.

S402: ST_LP_STOP 상태에서 valid_hs신호를 검출하고, 고속 데이터를 위해 신호를 요청하는 것은 고속 데이터를 곧 발송함을 의미하고, ST_HS_RQST 상태에 진입하고, 아니면 멈추고 대기한다.S402: Detecting the valid_hs signal in the ST_LP_STOP state, and requesting a signal for high-speed data means that high-speed data will be sent soon, enters the ST_HS_RQST state, otherwise it stops and waits.

S403: ST_HS_RQST 상태에서 LP01을 발송하고, 시간의 길고 짧음은 사용자가 설정하며, 완료되면 ST_HS_PRPR 상태에 진입하고, 아니면 멈추고 대기한다. 여기서 ST_HS_RQST은 고속 요청 진입 상태이다.S403: LP01 is sent in ST_HS_RQST state, the user sets the long and short time, and enters ST_HS_PRPR state when completed, otherwise stops and waits. Here, ST_HS_RQST is a fast request entry state.

S404: ST_HS_PRPR 상태에서 LP00을 발송하고, 시간의 길고 짧음은 사용자가 설정하며, 완료되면 ST_HS_GO 상태에 진입하고, 아니면 멈추고 대기한다. 여기서 ST_HS_PRPR은 고속 준비 진입 상태이다.S404: Send LP00 in ST_HS_PRPR state, and set the long and short time by the user, and enter ST_HS_GO state upon completion, otherwise stop and wait. Here, ST_HS_PRPR is the high-speed ready entry state.

S405: ST_HS_GO 상태에서 고속 0을 발송하고, 시간의 길고 짧음은 사용자가 설정하며, 완료되면 ST_HS_SYNC 상태에 진입하고, 아니면 멈추고 대기한다. 여기서 ST_HS_GO은 고속 변환 진입 상태이다.S405: In the ST_HS_GO state, high-speed 0 is sent, the long and short time is set by the user, and upon completion, it enters the ST_HS_SYNC state, otherwise it stops and waits. Here, ST_HS_GO is the high-speed conversion entry state.

S406: ST_HS_SYNC 상태에서 MIPI D-PHY 동기화 헤드 B8을 발송하고, ST_HS_DATA 상태에 자동으로 진입한다. 여기서 ST_HS_SYNC는 고속 데이터 동기화 상태이다.S406: Sends MIPI D-PHY synchronization head B8 in the ST_HS_SYNC state, and automatically enters the ST_HS_DATA state. Here, ST_HS_SYNC is a high-speed data synchronization state.

설명해야 할 것은, MIPI D-PHY 동기화 헤드 B8은 데이터 전송 과정에서 각각의 데이터에 대해 위치 결정 및 동기화를 진행하기 위한 것으로서, 다시 말하면 수신단이 정렬 데이터를 수신한 후 데이터 전송 발송이 가능하다.It should be explained that the MIPI D-PHY synchronization head B8 is for positioning and synchronizing each data in the data transmission process, in other words, it is possible to transmit data after the receiving end receives the alignment data.

S407: ST_HS_DATA 상태에서 valid_hs이 “고” 인지의 여부를 검출하고, “고”이면 본 상태에 멈춰 사용자의 고속 데이터를 발송하며, “저”이면 ST_HS_TRAIL 상태에 진입한다.S407: In the ST_HS_DATA state, it detects whether valid_hs is “high”. If it is “high”, it stops at this state and sends high-speed data of the user. If it is “low”, it enters the ST_HS_TRAIL state.

이해해야 할 것은, 발송된 고속 데이터는 유효 데이터이다. 여기서 ST_HS_DATA는 발생 고속 데이터 상태이다.It should be understood that the high-speed data sent is valid data. Here, ST_HS_DATA is the generated high-speed data state.

S408: ST_HS_TRAIL 상태에서 고속 테일(tail) 신호를 발송하고, 시간의 길고 짧음은 사용자가 설정하며, 완료되면 IDLE 상태로 돌아가고, 아니면 본 상태에 멈춘다. 여기서 ST_HS_TRAIL은 고속 데이터 패킷 테일 발송 상태이다.S408: In the ST_HS_TRAIL state, a high-speed tail signal is sent, the long and short time is set by the user, and upon completion, it returns to the IDLE state, otherwise it stops in this state. Here, ST_HS_TRAIL is a high-speed data packet tail transmission state.

설명해야 할 것은, 본 실시예의 시간의 길고 짧음은 사용자가 설정하고, 클록 주기는 FPGA 재구성 가능 발송 클록 회로의 PLL 모듈에 의해 설정되며, 클록 주기를 잘 설정한 후 사용자는 필요에 따라 클록 주기의 개수를 구성해야 한다. 이런 시간의 길고 짧음은 클록 주기의 개수에 의해 결정된다. It should be explained that the long and short time of this embodiment is set by the user, and the clock period is set by the PLL module of the FPGA reconfigurable sending clock circuit, and after setting the clock period well, the user can You have to configure the number. The long and short of this time is determined by the number of clock cycles.

본 실시예에서, 고속 테일 신호의 길이는 시간의 길고 짧음에 따라 결정할 수 있다.In this embodiment, the length of the high-speed tail signal can be determined according to the long and short time.

본 발명의 실시예는 MIPI D-PHY 발송 회로의 구체적이 실현 과정을 제공하고, FPGA 재구성 가능 MIPI D-PHY 발송 회로를 통해 MIPI D-PHY 발송 회로와 MIPI 프로토콜층에 대해 정합 설계를 진행하여,회로 면적을 효과적으로 감소하고 회로의 자원 사용률을 향상시킨다. MIPI D-PHY 데이터 채널과 클록 채널에 대해 위상 조절을 진행함으로써 발송 성능을 향상시키고, MIPI D-PHY 발송 회로의 구동 능력을 조절할 수 있어 호환성을 향상시킬 수 있고, MIPI D-PHY 발송 회로는 CSI-2와 DSI의 여러가지 다양한 응용 상황 요구를 만족시킬 수 있다.An embodiment of the present invention provides a specific realization process of the MIPI D-PHY transmission circuit, and performs matching design for the MIPI D-PHY transmission circuit and the MIPI protocol layer through the FPGA reconfigurable MIPI D-PHY transmission circuit, It effectively reduces the circuit area and improves the resource utilization rate of the circuit. By adjusting the phase of the MIPI D-PHY data channel and the clock channel, the transmission performance can be improved, and the drive capability of the MIPI D-PHY transmission circuit can be adjusted to improve compatibility. The MIPI D-PHY transmission circuit is CSI -2 and DSI can satisfy various application needs.

실시예 3Example 3

본 실시예는 기기를 제공하고, 상기 기기는 스마트폰, 태블릿 PC, 노트북, 개인용 정보 단말기(Personal Digital Assistant, PDA) 등 미러링 기능을 구비하는 모바일 스마트 기기일 수 있으나 이에 한정되지 않는다. 물론, 미러링 기능을 구비하는 PC,차량 탑재 컴퓨터 등 고정형 스마트 기기일 수도 있으나 이에 한정되지 않는다. 상기 기기는 상술한 실시예에 따른 MIPI D-PHY 발송 회로를 포함하여 상응한 기능을 실현하고 여기서는 중복 설명하지 않는다.The present embodiment provides a device, and the device may be a mobile smart device having a mirroring function, such as a smart phone, a tablet PC, a notebook, and a personal digital assistant (PDA), but is not limited thereto. Of course, it may be a fixed smart device such as a PC having a mirroring function or a vehicle-mounted computer, but is not limited thereto. The device includes the MIPI D-PHY transmission circuit according to the above-described embodiment to realize the corresponding function and will not be described herein again.

상술한 내용은 구체적인 실시형태를 결부하여 본 발명의 실시예에 대해 상세히 설명하였으나, 본 발명의 구체적인 실시가 이러한 설명에 의해 한정되는 것은 아니다. 본 발명이 속하는 기술분야의 통상의 기술자는 본 발명의 구상을 벗어나지 않는 전제하에 약간의 간단한 추리 또는 변환을 진행할 수 있는데 이러한 추리 또는 변환은 모두 본 발명의 보호범위에 속하는 것으로 보아야 한다.The above description has been described in detail with respect to the embodiments of the present invention in connection with the specific embodiments, but the specific implementation of the present invention is not limited by this description. Those skilled in the art to which the present invention pertains may proceed with some simple reasoning or transformation without departing from the concept of the present invention, and all such reasoning or transformation should be regarded as belonging to the protection scope of the present invention.

Claims (20)

MIPI D-PHY 발송 회로에 있어서,
FPGA 재구성 가능 발송 클록 회로; 및
상기 FPGA 재구성 가능 발송 클록 회로에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로를 포함하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
In the MIPI D-PHY sending circuit,
FPGA reconfigurable send clock circuit; And
And an FPGA reconfigurable DPHY_IO sending circuit connected to the FPGA reconfigurable sending clock circuit.
제1항에 있어서,
데이터 패킷 재조합 회로; 및
상기 데이터 패킷 재조합 회로에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로를 더 포함하고,
상기 데이터 패킷 재조합 회로는 발송하고자 하는 데이터를 프로토콜에 따라 재패키징한 후 상기 FPGA 재구성 가능 DPHY_IO 발송 회로에 발송하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 1,
Data packet recombination circuit; And
Further comprising an FPGA reconfigurable DPHY_IO sending circuit connected to the data packet recombination circuit,
The data packet recombination circuit repackages the data to be transmitted according to a protocol and then transmits the repackaged data to the FPGA reconfigurable DPHY_IO transmission circuit.
제1항에 있어서,
상기 MIPI D-PHY 발송 회로는 CSI-2프로토콜 또는 DSI프로토콜에 기초하여 데이터 전송을 진행하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 1,
The MIPI D-PHY sending circuit is a MIPI D-PHY sending circuit, characterized in that for performing data transmission based on a CSI-2 protocol or a DSI protocol.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 FPGA 재구성 가능 발송 클록 회로는 PLL 모듈을 포함하고, FPGA 재구성 가능 DPHY_IO 발송 회로는 DPHY_IO 클록 회로를 포함하며, 상기 PLL 모듈은 클록 링크 클록 신호 출력 회로, 데이터 링크 클록 신호 출력 회로를 포함하고, 상기 DPHY_IO 클록 회로는 각각 상기 클록 링크 클록 신호 출력 회로에 연결되는 클록 링크 클록 채널, 및 상기 데이터 링크 클록 신호 출력 회로에 연결되는 데이터 링크 클록 채널을 포함하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method according to any one of claims 1 to 3,
The FPGA reconfigurable transmission clock circuit includes a PLL module, the FPGA reconfigurable DPHY_IO transmission circuit includes a DPHY_IO clock circuit, the PLL module includes a clock link clock signal output circuit, a data link clock signal output circuit, and the DPHY_IO clock circuits each comprising a clock link clock channel connected to the clock link clock signal output circuit, and a data link clock channel connected to the data link clock signal output circuit.
제4항에 있어서,
상기 클록 링크 클록 채널은 제1 주파수 분할 회로CLKDIV, 제1 병렬 직렬 변환 모듈OSERDES, 제1 입력 출력 버퍼IOB를 포함하고,
상기 제1 주파수 분할 회로 CLKDIV는 제1 상기 PLL 모듈이 발송한 클록 채널 데이터를 수신하고, 상기 클록 채널 데이터에 대해 주파수 분할을 진행한 후 제1 병렬 데이터를 얻으며, 상기 제1 병렬 데이터를 제1 병렬 직렬 변환 모듈OSERDES에 병렬 전송하고, 상기 제1 병렬 직렬 변환 모듈OSERDES은 상기 제1 병렬 데이터를 제1 직렬 데이터로 변환하여 상기 제1 입력 출력 버퍼IOB에 전송하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 4,
The clock link clock channel includes a first frequency division circuit CLKDIV, a first parallel serial conversion module OSERDES, and a first input output buffer IOB,
The first frequency division circuit CLKDIV receives the clock channel data sent by the first PLL module, performs frequency division on the clock channel data, and then obtains first parallel data, and converts the first parallel data to a first MIPI D-PHY, characterized in that parallel transmission to the parallel serial conversion module OSERDES, wherein the first parallel serial conversion module OSERDES converts the first parallel data into first serial data and transmits it to the first input output buffer IOB. Sending circuit.
제4항에 있어서,
상기 데이터 링크 클록 채널은 제2 주파수 분할 회로CLKDIV, 제2 병렬 직렬 변환 모듈OSERDES, 제2 입력 출력 버퍼IOB를 포함하고,
상기 제2 주파수 분할 회로CLKDIV는 상기 PLL 모듈이 발송한 데이터채널 데이터를 수신하고, 상기 데이터 채널 데이터에 대해 주파수 분할을 진행 한 후 제2 병렬 데이터를 얻으며, 상기 제2 병렬 데이터를 상기 제2 병렬 직렬 변환 모듈OSERDES에 병렬 전송하고, 상기 제2 병렬 직렬 변환 모듈OSERDES은 상기 제2 병렬 데이터를 제2 직렬 데이터로 변환하여 상기 제2 입력 출력 버퍼IOB에 전송하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 4,
The data link clock channel includes a second frequency division circuit CLKDIV, a second parallel serial conversion module OSERDES, and a second input output buffer IOB,
The second frequency division circuit CLKDIV receives the data channel data sent by the PLL module, performs frequency division on the data channel data, and then obtains second parallel data, and transfers the second parallel data to the second parallel data. Sending MIPI D-PHY, characterized in that it transmits in parallel to the serial conversion module OSERDES, and the second parallel-serial conversion module OSERDES converts the second parallel data into second serial data and transmits it to the second input output buffer IOB. Circuit.
제1항에 있어서,
상기 FPGA 재구성 가능 DPHY_IO 발송 회로는 최대 4개의 데이터 출력 채널을 포함하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 1,
The FPGA reconfigurable DPHY_IO sending circuit is a MIPI D-PHY sending circuit, characterized in that it includes a maximum of 4 data output channels.
제7항에 있어서,
상기 데이터 출력 채널은 상기 DPHY_IO 발송 회로 및 외부 아날로그 회로를 포함하고, 상기 DPHY_IO 발송 회로는 상기 외부 아날로그 회로에 연결되는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 7,
Wherein the data output channel includes the DPHY_IO sending circuit and an external analog circuit, and the DPHY_IO sending circuit is connected to the external analog circuit.
제8항에 있어서,
상기 DPHY_IO 발송 회로는 IOL 모듈 및 상기 IOL 모듈에 연결되는 발송 회로를 포함하고, IOL 모듈은 저속 데이터 또는 고속 데이터를 수신하며; 발송 회로는 저속 데이터 또는 고속 데이터를 외부 포트에 출력하고; 상기 외부 아날로그 회로는 상기 외부 포트에 연결되는 연결되는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 8,
The DPHY_IO sending circuit includes an IOL module and a sending circuit connected to the IOL module, and the IOL module receives low-speed data or high-speed data; The sending circuit outputs low-speed data or high-speed data to an external port; The external analog circuit is a MIPI D-PHY transmission circuit, characterized in that the connection is connected to the external port.
제9항에 있어서,
상기 IOL 모듈의 개수는 4개이고, 4개의 IOL 모듈은 저속 데이터를 전송하기 위한 2개의 제1 IOL 모듈 및 고속 데이터를 전송하기 위한 2개의 제2 IOL 모듈을 포함하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 9,
The number of IOL modules is 4, and the 4 IOL modules include two first IOL modules for transmitting low-speed data and two second IOL modules for transmitting high-speed data. Sending circuit.
제10항에 있어서,
상기 MIPI D-PHY 발송 회로는 제1 저항을 더 포함하고, 상기 제1 IOL 모듈은 상기 제1 저항을 통해 상기 외부 포트에 연결되며, 상기 제1 저항의 저항 값은 330 옴인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 10,
The MIPI D-PHY sending circuit further includes a first resistor, the first IOL module is connected to the external port through the first resistor, and the resistance value of the first resistor is 330 ohms. D-PHY sending circuit.
제10항에 있어서,
상기 MIPI D-PHY 발송 회로는 제2 저항을 더 포함하고, 상기 제2 IOL 모듈은 상기 제2 저항을 통해 상기 외부 포트에 연결되며, 상기 제2 저항의 저항 값은 50 옴인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 10,
The MIPI D-PHY sending circuit further includes a second resistor, the second IOL module is connected to the external port through the second resistor, and the resistance value of the second resistor is 50 ohms. D-PHY sending circuit.
제9항에 있어서,
상기 고속 데이터의 레벨 표준은 LVDS인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 9,
The MIPI D-PHY transmission circuit, characterized in that the level standard of the high-speed data is LVDS.
제13항에 있어서,
상기 고속 데이터는 2~4mA의 전류인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 13,
The high-speed data is a MIPI D-PHY transmission circuit, characterized in that the current of 2 ~ 4mA.
제9항에 있어서,
상기 저속 데이터의 레벨 표준은 LVCMOS12인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 9,
The MIPI D-PHY transmission circuit, characterized in that the level standard of the low-speed data is LVCMOS12.
제15항에 있어서,
상기 고속 데이터는 2~12mA의 전류인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 15,
The high-speed data is a MIPI D-PHY transmission circuit, characterized in that the current of 2 ~ 12mA.
제4항에 있어서,
상기 클록 링크 클록 채널은 단방향 채널이고, 상기 데이터 링크 클록 채널은 단방향 채널 또는 양방향 채널인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method of claim 4,
Wherein the clock link clock channel is a unidirectional channel, and the data link clock channel is a unidirectional channel or a bidirectional channel.
제1항 내지 제17항 중 어느 한 항에 있어서,
상기 MIPI D-PHY 발송 회로는 클록 통로의 클록 및 데이터 통로의 클록을 생성하기 위한 것이고, 상기 클록 통로의 클록 및 상기 데이터 통로의 클록은 기설정 위상만큼 차이나는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
The method according to any one of claims 1 to 17,
The MIPI D-PHY sending circuit is for generating a clock of a clock path and a clock of a data path, and the clock of the clock path and the clock of the data path are different by a preset phase. Circuit.
제1항 내지 제 18항 중 어느 한 항에 따른 MIPI D-PHY 발송 회로를 포함하는 것을 특징으로 하는 기기.
A device comprising the MIPI D-PHY sending circuit according to any one of claims 1 to 18.
제19항에 있어서,
상기 기기는 스마트폰, 태블릿 PC, 노트북, PDA 및 차량 탑재 컴퓨터를 포함하는 것을 특징으로 하는 기기.











The method of claim 19,
The device, characterized in that it comprises a smartphone, a tablet PC, a notebook, a PDA and a vehicle-mounted computer.











KR1020207029589A 2019-05-29 2020-05-29 MIPI D-PHY sending circuit and device KR102427868B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201910458822.7A CN110334044B (en) 2019-05-29 2019-05-29 MIPI DPHY transmitting circuit and equipment
CN201910458822.7 2019-05-29
PCT/CN2020/093496 WO2020239109A1 (en) 2019-05-29 2020-05-29 Mipi d-phy transmission circuit and device

Publications (2)

Publication Number Publication Date
KR20200138275A true KR20200138275A (en) 2020-12-09
KR102427868B1 KR102427868B1 (en) 2022-07-29

Family

ID=68140479

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020207029589A KR102427868B1 (en) 2019-05-29 2020-05-29 MIPI D-PHY sending circuit and device

Country Status (3)

Country Link
KR (1) KR102427868B1 (en)
CN (1) CN110334044B (en)
WO (1) WO2020239109A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334044B (en) * 2019-05-29 2022-05-20 深圳市紫光同创电子有限公司 MIPI DPHY transmitting circuit and equipment
CN114286034A (en) * 2021-12-23 2022-04-05 南昌虚拟现实研究院股份有限公司 MIPI resistor network system and method
CN115866156B (en) * 2023-03-01 2023-05-26 上海励驰半导体有限公司 Data processing method, device, electronic equipment and storage medium
CN116627872B (en) * 2023-05-25 2024-02-13 济南智多晶微电子有限公司 Method for realizing MIPI interface in FPGA chip and electronic equipment
CN116561035B (en) * 2023-07-07 2023-10-31 西安智多晶微电子有限公司 Method and device for two-way communication between FPGA and MIPI and electronic equipment
CN116684722B (en) * 2023-07-27 2023-10-20 武汉精立电子技术有限公司 MIPI C-PHY signal receiving device, MIPI C-PHY signal receiving method and camera module testing system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100690042B1 (en) * 2006-01-02 2007-03-08 서울통신기술 주식회사 The embodiment of ip interface pyh level duplication in ip based using dual active device
KR20090126713A (en) * 2008-06-05 2009-12-09 포스데이타 주식회사 Apparatus and method for checking network unit in wireless communication system
KR20150062030A (en) * 2013-11-28 2015-06-05 주식회사 실리콘핸즈 MIPI D-PHY circuit for Low-power mode
CN104795039A (en) * 2015-04-30 2015-07-22 武汉精测电子技术股份有限公司 FPGA (field programmable gate array) based method and FPGA based device for adjusting MIPI (mobile industry processor interface) signal transmission
CN208400468U (en) * 2018-07-27 2019-01-18 广东高云半导体科技股份有限公司 A kind of miniature display system based on mobile industry processor interface
CN110334044A (en) * 2019-05-29 2019-10-15 深圳市紫光同创电子有限公司 A kind of MIPI DPHY transmitting line and equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013023651A2 (en) * 2011-08-16 2013-02-21 Silicon Line Gmbh Circuit arrangement and method for transmitting signals
US9606954B2 (en) * 2014-01-10 2017-03-28 Lattice Semiconductor Corporation Communicating with MIPI-compliant devices using non-MIPI interfaces
US9094246B1 (en) * 2014-04-14 2015-07-28 Analog Devices Global Pure differential signal based MIPI DSI/CSI-2 receiver systems
TW201622362A (en) * 2014-12-09 2016-06-16 Sony Corp Transmission device, reception device, and communication system
US10114789B2 (en) * 2015-01-08 2018-10-30 Samsung Electronics Co., Ltd. System on chip for packetizing multiple bytes and data processing system including the same
US9491495B2 (en) * 2015-01-16 2016-11-08 Analog Devices Global Method and apparatus for providing input to a camera serial interface transmitter
CN104796654B (en) * 2015-04-30 2018-07-03 武汉精测电子集团股份有限公司 The method and apparatus that 8LANE, 16LANE MIPI signals are realized based on FPGA
CN104809996B (en) * 2015-04-30 2017-06-16 武汉精测电子技术股份有限公司 Many kinds of method and apparatus of the data-signal of LANE numbers of MIPI are realized based on FPGA
CN108292990B (en) * 2015-12-11 2021-06-08 索尼公司 Communication system and communication method
CN108365920A (en) * 2018-02-25 2018-08-03 深圳市星航洋科技有限公司 A kind of DVP based on fpga chip turns MIPI method and systems
CN109710549B (en) * 2018-02-27 2021-08-31 上海安路信息科技股份有限公司 General I/O-based MIPI (Mobile industry processor interface) circuit in programmable chip

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100690042B1 (en) * 2006-01-02 2007-03-08 서울통신기술 주식회사 The embodiment of ip interface pyh level duplication in ip based using dual active device
KR20090126713A (en) * 2008-06-05 2009-12-09 포스데이타 주식회사 Apparatus and method for checking network unit in wireless communication system
KR20150062030A (en) * 2013-11-28 2015-06-05 주식회사 실리콘핸즈 MIPI D-PHY circuit for Low-power mode
CN104795039A (en) * 2015-04-30 2015-07-22 武汉精测电子技术股份有限公司 FPGA (field programmable gate array) based method and FPGA based device for adjusting MIPI (mobile industry processor interface) signal transmission
CN208400468U (en) * 2018-07-27 2019-01-18 广东高云半导体科技股份有限公司 A kind of miniature display system based on mobile industry processor interface
CN110334044A (en) * 2019-05-29 2019-10-15 深圳市紫光同创电子有限公司 A kind of MIPI DPHY transmitting line and equipment

Also Published As

Publication number Publication date
CN110334044A (en) 2019-10-15
WO2020239109A1 (en) 2020-12-03
CN110334044B (en) 2022-05-20
KR102427868B1 (en) 2022-07-29

Similar Documents

Publication Publication Date Title
KR20200138275A (en) MIPI D-PHY sending circuit and equipment
US9009379B1 (en) Communicating with MIPI-compliant devices using non-MIPI interfaces
TWI615008B (en) Low-power mode signal bridge for optical media
US10133692B2 (en) Device including a single wire interface and a data processing system having the same
CN104881390A (en) Method for reducing number of cables through interconversion between parallel bus and serial bus
US10645553B2 (en) Method and apparatus for processing signal in a mobile device
KR102427873B1 (en) Receiving circuit, reconfiguration method of receiving circuit and electronic device
EP2237500A1 (en) A route table lookup system, ternary content addressable memory and network processor
US11249933B2 (en) MIPI D-PHY circuit
CN105141877A (en) Programmable device-based signal conversion equipment
US20190013835A1 (en) Transmitter and communication system
CN102789442B (en) Correct signal offset method and associated transmission system in mobile Industry Processor Interface
US10505837B1 (en) Method and apparatus for data re-packing for link optimization
CN214225912U (en) Serial port level internal selection switching equipment and system
CN109710549B (en) General I/O-based MIPI (Mobile industry processor interface) circuit in programmable chip
KR102006068B1 (en) Device for converting interface
CN114996196A (en) I2C communication drive circuit, micro display chip and electronic equipment
US10511463B2 (en) Reception device, reception method, and communication system
Cao et al. Working principle and application analysis of UART
CN116561035B (en) Method and device for two-way communication between FPGA and MIPI and electronic equipment
CN210804154U (en) Dual-channel large-bandwidth waveform generation system
WO2023104210A1 (en) Data transmission chip and electronic device
JP5902402B2 (en) Data output adjustment device, data output adjustment method, RGMII network system, and RGMII network communication path switching method
Li et al. A 5 Gb/s multi-mode transmitter with de-emphasis for PCI Express 2.0/USB 3.0
CN101691179B (en) Converting method and converting circuit of two-wire/four-wire communication interface of elevator control system

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant