WO2020239102A1 - 一种接收电路、接收电路的重构方法及电子设备 - Google Patents
一种接收电路、接收电路的重构方法及电子设备 Download PDFInfo
- Publication number
- WO2020239102A1 WO2020239102A1 PCT/CN2020/093449 CN2020093449W WO2020239102A1 WO 2020239102 A1 WO2020239102 A1 WO 2020239102A1 CN 2020093449 W CN2020093449 W CN 2020093449W WO 2020239102 A1 WO2020239102 A1 WO 2020239102A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- receiving
- module
- speed data
- speed
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4291—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4221—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
Definitions
- This application relates to the technical field of high-speed serial buses, and in particular to a receiving circuit, a method for reconstructing a receiving circuit, and an electronic device.
- DPHY is one of the MIPI protocols. DPHY provides the definition of DSI (Serial Display Interface) and CSI (Serial Camera Interface) on the physical layer. DPHY describes a source-synchronous, high-speed, and low-power physical layer.
- DSI Serial Display Interface
- CSI Serial Camera Interface
- DPHY describes a source-synchronous, high-speed, and low-power physical layer.
- Existing MIPI D-PHY circuits are all implemented by ASIC dedicated circuits. As MIPI D-PHY interfaces are more and more widely used in the mobile industry, the existing MIPI D-PHY circuit implementation methods cannot flexibly configure application modes.
- the dedicated MIPI D-PHY circuit cannot meet the needs of different application scenarios, and has higher requirements for the diversity of MIPI D-PHY support modes; at the same time, because the general MIPI D-PHY circuit and the protocol (CSI2/DSI) circuit are independent, Both MIPI D-PHY and MIPI protocol layers need to receive and unpack the circuit, and there are problems of duplication of some functions and waste of resources.
- CSI2/DSI protocol
- MIPI D-PHY circuit that can be flexibly configured to meet the needs of different application scenarios can reduce the duplication of functions and resource waste of MIPI D-PHY and MIPI protocol layers, which is of great significance to MIPI D-PHY circuits.
- the purpose of the embodiments of this application is to provide a receiving circuit, a method for reconstructing the receiving circuit, and an electronic device, aiming to solve the problem that the existing MIPI D-PHY circuit cannot be flexibly configured, and the MIPI D-PHY and MIPI protocol layers have partial functional duplication The problem with waste of resources.
- an embodiment of the present application provides a MIPI D-PHY receiving circuit, and the MIPI D-PHY receiving circuit includes:
- the receiving data module is used to reconstruct the configuration data channel according to the user, and process the received high-speed data or low-speed data to obtain the output data required by the configuration protocol;
- the receiving clock module is used to recover the high-speed clock and the byte clock when the receiving data module receives high-speed data in the high-speed data receiving mode, so as to realize synchronous sampling and serial-to-parallel conversion of the receiving data module;
- the mode control module is used to control the receiving data module and the receiving clock module to switch between the high-speed data receiving mode and the low-speed data receiving mode.
- the receiving data module includes:
- At least one data channel used to receive high-speed data or low-speed data, and adopt the high-speed data receiving mode or the low-speed data receiving mode according to the data type of the received data;
- Word alignment circuit module for word alignment of received high-speed data
- the protocol analysis circuit module is used to configure the protocol analysis mode, and obtain the output data of the corresponding configuration protocol according to the configuration protocol mode.
- the data channel includes: a data switching detection circuit module and a data receiving mode switching circuit module;
- the data switching detection circuit module sends a corresponding data switching signal to the mode control module when detecting that the received data is switched from high-speed data to low-speed data, or from low-speed data to high-speed data;
- the data switching detection circuit module and the data receiving mode switching circuit module both include triggers; the data receiving mode switching circuit module also includes a deserialization module for converting 8-bit or 4-bit parallel data.
- the data switching detection circuit module includes a buffer
- the buffer is used to detect the switching of the data state from high speed to low speed or from low speed to high speed.
- the mode control module After the mode control module receives the switching data signal, it inputs the control signal to the differential signal buffer in the data switching detection circuit module.
- the output data includes: byte clock, travel synchronization, field synchronization, data, data valid flag, CSI2/DSI data packet header, and packet header valid flag.
- the MIPI D-PHY receiving circuit further includes a second multiple selection selector, and the second multiple selection selector is provided between the channel alignment circuit module and the protocol analysis circuit module;
- the second multiple selection selector is used to determine whether to use channel-aligned deserialization high-speed data.
- the protocol analysis circuit module sets the protocol analysis mode according to a configuration instruction for reconstructing and configuring the protocol analysis mode.
- the receiving clock module includes: a clock data switching detection circuit module and a data frequency dividing circuit module;
- the data frequency dividing circuit module switches to the corresponding high-speed data receiving mode or low-speed data receiving mode after receiving the high-speed data receiving mode or low-speed data receiving mode control signal sent by the mode control module.
- the clock data switching detection circuit module and the data frequency dividing circuit module both include triggers; the data frequency dividing circuit module also includes a frequency dividing circuit module, and the frequency dividing circuit module supports a configurable divide by 4 and Divide 2 mode.
- each data channel is correspondingly provided with one word alignment circuit module.
- each data channel is used for reconstruction according to user configuration.
- the present application also provides a method for reconstructing a MIPI D-PHY receiving circuit, and the method for reconstructing a MIPI D-PHY receiving circuit includes:
- the receiving data module processes the received high-speed data or low-speed data, obtains output data required by the configuration protocol, and outputs the output data.
- the reconstruction parameters include: the target data channel in the reconstructed data channel, the deserialization ratio of the deserialization module in the reconstructed target data channel, and the divide by 4 and divide by 2 modes of the frequency divider circuit in the reconstructed receiving clock module And the configuration protocol mode in the reconfiguration protocol analysis circuit module, said obtaining the reconfiguration parameters configured by the user includes:
- the determining that the target data channel adopts a high-speed data receiving mode or a low-speed data receiving mode according to the data type received by the mode control module includes:
- the data switching detection circuit module in the target data channel When the received data is high-speed data, the data switching detection circuit module in the target data channel outputs a low level signal to the mode control module, and the mode control module outputs a high level control to the data receiving mode switching circuit module in the target data channel Signal, the data receiving mode switching circuit module receives the high-level control signal to switch the data receiving mode to the high-speed data receiving mode;
- the data switching detection circuit module in the target data channel When the received data is low-speed data, the data switching detection circuit module in the target data channel outputs a high-level signal to the mode control module, and the mode control module outputs low-level control to the data receiving mode switching circuit module in the target data channel Signal, the data receiving mode switching circuit module receives the low-level control signal to switch the data receiving mode to a low-speed data receiving mode.
- the output data includes: byte clock, travel synchronization, field synchronization, data, data valid flag, CSI2/DSI data packet header and packet header valid flag, and the receiving data module processes the received high-speed data or low-speed data To obtain the output data required by the configuration protocol, and output the output data, including:
- the received high-speed data is synchronized, and the synchronized data is analyzed by protocol, and then converted into low-speed parallel data;
- the received low-speed data is subjected to protocol analysis to obtain the output data required by the configuration protocol, and the output data is output.
- the receiving data module includes: a data switching detection circuit module and a data receiving mode switching circuit module;
- the data switching detection circuit module sends a corresponding data switching signal to the mode control module when detecting that the received data is switched from high-speed data to low-speed data, or from low-speed data to high-speed data;
- this application proposes an electronic device including the aforementioned MIPI D-PHY receiving circuit.
- the embodiments of the present application provide a receiving circuit, a method for reconstructing the receiving circuit, and an electronic device.
- the receiving circuit is a MIPI D-PHY receiving circuit, which includes: a receiving data module, configured to reconstruct and configure a data channel according to a user, and Process the received high-speed data or low-speed data to obtain the output data required by the configuration protocol; the receiving clock module is used to restore the high-speed data serial clock and byte clock; the mode control module is used to control the receiving data module and the receiving clock module Switch between high-speed data reception mode and low-speed data reception mode.
- the receiving data module configures the data channel according to the user's reconstruction configuration, and at the same time performs data processing on the received high-speed data or low-speed data to obtain the output required by the configuration protocol Data, realizes the reconfiguration configuration of MIPI D-PHY receiving circuit and the integration of MIPI D-PHY and MIPI protocol layer, avoiding duplication of functions and waste of resources.
- FIG. 2 is a schematic diagram of the circuit structure of a data channel (DPHY_IO) provided by another embodiment of the application;
- FIG. 3 is a schematic diagram of a circuit structure of a receiving clock module (DPHY_CLK) provided by another embodiment of the application;
- FIG. 4 is a schematic flowchart of a method for reconstructing a MIPI D-PHY receiving circuit according to an embodiment of the application
- FIG. 5 is a schematic diagram of the working state of the protocol analysis circuit module state machine system provided by an embodiment of the application.
- Fig. 6 is a structural block diagram of an electronic device provided by an embodiment of the application.
- the MIPI D-PHY receiving circuit 100 includes: a receiving data module 110 for configuring a data channel according to user reconstruction and The received high-speed data or low-speed data is processed to obtain the output data required by the configuration protocol; the receiving clock module 120 is used for recovering the high-speed clock and byte clock when the receiving data module receives high-speed data in the high-speed data receiving mode The synchronous sampling and serial-parallel conversion of the receiving data module 110; the mode control module 130, which is used to control the receiving data module 110 and the receiving clock module 120 to switch between the high-speed data receiving mode and the low-speed data receiving mode.
- the above-mentioned receiving data module 110 includes: at least one data channel 111 for receiving high-speed data or low-speed data, and adopting a high-speed data receiving mode or a low-speed data receiving mode according to the data type of the received data; a word alignment circuit module 112, Used for word alignment of the received high-speed data; channel alignment circuit module 113, used for channel alignment of the received high-speed data; protocol analysis circuit module 115, used to configure the protocol analysis mode, and obtain the corresponding configuration protocol according to the configuration protocol mode The output data.
- the part DPHY_IO to MIPI_decode in Figure 1 corresponds to the receiving data module 110, where DPHY_IO corresponds to the data channel 111 for receiving low-speed (LP) data and high-speed data (HS), and implements Corresponding high-speed data receiving mode and low-speed data receiving mode switching; word_align corresponds to the word alignment circuit module 112, used to implement the word alignment function; lane_align corresponds to the channel alignment circuit module 114, used to implement the channel alignment function to avoid channel skew MIPI_decode corresponds to the protocol analysis circuit module 115, which is used to analyze data according to different protocol analysis modes; DPHY_CLK corresponds to the receiving clock module 120, which is used to recover the high-speed serial clock (hs_clk) and byte clock (byte_clk) ); mode_ctrl corresponds to the mode control module 130, which is used to control the data link to switch between the high-speed data receiving mode and the low-speed data receiving mode
- the data channel 111 in the data module of the receiving circuit in Fig. 1 is configured with 1-4 data channels.
- Each data channel 111 (DPHY_IO) corresponds to a word alignment circuit module 112 (word_align).
- Each data channel 111 can be configured according to the user Configuration reconstruction, after the data channel 111 is determined according to the user configuration reconstruction, high-speed data and low-speed data can be input on the data channel 111.
- the data channel 111 is input with low-speed data (LP)
- the data channel 111 adopts low-speed data Receiving mode.
- the high-speed data (HS) is input on the data channel 111
- the data channel 111 adopts the high-speed data receiving mode.
- the data channel 111 changes from high-speed data to low-speed data
- the receiving mode is switched to the low-speed data receiving mode.
- the data channel 111 is switched from the low-speed data receiving mode to the high-speed data receiving mode.
- the high-speed data is sent to the channel alignment circuit module 114 (lane_align) for channel alignment, and finally the high-speed data after word alignment and channel alignment are deserialized to the protocol analysis circuit module 115 (MIPI_decode) for protocol analysis, and the protocol analysis circuit module 115 (MIPI_decode) According to the configured protocol mode, it can analyze travel synchronization (hsync), field synchronization (vsync), data (Data), data valid flag (de), CSI2/DSI data packet header and packet header valid flag. It can be understood that, in this embodiment, the protocol analysis mode adopted by the protocol analysis circuit module 115 (MIPI_decode) can be set according to the user's reconstruction configuration to implement more protocol configuration modes.
- a first multiple selection selector 113 is provided between the word alignment circuit module 112 (word_align) and the lane alignment circuit module 114 (lane_align).
- the first multiple selection The converter 113 is used to determine whether to use word-aligned deserialization high-speed data (HS); a second multiple selector 116 (MUX2) is provided between the lane alignment circuit module 114 (lane_align) and the protocol analysis circuit module 115 (MIPI_decode) , The second multiple selection selector 116 is used to determine whether to use channel-aligned deserialization high-speed data (HS).
- HS word-aligned deserialization high-speed data
- the data channel 111 includes: a data switching detection circuit module 1115 and a data receiving mode switching circuit module 1114; the data switching detection circuit module 1115 detects that the received data is switched from high-speed data to low-speed data, or When low-speed data is switched to high-speed data, the corresponding data switching signal is sent to the mode control module 130; the data receiving mode switching circuit module 1114 switches after receiving the high-speed data receiving mode or low-speed data receiving mode control signal sent by the mode control module 130 To the corresponding high-speed data receiving mode or low-speed data receiving mode.
- the data switching detection circuit module 1115 and the data receiving mode switching circuit module 1114 both include triggers, which can be reconfigured by the user; the data receiving mode switching circuit module 1114 also includes a deserialization module for converting 8 bits Or 4-bit parallel data, the deserialization ratio of the deserialization module can be configured by users, and the serial to parallel ratio of the deserialization ratio can be 1:4, or 1:8, etc.
- FIG. 2 is a schematic diagram of the circuit structure of the data channel 111 (DPHY_IO) provided in this embodiment.
- the IO interface module 1110 (IOB0) and the IO interface logic module 1111 (IOL0) in the upper half correspond to the above-mentioned data receiving mode switching circuit module 1114
- the IO interface module 1112 (IOB1) and the IO interface logic module 1113 in the lower half are (IOL1) corresponds to the above-mentioned data switching detection circuit module 1115.
- the buffer 11122 (LVCOMS12) in the lower half of IOB1 detects the data state switching from high-speed to low-speed or from low-speed to high-speed.
- the switch data signal is sent to the mode through IOL1
- the control module 130 wherein the flip-flop 11131 (FF) in IOL1 can be used through the user’s reconstruction configuration.
- the control signal is input to the differential signal buffer 11121 (SLVS12 ), realize the switch of receiving mode.
- the specific receiving mode switching control process is as follows: when working in the high-speed data (HS) receiving mode, the output state of the two LP input buffers is 0 level (LP00), and when the work changes from the high-speed data (HS) receiving mode to low-speed When the data (LP) receiving mode is switched, the output signals of the two input buffers are high, and the output of the two low-speed receiving buffers (LVCOMS12) jumps from 0 level to 1 level (LP11); when the mode is controlled
- the module 130 detects the low-speed data (LP) transition from 0 level to 1 level, the mode control module 130 controls the M signal to transition from 1 level to 0 level, and controls IOB0 and IOB1 to switch to low-speed data (LP) Receive mode.
- the high-speed receiving mode In the low-speed data (LP) receiving mode, the high-speed receiving mode is closed, the receiving end connection resistance is closed, and the low-speed receiving buffer (LVCOMS12) is opened; when the mode control module 130 receives the low-speed data (LP) signal, it jumps from LP11 to LP01 and then When it jumps to LP00, control the M signal to jump from 0 level to 1 level, switch IOB0 and IOB1 to the high-speed data (HS) receiving mode, and at the same time open the receiving end connection resistance, the high-speed data signal passes through the differential signal buffer (LVDS12) receiving; the received high-speed data signal is sent to the IOL0 module through a multi-selector (MUX), and the deserialization module (ISERDES) in IOL0 performs deserialization, and converts 8-bit or 4-bit parallel data. Among them, the deserialization of ISERDES is more user-configurable and reconfigurable.
- MUX multi-selector
- the receiving clock module 120 includes: a clock data switching detection circuit module 123 and a data frequency dividing circuit module 126; the clock data switching detection circuit module 123 detects that the received data is switched from high-speed data to low-speed data, Or when switching from low-speed data to high-speed data, the corresponding data switching signal is sent to the mode control module 130; after receiving the high-speed data receiving mode or low-speed data receiving mode control signal sent by the mode control module 130, the data frequency dividing circuit module 126 Switch to the corresponding high-speed data receiving mode or low-speed data receiving mode.
- the clock data switching detection circuit module 123 and the data frequency dividing circuit module 126 both include flip-flops, which can be reconfigured by the user; the data frequency dividing circuit module 126 also includes a frequency dividing circuit module, and the frequency dividing circuit module 126 supports Divide 4 and divide 2 modes of configuration, and users can reconfigure the configuration.
- FIG. 3 is a schematic diagram of the circuit structure of the receiving clock module 120 (DPHY_CLK) provided in this embodiment.
- the IO interface module 121 (IOB0) and the IO interface logic module 122 (IOL0) in the upper half correspond to the above-mentioned clock data switching detection circuit module 123, and the IO interface module 124 (IOB1) and the IO interface logic module 125 in the lower half are (IOL1) corresponds to the aforementioned data frequency dividing circuit module 126.
- the receiving clock module 120 (DPHY_CLK) and the data channel 111 (DPHY_IO) have a similar circuit design architecture.
- the receiving clock module 120 (DPHY_CLK) circuit is also composed of a clock data switching detection circuit module 123 and a data frequency divider circuit module 126.
- the IOL0 part of the receiving clock module 120 (DPHY_CLK) circuit is designed with a dedicated frequency divider circuit 1221 (DIV).
- the frequency divider circuit 1221 supports configurable division by 4 and division by 2 modes, and user configurable reconstruction.
- This embodiment provides a MIPI D-PHY receiving circuit.
- a reconfigurable configuration design On the basis of the traditional MIPI D-PHY receiving circuit, a reconfigurable configuration design, a channel alignment circuit module, and a channel alignment circuit module are added, and the MIPI D-PHY receiving circuit Data unpacking and CSI2/DSI protocol unpacking are integrated and designed, and the CSI2/DSI protocol layer unpacking function is integrated into the data unpacking circuit of the MIPI D-PHY layer, which can effectively reduce the circuit area and improve the resource utilization rate of the circuit ; It can effectively reduce the receiving delay of the circuit and improve the delay performance of the circuit; the circuit design supports word alignment and channel alignment, which can effectively solve the problem of channel skew in the application; the MIPI D-PHY receiving circuit is a reconfigurable structure, It can meet the requirements of CSI2 and DSI in many different application scenarios.
- the reconstruction method of the MIPI D-PHY receiving circuit includes: the receiving data module obtains the reconstruction parameters configured by the user According to the reconstruction parameters, determine the target data channel from at least one data channel; the mode control module determines that the target data channel adopts the high-speed data receiving mode or the low-speed data receiving mode according to the received data type; the receiving data module responds to the received high-speed data or low-speed data The data is processed to obtain the output data required by the configuration protocol, and output the output data.
- FIG. 4 is a schematic flowchart of a method for reconstructing a MIPI D-PHY receiving circuit provided by this embodiment, which specifically includes the following steps:
- the data receiving module obtains a reconstruction parameter configured by a user, and determines a target data channel from at least one data channel according to the reconstruction parameter.
- the reconstruction parameters configured by the user may include: reconstructing the target data channel in the data channel, reconstructing the deserialization ratio of the deserialization module in the target data channel, and reconstructing the frequency divider circuit in the receiving clock module Divide by 4 and divide by 2 modes, reconstruct the configuration protocol mode in the protocol analysis circuit module.
- the mode control module determines that the target data channel adopts the high-speed data receiving mode or the low-speed data receiving mode according to the received data type.
- the data switching detection circuit module in the target data channel when the received data is high-speed data, the data switching detection circuit module in the target data channel outputs a low level signal to the mode control module, and the mode control module outputs a high level to the data receiving mode switching circuit module in the target data channel. Control signal, the data receiving mode switching circuit module receives a high level control signal to switch the data receiving mode to the high-speed data receiving mode.
- the data switching detection circuit module in the target data channel outputs a high-level signal to the mode control module, and the mode control module outputs a low-level control signal to the data receiving mode switching circuit module in the target data channel.
- the data receiving mode switching circuit module receives the low-level control signal to switch the data receiving mode to the low-speed data receiving mode.
- the receiving data module includes: a data switching detection circuit module and a data receiving mode switching circuit module; when the data switching detection circuit module detects that the received data is switched from high-speed data to low-speed data, or from low-speed data to high-speed data, Send the corresponding data switching signal to the mode control module; the data receiving mode switching circuit module switches to the corresponding high-speed data receiving mode or low-speed data receiving after receiving the high-speed data receiving mode or low-speed data receiving mode control signal sent by the mode control module mode.
- the output data includes: byte clock, travel synchronization, field synchronization, data, data valid flag, CSI2/DSI data packet header, and packet header valid flag.
- the above-mentioned high-speed data or low-speed data received by the receiving data module is processed to obtain the configuration
- the output data required by the protocol and the output data include: when in the high-speed data receiving mode, the received high-speed data is synchronized, and the synchronized data is analyzed by the protocol, and then converted into low-speed parallel data; In the low-speed data receiving mode, the received low-speed data is analyzed by protocol, the output data required by the configuration protocol is obtained, and the output data is output.
- This embodiment provides a method for reconstructing the MIPI D-PHY receiving circuit.
- the method for reconstructing the MIPI D-PHY receiving circuit includes: a receiving data module obtains a user-configured reconstruction parameter, and according to the reconstruction parameter from at least one piece of data The target data channel is determined in the channel; the mode control module determines that the target data channel adopts the high-speed data receiving mode or the low-speed data receiving mode according to the received data type; the receiving data module processes the received high-speed data or low-speed data to obtain the configuration protocol required Output data and output output data.
- the MIPI D-PHY receiving circuit is a reconfigurable structure, which can meet the needs of various application scenarios of CSI2 and DSI.
- the MIPI D-PHY receiving circuit data unpacking and CSI2/DSI protocol unpacking are integrated and designed, which can Effectively reduce circuit area and improve circuit resource utilization.
- FIG. 5 shows a schematic diagram of the working state of a protocol analysis circuit module state machine provided in this embodiment.
- FIG. 6 shows an electronic device 600 provided by an embodiment of the present application.
- the electronic device includes the MIPI D-PHY receiving circuit 610 in the foregoing embodiment.
- the electronic device 600 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a palmtop computer, a personal digital assistant (PDA), and a mobile smart device with a screen projection function.
- PDA personal digital assistant
- it can also be, but not limited to, a personal computer (Personal Computer, PC) with a screen projection function, or a stationary smart device of a vehicle-mounted computer.
- PC Personal Computer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
Description
Claims (20)
- 一种MIPI D-PHY接收电路,其特征在于,所述MIPI D-PHY接收电路包括:接收数据模块,用于根据用户重构配置数据通道,并将接收的高速数据或低速数据进行处理得到配置协议所需的输出数据;接收时钟模块,用于所述接收数据模块在高速数据接收模式下接收高速数据时,恢复高速串行时钟与字节时钟,以实现对所述接收数据模块的同步采样以及串并转换;模式控制模块,用于控制所述接收数据模块和所述接收时钟模块进行高速数据接收模式和低速数据接收模式的切换。
- 如权利要求1所述的MIPI D-PHY接收电路,其特征在于,所述接收数据模块包括:至少一条数据通道,用于接收高速数据或低速数据,并根据接收数据的数据类型分别采用高速数据接收模式或低速数据接收模式;字对齐电路模块,用于将接收的高速数据进行字对齐;通道对齐电路模块,用于将接收的高速数据进行通道对齐;协议解析电路模块,用于配置协议解析模式,根据配置协议模式得到对应的配置协议的输出数据。
- 如权利要求2所述的MIPI D-PHY接收电路,其特征在于,所述数据通道包括:数据切换检测电路模块和数据接收模式切换电路模块;所述数据切换检测电路模块在检测到接收的数据由高速数据切换到低速数据,或由低速数据切换到高速数据时,向所述模式控制模块发送对应的数据切换信号;所述数据接收模式切换电路模块在接收到所述模式控制模块发送的高速数据接收模式或低速数据接收模式控制信号后,切换到对应的高速数据接收模式或低速数据接收模式。
- 如权利要求3所述的MIPI D-PHY接收电路,其特征在于,所述数据切换检测电路模块和数据接收模式切换电路模块中均包括触发器;所述 数据接收模式切换电路模块还包括解串模块,用于转换8比特或4比特并行数据。
- 如权利要求3所述的MIPI D-PHY接收电路,其特征在于,所述数据切换检测电路模块包括缓冲器;所述缓冲器,用于检测数据状态从高速到低速的切换或从低速到高速的切换。
- 如权利要求5所述的MIPI D-PHY接收电路,其特征在于,所述缓冲器还用于:当检测到数据切换时,将切换数据信号发送至所述模式控制模块;在所述模式控制模块接收到所述切换数据信号后,将控制信号输入至所述数据切换检测电路模块中的差分信号缓冲器。
- 如权利要求2-6任一项所述的MIPI D-PHY接收电路,其特征在于,所述输出数据包括:字节时钟、出行同步、场同步、数据、数据有效标志、CSI2/DSI数据包头以及包头有效标志。
- 如权利要求2-7任一项所述的MIPI D-PHY接收电路,其特征在于,所述MIPI D-PHY接收电路还包括第一多选选择器,所述第一多选选择器设置于所述字对齐电路模块和所述通道对齐电路模块之间;所述第一多选选择器,用于确定是否使用字对齐的解串高速数据。
- 如权利要求2-8任一项所述的MIPI D-PHY接收电路,其特征在于,所述MIPI D-PHY接收电路还包括第二多选选择器,所述第二多选选择器设置于所述通道对齐电路模块和所述协议解析电路模块之间;所述第二多选选择器,用于确定是否使用通道对齐的解串高速数据。
- 如权利要求2-9任一项所述的MIPI D-PHY接收电路,其特征在于,所述协议解析电路模块根据用于对协议解析模式进行重构配置的配置指令,对所述协议解析模式进行设置。
- 如权利要求1-10任一项所述的MIPI D-PHY接收电路,其特征在于,所述接收时钟模块包括:时钟数据切换检测电路模块和数据分频电路模块;所述时钟数据切换检测电路模块在检测到接收的数据由高速数据切换 到低速数据,或由低速数据切换到高速数据时,向所述模式控制模块发送对应的数据切换信号;所述数据分频电路模块在接收到所述模式控制模块发送的高速数据接收模式或低速数据接收模式控制信号后,切换到对应的高速数据接收模式或低速数据接收模式。
- 如权利要求11所述的MIPI D-PHY接收电路,其特征在于,所述时钟数据切换检测电路模块和数据分频电路模块中均包括触发器;所述数据分频电路模块还包括分频电路模块,所述分频电路模块支持可配置的除4与除2模式。
- 如权利要求2所述的MIPI D-PHY接收电路,其特征在于,所述数据通道的数量为1-4,每条数据通道对应设置一个所述字对齐电路模块。
- 如权利要求13所述的MIPI D-PHY接收电路,其特征在于,所述每条数据通道用于根据用户配置进行重构。
- 一种MIPI D-PHY接收电路的重构方法,其特征在于,所述MIPI D-PHY接收电路的重构方法包括:接收数据模块获取用户配置的重构参数,根据所述重构参数从至少一条数据通道中确定目标数据通道;模式控制模块根据接收的数据类型,确定所述目标数据通道采用高速数据接收模式或低速数据接收模式;所述接收数据模块对接收的高速数据或低速数据进行处理,得到配置协议所需的输出数据,并输出所述输出数据。
- 如权利要求15所述的MIPI D-PHY接收电路的重构方法,其特征在于,所述重构参数包括:重构数据通道中的目标数据通道、重构目标数据通道中解串模块的解串比、重构接收时钟模块中分频电路的除4与除2模式以及重构协议解析电路模块中的配置协议模式,所述获取接收数据模块的重构参数包括:获取所述目标数据通道、所述解串比、所述分频电路的除4与除2模式以及所述配置协议模式。
- 如权利要求15-16任一项所述的MIPI D-PHY接收电路的重构方 法,其特征在于,所述根据模式控制模块接收的数据类型,确定所述目标数据通道采用高速数据接收模式或低速数据接收模式,包括:当接收数据为高速数据时,目标数据通道中的数据切换检测电路模块输出低电平信号给模式控制模块,所述模式控制模块向目标数据通道中的数据接收模式切换电路模块输出高电平控制信号,所述数据接收模式切换电路模块接收所述高电平控制信号将数据接收模式切换为高速数据接收模式;当接收数据为低速数据时,目标数据通道中的数据切换检测电路模块输出高电平信号给模式控制模块,所述模式控制模块向目标数据通道中的数据接收模式切换电路模块输出低电平控制信号,所述数据接收模式切换电路模块接收所述低电平控制信号将数据接收模式切换为低速数据接收模式。
- 如权利要求15-17任一项所述的MIPI D-PHY接收电路的重构方法,其特征在于,所述输出数据包括:字节时钟、出行同步、场同步、数据、数据有效标志、CSI2/DSI数据包头以及包头有效标志;所述接收数据模块对接收的高速数据或低速数据进行处理,得到配置协议所需的输出数据,并输出所述输出数据,包括:当处于高速数据接收模式时,将接收的高速数据进行同步处理,并将同步后的数据进行协议解析,再转换为低速并行数据;当处于低速数据接收模式时,将接收的低速数据进行协议解析,获得配置协议所需的输出数据,并将所述输出数据输出。
- 如权利要求15-18任一项所述的MIPI D-PHY接收电路的重构方法,其特征在于,所述接收数据模块包括:数据切换检测电路模块和数据接收模式切换电路模块;所述模式控制模块根据接收的数据类型,确定所述目标数据通道采用高速数据接收模式或低速数据接收模式,包括:所述数据切换检测电路模块在检测到接收的数据由高速数据切换到低速数据,或由低速数据切换到高速数据时,发送对应的数据切换信号至所述模式控制模块;所述数据接收模式切换电路模块在接收到所述模式控制模块发送的高速数据接收模式或低速数据接收模式控制信号后,切换到对应的高速数据接收模式或低速数据接收模式。
- 一种电子设备,包括权利要求1-14任一项所述的MIPI D-PHY接收电路。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020207031572A KR102427873B1 (ko) | 2019-05-29 | 2020-05-29 | 수신 회로, 수신 회로의 재구성 방법 및 전자 기기 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910459476.4A CN110347630B (zh) | 2019-05-29 | 2019-05-29 | 一种接收电路、接收电路可重构方法及状态机系统 |
CN201910459476.4 | 2019-05-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020239102A1 true WO2020239102A1 (zh) | 2020-12-03 |
Family
ID=68174453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/093449 WO2020239102A1 (zh) | 2019-05-29 | 2020-05-29 | 一种接收电路、接收电路的重构方法及电子设备 |
Country Status (3)
Country | Link |
---|---|
KR (1) | KR102427873B1 (zh) |
CN (1) | CN110347630B (zh) |
WO (1) | WO2020239102A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347630B (zh) * | 2019-05-29 | 2021-05-11 | 深圳市紫光同创电子有限公司 | 一种接收电路、接收电路可重构方法及状态机系统 |
CN112788327B (zh) * | 2019-11-08 | 2024-03-08 | 京元电子股份有限公司 | 影像测试系统及其测试组件 |
KR20210079642A (ko) | 2019-12-20 | 2021-06-30 | 에스케이하이닉스 주식회사 | 수신 장치, 이를 포함하는 반도체 장치 및 반도체 시스템 |
WO2023159415A1 (en) * | 2022-02-24 | 2023-08-31 | Qualcomm Incorporated | Adaptive low-power signaling to enable link signal error recovery without increased link clock rates |
CN114817114B (zh) * | 2022-05-13 | 2023-08-15 | 广芯微电子(苏州)有限公司 | 一种mipi接口、及其控制方法、装置及介质 |
CN116684722B (zh) * | 2023-07-27 | 2023-10-20 | 武汉精立电子技术有限公司 | Mipi c-phy信号接收装置、方法及摄像头模组测试系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105573952A (zh) * | 2015-12-31 | 2016-05-11 | 西安中颖电子有限公司 | 一种多通道数据传输的系统 |
WO2017177362A1 (zh) * | 2016-04-11 | 2017-10-19 | 武汉芯泰科技有限公司 | 一种无线可配置闪存 |
CN108073539A (zh) * | 2017-12-27 | 2018-05-25 | 上海集成电路研发中心有限公司 | 一种mipi接口的d-phy电路 |
CN110347630A (zh) * | 2019-05-29 | 2019-10-18 | 深圳市紫光同创电子有限公司 | 一种接收电路、接收电路可重构方法及状态机系统 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9755818B2 (en) * | 2013-10-03 | 2017-09-05 | Qualcomm Incorporated | Method to enhance MIPI D-PHY link rate with minimal PHY changes and no protocol changes |
US9606954B2 (en) * | 2014-01-10 | 2017-03-28 | Lattice Semiconductor Corporation | Communicating with MIPI-compliant devices using non-MIPI interfaces |
JP2015177364A (ja) * | 2014-03-14 | 2015-10-05 | シナプティクス・ディスプレイ・デバイス合同会社 | レシーバ回路、表示パネルドライバ、表示装置及びレシーバ回路の動作方法 |
CN104795039B (zh) * | 2015-04-30 | 2017-03-22 | 武汉精测电子技术股份有限公司 | 基于fpga实现mipi信号传输调整的方法和装置 |
CN108011694B (zh) * | 2017-11-29 | 2018-11-20 | 北京航空航天大学 | 一种基于fc的高效数据交换方法 |
CN108280039B (zh) * | 2018-02-13 | 2021-02-26 | 龙迅半导体(合肥)股份有限公司 | 一种MIPI C-Phy RX端的输入信号解码电路 |
CN109639457B (zh) * | 2018-11-16 | 2021-08-13 | 北京时代民芯科技有限公司 | 一种jesd204b协议高速发送器单粒子错误率的测试系统及方法 |
CN109582619B (zh) * | 2018-12-04 | 2023-08-18 | 中国航空工业集团公司西安航空计算技术研究所 | 一种高速串行总线与低速串行总线数据传输和转换方法 |
CN109450610B (zh) * | 2018-12-26 | 2020-04-07 | 成都九芯微科技有限公司 | 一种通道相位对齐电路及方法 |
-
2019
- 2019-05-29 CN CN201910459476.4A patent/CN110347630B/zh active Active
-
2020
- 2020-05-29 KR KR1020207031572A patent/KR102427873B1/ko active IP Right Grant
- 2020-05-29 WO PCT/CN2020/093449 patent/WO2020239102A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105573952A (zh) * | 2015-12-31 | 2016-05-11 | 西安中颖电子有限公司 | 一种多通道数据传输的系统 |
WO2017177362A1 (zh) * | 2016-04-11 | 2017-10-19 | 武汉芯泰科技有限公司 | 一种无线可配置闪存 |
CN108073539A (zh) * | 2017-12-27 | 2018-05-25 | 上海集成电路研发中心有限公司 | 一种mipi接口的d-phy电路 |
CN110347630A (zh) * | 2019-05-29 | 2019-10-18 | 深圳市紫光同创电子有限公司 | 一种接收电路、接收电路可重构方法及状态机系统 |
Non-Patent Citations (2)
Title |
---|
WU, JINXING: "Design and Research of MIPI High Speed Interface Circuit for TFT-LCD Driver Chip", CHINESE MASTER’S THESES FULL-TEXT DATABASE, INFORMATION SCIENCE AND TECHNOLOGY, no. 2, 15 February 2019 (2019-02-15), ISSN: 1674-0246, DOI: 20200714125711X * |
WU, JINXING: "Design and Research of MIPI High Speed Interface Circuit for TFT-LCD Driver Chip", CHINESE MASTER’S THESES FULL-TEXT DATABASE, INFORMATION SCIENCE AND TECHNOLOGY, no. 2, 15 February 2019 (2019-02-15), ISSN: 1674-0246, DOI: 20200714125817A * |
Also Published As
Publication number | Publication date |
---|---|
KR20210002515A (ko) | 2021-01-08 |
CN110347630B (zh) | 2021-05-11 |
CN110347630A (zh) | 2019-10-18 |
KR102427873B1 (ko) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020239102A1 (zh) | 一种接收电路、接收电路的重构方法及电子设备 | |
US7761632B2 (en) | Serialization of data for communication with slave in multi-chip bus implementation | |
US7743186B2 (en) | Serialization of data for communication with different-protocol slave in multi-chip bus implementation | |
EP1670199A1 (en) | Design of channel alignment, error handling, and clock routing using hard-wired blocks for data transmission within programmable logic integrated circuits | |
CN110334044B (zh) | 一种mipi dphy发送电路及设备 | |
EP2856692A1 (en) | Data interface synchronization | |
CN108683536B (zh) | 异步片上网络的可配置双模式融合通信方法及其接口 | |
US20080084862A1 (en) | Apparatus and method for data processing having an on-chip or off-chip interconnect between two or more devices | |
JP5096024B2 (ja) | Usbコントローラ及びusbコントローラ試験方法 | |
CN110581963B (zh) | 一种v-by-one信号转换方法、装置及电子设备 | |
JP7157895B1 (ja) | C-phyハーフレートワイヤ状態のエンコーダおよびデコーダ | |
CN107992439B (zh) | 一种可扩展的数据交互方法及系统 | |
EP2174232B1 (en) | Interface for multiple modems | |
US20090167573A1 (en) | Data transmission circuits and data transceiver systems | |
CN115733549B (zh) | Pcie网卡及其接口模式的切换方法、电子设备及存储介质 | |
CN109815181B (zh) | 一种基于axi协议接口的任意位宽转换方法及装置 | |
WO2022188658A1 (zh) | Usb接口的复用方法、电路、电子设备和存储介质 | |
US9106575B2 (en) | Multiplexing multiple serial interfaces | |
CN110971342B (zh) | Mipi信号编码方法、装置、移动设备、及系统 | |
EP3298502A1 (en) | Serial bus embedded side band communications | |
CN209842606U (zh) | 一种支持与多个从设备快速通讯的spi主设备 | |
JP3206567B2 (ja) | マイクロコンピュータ | |
CN111181690A (zh) | 一种多信道通信及接口动态切换方法 | |
Cao et al. | Working principle and application analysis of UART | |
EP4332784A1 (en) | Semiconductor device and communication method in the semiconductor device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20815481 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20815481 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20815481 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/05/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20815481 Country of ref document: EP Kind code of ref document: A1 |