KR102427868B1 - MIPI D-PHY sending circuit and device - Google Patents

MIPI D-PHY sending circuit and device Download PDF

Info

Publication number
KR102427868B1
KR102427868B1 KR1020207029589A KR20207029589A KR102427868B1 KR 102427868 B1 KR102427868 B1 KR 102427868B1 KR 1020207029589 A KR1020207029589 A KR 1020207029589A KR 20207029589 A KR20207029589 A KR 20207029589A KR 102427868 B1 KR102427868 B1 KR 102427868B1
Authority
KR
South Korea
Prior art keywords
circuit
data
clock
mipi
phy
Prior art date
Application number
KR1020207029589A
Other languages
Korean (ko)
Other versions
KR20200138275A (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 dispatch circuit coupled to the FPGA reconfigurable dispatch clock circuit; data packet recombination circuit; and an FPGA reconfigurable DPHY_IO sending circuit connected to the data packet recombination circuit, wherein a matching design is performed for the MIPI D-PHY sending circuit and the MIPI protocol layer through the FPGA reconfigurable MIPI D-PHY sending circuit, so that the MIPI D -By adjusting the driving capability of the PHY sending circuit, it can effectively reduce the circuit area, improve the circuit resource utilization, improve the sending performance and improve the compatibility, and satisfy the various application requirements of CSI-2 and DSI. may do it

Description

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

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

본 발명은 고속 직렬 버스 기술분야에 관한 것이고, 더 구체적으로 MIPI D-PHY 발송 회로 및 기기에 관한 것이다.FIELD OF THE INVENTION The present invention relates to the field of high-speed serial bus technology, and more particularly to MIPI D-PHY sending 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 MIPI D-PHY interface becomes more widely used in the mobile industry, the demand for variety of MIPI D-PHY support modes is also increasing. However, the existing MIPI D-PHY circuits all use ASIC-only circuits, so they cannot be flexibly configured for application modes, and the dedicated MIPI D-PHY circuits cannot meet the needs of different application situations. In addition, since 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 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 existing dedicated MIPI D-PHY circuit cannot satisfy different application situation requirements, and the general-purpose MIPI D-PHY circuit and the protocol (CSI-2 protocol/DSI protocol) circuit are independent. , since both the MIPI D-PHY and the MIPI protocol layer have to process the protocol for the circuit, some functions overlap and there is a problem of wasting resources.

상기 기술적 과제를 해결하기 위해, 본 발명은 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 sending circuit, wherein the MIPI D-PHY sending circuit includes: an FPGA reconfigurable sending clock circuit; and an FPGA reconfigurable DPHY_IO dispatch circuit coupled to the FPGA reconfigurable dispatch clock circuit.

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

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

선택 가능하게, 상기 FPGA 재구성 가능 발송 클록 회로는 PLL 모듈을 포함하고, FPGA 재구성 가능 DPHY_IO 발송 회로는 DPHY_IO 클록 회로를 포함하며, 상기 PLL 모듈은 클록 링크 클록 신호 출력 회로, 데이터 링크 클록 신호 출력 회로를 포함하고, 상기 DPHY_IO 클록 회로는 각각 상기 클록 링크 클록 신호 출력 회로에 연결되는 클록 링크 클록 채널, 및 상기 데이터 링크 클록 신호 출력 회로에 연결되는 데이터 링크 클록 채널을 포함한다.Optionally, the FPGA reconfigurable dispatch clock circuit comprises a PLL module, the FPGA reconfigurable DPHY_IO dispatch circuit comprises a DPHY_IO clock circuit, wherein the PLL module comprises a clock link clock signal output circuit, a data link clock signal output circuit wherein the DPHY_IO clock circuit each comprises a clock link clock channel coupled to the clock link clock signal output circuit, and a data link clock channel coupled 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에 전송한다.Optionally, the clock link clock channel comprises a first frequency division circuit CLKDIV, a first parallel serial conversion module OSERDES, and a first input output buffer IOB, wherein the first frequency division circuit CLKDIV is sent by the first PLL module Receive one clock channel data, perform frequency division on the clock channel data, and then obtain first parallel data, and transmit the first parallel data in parallel to a first parallel serial conversion module OSERDES, and the first parallel serial data 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에 전송한다.Optionally, the data link clock channel comprises a second frequency division circuit CLKDIV, a second parallel-to-serial conversion module OSERDES, and a second input output buffer IOB, wherein the second frequency division circuit CLKDIV comprises data sent by the PLL module receiving channel data, performing frequency division on the data channel data, obtaining second parallel data, and transmitting the second parallel data to the second parallel-serial conversion module OSERDES in parallel, and 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 dispatch circuit includes up to four data output channels.

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

선택 가능하게, 상기 DPHY_IO 발송 회로는 IOL 모듈 및 상기 IOL 모듈에 연결되는 발송 회로를 포함하고, IOL 모듈은 저속 데이터 또는 고속 데이터를 수신하며; 발송 회로는 저속 데이터 또는 고속 데이터를 외부 포트에 출력하고; 상기 외부 아날로그 회로는 상기 외부 포트에 연결된다.Optionally, the DPHY_IO sending circuit comprises an IOL module and a sending circuit coupled to the IOL module, wherein the IOL module receives low-speed data or high-speed data; the sending circuit outputs low-speed data or high-speed data to the 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 the IOL modules is four, and the four 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 옴이다.Optionally, the MIPI D-PHY sending circuit further comprises a first resistor, wherein the first IOL module is connected to the external port through the first resistor, wherein the resistance value of the first resistor is 330 ohms .

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

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

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

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

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

선택 가능하게, 상기 클록 링크 클록 채널은 단방향 채널이고, 상기 데이터 링크 클록 채널은 단방향 채널 또는 양방향 채널이다.Optionally, 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 발송 회로는 클록 통로의 클록 및 데이터 통로의 클록을 생성하기 위한 것이고, 상기 클록 통로의 클록 및 상기 데이터 통로의 클록은 기설정 위상만큼 차이난다.Optionally, the MIPI D-PHY sending circuit is for generating a clock in a clock path and a clock in a data path, wherein the clock in the clock path and the clock in the data path are out of phase by a predetermined phase.

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

선택 가능하게, 상기 기기는 스마트폰, 태블릿 PC, 노트북, PDA 및 차량 탑재 컴퓨터를 포함한다.Optionally, the device comprises a smart phone, a tablet PC, a notebook computer, a PDA and an on-board 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 structural schematic diagram of a MIPI D-PHY sending circuit provided by Embodiment 1 of the present invention.
Fig. 2 is a structural schematic diagram of a clock circuit logical layer circuit of the MIPI D-PHY sending circuit provided in Embodiment 1 of the present invention.
3 is a structural schematic diagram of a DPHY_IO sending circuit of the MIPI D-PHY sending circuit provided by Embodiment 1 of the present invention.
4 is a schematic diagram of a work flow of a MIPI D-PHY sending circuit provided by Embodiment 2 of the present invention.

본 발명의 목적, 과제의 해결 수단 및 장점이 더 명확해지도록, 아래 구체적인 실시형태를 통해 도면을 참조하여 본 발명의 실시예에 대해 상세히 설명한다. 이해해야 할 것은, 여기서 설명된 구체적인 실시예는 본 발명을 해석하기 위한 것일 뿐 한정하기 위한 것이 아니다.An embodiment of the present invention will be described in detail with reference to the drawings through specific embodiments below so that the object, means and advantages of the present invention are more clear. It should be understood that the specific embodiments described herein are intended to interpret the present invention and not to limit 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 meet the 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 wasting resources due to overlapping of some functions because protocol processing has to be performed on the circuit, a MIPI D-PHY sending 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 uses an FPGA (Field-Programmable Gate Array, Field-Programmable Gate Array) to realize the reconfiguration of the MIPI D-PHY sending circuit, where MIPI is a mobile industrial processor interface, its formal name is Mobile Industry Processor Interface Here, MIPI D-PHY is one physical layer of MIPI, and the protocol layer has two types of CSI and DSI, where CSI is mainly used for image connection, 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 FIG. 1, FIG. 1 is a structural schematic diagram of a MIPI D-PHY sending circuit provided by an embodiment of the present invention. The MIPI D-PHY dispatch circuit 100 includes an FPGA reconfigurable dispatch clock circuit 110, an FPGA reconfigurable DPHY_IO dispatch circuit 120 coupled to the FPGA reconfigurable dispatch clock circuit 110, a data packet recombination circuit (prg_tx_hs_pkg) an FPGA reconfigurable DPHY_IO dispatch circuit (120) comprising (130) and an FPGA reconfigurable DPHY_IO dispatch circuit (120) coupled to the data packet recombination circuit (130), the FPGA reconfigurable DPHY_IO dispatch circuit (120) coupled to the FPGA reconfigurable dispatch clock circuit (110) below ) is abbreviated as DPHY_IO clock circuit 121 , and the FPGA reconfigurable DPHY_IO dispatch circuit 120 connected to the data packet recombination circuit 130 is abbreviated as DPHY_IO dispatch 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, the PLL module can generate a necessary clock according to user configuration, 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 of the clock of the data passage, the two clocks maintain a constant phase relationship to satisfy the building holding time required for the digital circuit. The DPHY_IO clock circuit 121 receives a clock of a clock channel and a clock of a data channel that the PLL module has transmitted 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 and sends it to the DPHY_IO sending circuit 122 and output by 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 that can be received and processed by the DPHY_IO sending circuit 122 according to the protocol request, and then repackages it and sends it.

본 실시예에서, MIPI D-PHY 발송 회로(100)와 CSI-2프로토콜/DSI프로토콜에 대해 정합을 진행하는데, 다시 말하면 MIPI D-PHY 발송 회로(100)는 CSI-2프로토콜 또는 DSI프로토콜에 기초하여 데이터 전송을 진행할 수 있다. 구체적으로 어느 프로토콜을 선택하는지는 사용자 본인이 결정하면 되고, 이러한 방식은 회로 면적을 효과적으로 감소하고 회로의 자원 사용률을 향상시킬 수 있다.In this embodiment, matching is performed with the MIPI D-PHY sending circuit 100 and the CSI-2 protocol/DSI protocol, that is, 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 usage 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 carry out data transmission, it should be explained that the clock channel is unidirectional and the data channel is unidirectional or in both directions.

본 실시예에서, 클록 신호의 전송은 도 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, please refer to FIG. 2 for the 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 a signal output circuit (115), the DPHY_IO clock circuit comprising a clock link clock channel (1211) coupled to a clock link clock signal output circuit (114), and a data link coupled to a data link clock signal output circuit (115), respectively a clock channel 1212, the clock link clock channel comprising 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-to-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 user-configured clock signal, 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 clock link clock channel 1211 is entered through the clock link clock signal output circuit 114 by the first clock signal output terminal clkout0 112, and the clock signal of the data path is transferred 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 a parallel serial conversion module (OSERDES) ( 1211b) converts the signal into a serial signal and transmits it to the input output buffer (IOB) 1211c, and outputs it to the external port 200 through the input output buffer (IOB) 1211c, and the output clock path clock signal The phases of are reversed; The data link clock channel 1212 receives a clock signal of a data path, performs frequency division by a frequency division circuit (CLKDIV) 1212a, and outputs two data path clock signals, and outputs a parallel serial conversion module (OSERDES). ) (1212b) to convert the signal into a serial signal and transmit it to the input output buffer (IOB) 1212c, output to the external port 200 through the input output buffer (IOB) 1212c, 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 sending circuit 100 operates, up to 4 channels can simultaneously perform data transmission, 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 parallel-to-serial conversion module (OSERDES) 1212b are all frequency division circuits (CLKDIV) 1212a Receives two data path clock signals output after frequency division by .

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

본 실시예에서, DPHY_IO 발송 회로의 구체적인 작동 흐름은 도 3을 참조하기 바란다.In this embodiment, 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 sending circuit includes two transmission modes, a low speed mode (LP, Lower Power) and a 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 중 다른 관련 명칭은 상응한 바이트 클록일 수 있다.As shown in FIG. 3 , the DPHY_IO dispatch circuit 122 includes an IOL module 1221 and a dispatch circuit 1222 . In this embodiment, the DPHY_IO sending circuit includes four IOL modules 1221, and the four IOL modules 1221 include two first IOL modules 1221a for transmitting low-speed data and two first IOL modules 1221a for transmitting high-speed data. and two second IOL modules 1221b. After receiving the low-speed data, the low-speed data is output from the IOB (I/O buffer, not shown) of IO0 (stage p) and IO3 (stage n) to the external port 200, and the level standard uses LVCMOS12. After sending LP11->LP01-> LP00, TS of high-speed channel is set to 0, high-speed channel enabling is opened, and when LP11 is sent again, TS of high-speed channel is set to 1 and high-speed channel close the While the high-speed channel is open, the low-speed channel must send LP00. It should be noted that LP01 indicates that the P stage is 0, the n stage is 1, and the others are similar. After receiving the high-speed data, the two second IOL modules 1221b mix with each other to process the data, and the high-speed signal uses a differential level LVDS (Low Voltage Differential Signaling, Low Voltage Differential Signaling) standard, and enters the IOL module to realize parallel-to-serial conversion (OSERDES). For example, 8-bit parallel data is converted to serial data, and output to the external port 200 through IOB (I/O buffer, not shown) of IO1 and IO2, IOB (I/O buffer, not shown) ) must be controlled, TS is 0, close the tri-state enabling, the signal can be output from the IOB to the external port 200, and when TS is 1, open the tri-state enabling and close the external port ( 200) is enabled in a 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. , and a second resistor 150 is connected in series to the low-speed channels IO0 and IO4, and the second resistor may be a 50 ohm resistor, realizing electrical characteristics conforming to the MIPI norms requirements, and the electrical characteristics are common mode voltage (DC characteristic) and differential amplitude (AC characteristic). 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, using the LVDS level standard in the high-speed mode, can select 2mA~4mA; In low speed mode, it uses LVCMOS12 level standard and can select 2~12mA, it should be explained, use different drive current 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 dispatch circuit (100), which includes an FPGA reconfigurable dispatch clock circuit (110), and an FPGA reconfigurable DPHY_IO dispatch circuit coupled to the FPGA reconfigurable dispatch clock circuit (110). 120, a data packet recombination circuit 130, and an FPGA reconfigurable DPHY_IO dispatch circuit 120 coupled to the data packet recombination circuit 130, wherein the MIPI D-PHY dispatch circuit 110 and the MIPI protocol layer matching design, effectively reducing the circuit area and improving the resource utilization rate of the circuit, improving the sending performance by adjusting the phase for the MIPI D-PHY data channel and the clock channel The drive capability can be adjusted to improve the compatibility, and the MIPI D-PHY sending circuit can meet 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 four-channel protocol sending flow chart of the MIPI D-PHY sending circuit, specifically refer to FIG. 4 .

시스템 초기화 시 대기 IDLE 상태에 진입한다.Enters standby IDLE state during system initialization.

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

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

S402: ST_LP_STOP 상태에서 valid_hs신호를 검출하고, 고속 데이터를 위해 신호를 요청하는 것은 고속 데이터를 곧 발송함을 의미하고, ST_HS_RQST 상태에 진입하고, 아니면 멈추고 대기한다.S402: Detect valid_hs signal in ST_LP_STOP state, requesting signal for high-speed data means sending high-speed data soon, enter ST_HS_RQST state, otherwise stop and wait.

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

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

S405: ST_HS_GO 상태에서 고속 0을 발송하고, 시간의 길고 짧음은 사용자가 설정하며, 완료되면 ST_HS_SYNC 상태에 진입하고, 아니면 멈추고 대기한다. 여기서 ST_HS_GO은 고속 변환 진입 상태이다.S405: Send high speed 0 in ST_HS_GO state, long and short time is set by user, enter ST_HS_SYNC state when finished, otherwise stop and wait. 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: Send MIPI D-PHY synchronization head B8 in ST_HS_SYNC state, enter ST_HS_DATA state automatically. Here, ST_HS_SYNC is the 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, after the receiving end receives the alignment data, data transmission is possible.

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

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

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

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

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

본 발명의 실시예는 MIPI D-PHY 발송 회로의 구체적이 실현 과정을 제공하고, FPGA 재구성 가능 MIPI D-PHY 발송 회로를 통해 MIPI D-PHY 발송 회로와 MIPI 프로토콜층에 대해 정합 설계를 진행하여,회로 면적을 효과적으로 감소하고 회로의 자원 사용률을 향상시킨다. MIPI D-PHY 데이터 채널과 클록 채널에 대해 위상 조절을 진행함으로써 발송 성능을 향상시키고, MIPI D-PHY 발송 회로의 구동 능력을 조절할 수 있어 호환성을 향상시킬 수 있고, MIPI D-PHY 발송 회로는 CSI-2와 DSI의 여러가지 다양한 응용 상황 요구를 만족시킬 수 있다.The embodiment of the present invention provides a specific realization process of the MIPI D-PHY sending circuit, and through the FPGA reconfigurable MIPI D-PHY sending circuit, the matching design is carried out for the MIPI D-PHY sending circuit and the MIPI protocol layer, 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 sending performance is improved, the driving ability of the MIPI D-PHY sending circuit can be adjusted to improve compatibility, and the MIPI D-PHY sending circuit is CSI -2 and DSI can satisfy various application situation requirements.

실시예 3Example 3

본 실시예는 기기를 제공하고, 상기 기기는 스마트폰, 태블릿 PC, 노트북, 개인용 정보 단말기(Personal Digital Assistant, PDA) 등 미러링 기능을 구비하는 모바일 스마트 기기일 수 있으나 이에 한정되지 않는다. 물론, 미러링 기능을 구비하는 PC,차량 탑재 컴퓨터 등 고정형 스마트 기기일 수도 있으나 이에 한정되지 않는다. 상기 기기는 상술한 실시예에 따른 MIPI D-PHY 발송 회로를 포함하여 상응한 기능을 실현하고 여기서는 중복 설명하지 않는다.This 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 computer, 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 sending circuit according to the above embodiment to realize the corresponding function, which will not be repeated herein.

상술한 내용은 구체적인 실시형태를 결부하여 본 발명의 실시예에 대해 상세히 설명하였으나, 본 발명의 구체적인 실시가 이러한 설명에 의해 한정되는 것은 아니다. 본 발명이 속하는 기술분야의 통상의 기술자는 본 발명의 구상을 벗어나지 않는 전제하에 약간의 간단한 추리 또는 변환을 진행할 수 있는데 이러한 추리 또는 변환은 모두 본 발명의 보호범위에 속하는 것으로 보아야 한다.Although the above has been described in detail with respect to the embodiments of the present invention in conjunction with specific embodiments, the specific implementation of the present invention is not limited by these descriptions. Those of ordinary skill in the art to which the present invention pertains may make some simple inferences or transformations under the premise of not departing from the spirit 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 dispatch clock circuit; and
and an FPGA reconfigurable DPHY_IO dispatch circuit coupled to the FPGA reconfigurable dispatch clock circuit.
제1항에 있어서,
데이터 패킷 재조합 회로; 및
상기 데이터 패킷 재조합 회로에 연결되는 FPGA 재구성 가능 DPHY_IO 발송 회로를 더 포함하고,
상기 데이터 패킷 재조합 회로는 발송하고자 하는 데이터를 프로토콜에 따라 재패키징한 후 상기 FPGA 재구성 가능 DPHY_IO 발송 회로에 발송하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
According to claim 1,
data packet recombination circuit; and
an FPGA reconfigurable DPHY_IO sending circuit coupled to the data packet recombination circuit;
MIPI D-PHY sending circuit, characterized in that the data packet recombination circuit repackages the data to be sent according to a protocol and then sends it to the FPGA reconfigurable DPHY_IO sending circuit.
제1항에 있어서,
상기 MIPI D-PHY 발송 회로는 CSI-2프로토콜 또는 DSI프로토콜에 기초하여 데이터 전송을 진행하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
According to claim 1,
and the MIPI D-PHY sending circuit performs data transmission based on the CSI-2 protocol or the DSI protocol.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 FPGA 재구성 가능 발송 클록 회로는 PLL 모듈을 포함하고, FPGA 재구성 가능 DPHY_IO 발송 회로는 DPHY_IO 클록 회로를 포함하며, 상기 PLL 모듈은 클록 링크 클록 신호 출력 회로, 데이터 링크 클록 신호 출력 회로를 포함하고, 상기 DPHY_IO 클록 회로는 각각 상기 클록 링크 클록 신호 출력 회로에 연결되는 클록 링크 클록 채널, 및 상기 데이터 링크 클록 신호 출력 회로에 연결되는 데이터 링크 클록 채널을 포함하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
4. The method according to any one of claims 1 to 3,
the FPGA reconfigurable dispatch clock circuit comprises a PLL module, the FPGA reconfigurable DPHY_IO dispatch circuit comprises a DPHY_IO clock circuit, the PLL module comprises a clock link clock signal output circuit, a data link clock signal output circuit, and wherein the DPHY_IO clock circuit comprises a clock link clock channel coupled to the clock link clock signal output circuit, and a data link clock channel coupled to the data link clock signal output circuit, respectively.
제4항에 있어서,
상기 클록 링크 클록 채널은 제1 주파수 분할 회로CLKDIV, 제1 병렬 직렬 변환 모듈OSERDES, 제1 입력 출력 버퍼IOB를 포함하고,
상기 제1 주파수 분할 회로 CLKDIV는 제1 상기 PLL 모듈이 발송한 클록 채널 데이터를 수신하고, 상기 클록 채널 데이터에 대해 주파수 분할을 진행한 후 제1 병렬 데이터를 얻으며, 상기 제1 병렬 데이터를 제1 병렬 직렬 변환 모듈OSERDES에 병렬 전송하고, 상기 제1 병렬 직렬 변환 모듈OSERDES은 상기 제1 병렬 데이터를 제1 직렬 데이터로 변환하여 상기 제1 입력 출력 버퍼IOB에 전송하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
5. 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 the first MIPI D-PHY, characterized in that parallel transmission to a parallel-serial conversion module OSERDES, and the first parallel-serial conversion module OSERDES converts the first parallel data into first serial data and transmits 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 발송 회로.
5. 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 divides the second parallel data into the second parallel data. MIPI D-PHY sending, characterized in that parallel transmission to a serial conversion module OSERDES, and the second parallel serial conversion module OSERDES converts the second parallel data into second serial data and transmits to the second input output buffer IOB Circuit.
제1항에 있어서,
상기 FPGA 재구성 가능 DPHY_IO 발송 회로는 최대 4개의 데이터 출력 채널을 포함하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
According to claim 1,
and the FPGA reconfigurable DPHY_IO send circuit comprises up to 4 data output channels.
제7항에 있어서,
상기 데이터 출력 채널은 상기 DPHY_IO 발송 회로 및 외부 아날로그 회로를 포함하고, 상기 DPHY_IO 발송 회로는 상기 외부 아날로그 회로에 연결되는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
8. The method of claim 7,
and the data output channel comprises 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 발송 회로.
9. The method of claim 8,
the DPHY_IO sending circuit includes an IOL module and a sending circuit coupled to the IOL module, wherein the IOL module receives low-speed data or high-speed data; the sending circuit outputs low-speed data or high-speed data to the external port; and the external analog circuit is connected to be connected to the external port.
제9항에 있어서,
상기 IOL 모듈의 개수는 4개이고, 4개의 IOL 모듈은 저속 데이터를 전송하기 위한 2개의 제1 IOL 모듈 및 고속 데이터를 전송하기 위한 2개의 제2 IOL 모듈을 포함하는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
10. The method of claim 9,
MIPI D-PHY, characterized in that the number of the IOL modules is four, and the four 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 발송 회로.
11. The method of claim 10,
The MIPI D-PHY sending circuit further comprises 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 발송 회로.
11. The method of claim 10,
The MIPI D-PHY sending circuit further comprises 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 발송 회로.
10. The method of claim 9,
MIPI D-PHY sending circuit, characterized in that the level standard of the high-speed data is LVDS.
제13항에 있어서,
상기 고속 데이터는 2~4mA의 전류인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
14. The method of claim 13,
The high-speed data is a MIPI D-PHY sending circuit, characterized in that the current of 2 ~ 4mA.
제9항에 있어서,
상기 저속 데이터의 레벨 표준은 LVCMOS12인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
10. The method of claim 9,
MIPI D-PHY sending circuit, characterized in that the level standard of the low-speed data is LVCMOS12.
제15항에 있어서,
상기 고속 데이터는 2~12mA의 전류인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
16. The method of claim 15,
MIPI D-PHY sending circuit, characterized in that the high-speed data is a current of 2 to 12 mA.
제4항에 있어서,
상기 클록 링크 클록 채널은 단방향 채널이고, 상기 데이터 링크 클록 채널은 단방향 채널 또는 양방향 채널인 것을 특징으로 하는 MIPI D-PHY 발송 회로.
5. 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항 내지 제3항 및 제7항 내지 제16항 중 어느 한 항에 있어서,
상기 MIPI D-PHY 발송 회로는 클록 통로의 클록 및 데이터 통로의 클록을 생성하기 위한 것이고, 상기 클록 통로의 클록 및 상기 데이터 통로의 클록은 기설정 위상만큼 차이나는 것을 특징으로 하는 MIPI D-PHY 발송 회로.
17. The method according to any one of claims 1 to 3 and 7 to 16,
and the MIPI D-PHY sending circuit is for generating a clock in a clock path and a clock in a data path, wherein the clock in the clock path and the clock in the data path are out of phase by a preset phase. Circuit.
제1항 내지 제3항 및 제7항 내지 제16항 중 어느 한 항에 따른 MIPI D-PHY 발송 회로를 포함하는 것을 특징으로 하는 기기.
Device characterized in that it comprises a MIPI D-PHY sending circuit according to any one of claims 1 to 3 and 7 to 16.
제19항에 있어서,
상기 기기는 스마트폰, 태블릿 PC, 노트북, PDA 및 차량 탑재 컴퓨터를 포함하는 것을 특징으로 하는 기기.











20. The method of claim 19,
The device comprises a smart phone, a tablet PC, a notebook computer, a PDA, and an in-vehicle 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 KR20200138275A (en) 2020-12-09
KR102427868B1 true 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 (4)

* 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
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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090126713A (en) * 2008-06-05 2009-12-09 포스데이타 주식회사 Apparatus and method for checking network unit in wireless communication system
WO2013023651A2 (en) * 2011-08-16 2013-02-21 Silicon Line Gmbh Circuit arrangement and method for transmitting signals
KR101541182B1 (en) * 2013-11-28 2015-08-03 주식회사 실리콘핸즈 MIPI D-PHY circuit for Low-power mode
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 (4)

* 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
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
KR20200138275A (en) 2020-12-09
CN110334044A (en) 2019-10-15
WO2020239109A1 (en) 2020-12-03
CN110334044B (en) 2022-05-20

Similar Documents

Publication Publication Date Title
KR102427868B1 (en) MIPI D-PHY sending circuit and device
US9355057B2 (en) Universal serial bus repeater
US9009379B1 (en) Communicating with MIPI-compliant devices using non-MIPI interfaces
US9172426B2 (en) Voltage mode driver circuit for N-phase systems
US10133692B2 (en) Device including a single wire interface and a data processing system having the same
CN107925561B (en) Method, apparatus and storage medium for adapting 3-phase signal exchange
US9971666B2 (en) Technique of link state detection and wakeup in power state oblivious interface
US20150220472A1 (en) Increasing throughput on multi-wire and multi-lane interfaces
JP6059404B2 (en) N factorial dual data rate clock data recovery
US20140112401A1 (en) 3dynamic configuration of an n-phase polarity data communications link
JP2018522484A (en) Low power mode signal bridge for optical media
US10645553B2 (en) Method and apparatus for processing signal in a mobile device
JP6219538B2 (en) Clock recovery circuit for multiple wire data signals
EP2237500A1 (en) A route table lookup system, ternary content addressable memory and network processor
US11249933B2 (en) MIPI D-PHY circuit
WO2014153123A1 (en) Systems and methods for serial communication
CN109710549B (en) General I/O-based MIPI (Mobile industry processor interface) circuit in programmable chip
KR102006068B1 (en) Device for converting interface
US9490964B2 (en) Symbol transition clocking clock and data recovery to suppress excess clock caused by symbol glitch during stable symbol period
US9009371B1 (en) Full-duplex communications device
US20200285602A1 (en) eUSB2 to USB 2.0 Data Transmission with Surplus Sync Bits
KR20200129333A (en) Method for assigning different addresses on a plurality of slave devices using I2C communication protocol and a device for the same
WO2009069094A1 (en) Method and device for routing data between components
US10511463B2 (en) Reception device, reception method, and communication system
KR102265187B1 (en) Clock recovery circuit

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