Synchronous serial communication device and method
Through the serial synchronous communication device, the shared clock and data signal of the MIPI main control chip and the RF front-end interface die are solved, and the problem of excessive traces of data transmission between grains in the RF front-end interface chip is achieved efficient logic Saving circuit area and improving communication efficiency.
Patent Information
- Application Number
- PCT/CN2024/095038
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-23
- Filing Date
- 2024-05-23
- Publication Date
- 2024-11-28
AI Technical Summary
In the case of high chip integration and complex MIPI protocols, in the RF front-end interface chip, the data signal transmission between the dies requires a large amount of traces, resulting in an increase in area and power consumption, and traditional GPIO interfaces lead to excessive traces.
Using a serial synchronous communication device, the command is sent through the MIPI main control chip, the MIPI interface module recodes the clock and data signals, and shares it in parallel between the RF front-end interface dies, and controls it using the serial clock signal control circuit and serial data signal. The circuit performs signal transmission to realize the decoding and transmission of data information.
At the same scale, compared with the traditional MIPI interface circuit, 75% of the logic circuit area is saved. The MIPI interface information takes effect synchronously at the end of the frame, improving communication efficiency and avoiding additional information transmission time.
Smart Images

Figure CN2024095038_28112024_PF_FP_ABST
Abstract
Description
Serial synchronous communication device and method thereof Technical Field
[0001] The present invention relates to a serial synchronous communication device and also to a corresponding serial synchronous communication method, belonging to the technical field of data communication. Background Art
[0002] At present, the chip integration of RF Front End Interface (RF FE) is getting higher and higher, and the Mobile Industry Processor Interface (MIPI) protocol commonly used in RF front-end interface chips is becoming more and more complex. At the same time, during the chip design stage, for the sake of layout and wiring or die (die, that is, the small pieces into which the wafer is cut, on which a given functional circuit is manufactured) reuse, the functional circuits may be distributed on different dies. If each die has a separate functional circuit, the area and power consumption of the die will be too large. If the signals between the die are all transmitted through the general-purpose input / output (GPIO) interface, the number of traces will be too large. Therefore, a new data communication solution is needed that can transmit the data signals received by the die with the functional circuit to the corresponding functional circuits on other die with as few traces as possible.
[0003] Summary of the Invention
[0004] The primary technical problem to be solved by the present invention is to provide a simplified serial synchronous communication device.
[0005] Another technical problem to be solved by the present invention is to provide a corresponding serial synchronous communication method.
[0006] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:
[0007] According to a first aspect of an embodiment of the present invention, a serial synchronous communication device is provided, comprising a MIPI master control chip, a MIPI interface module, and at least one RF front-end interface die; wherein,
[0008] The MIPI master control chip sends a MIPI instruction to the MIPI interface module;
[0009] The MIPI interface module receives the MIPI instruction and sends the re-encoded clock signal and data signal to the RF front-end interface chip;
[0010] The RF front-end interface chip receives the clock signal and the data signal, and sends the decoded data information to the subsequent module through the IO port.
[0011] Preferably, when the number of the RF front-end interface chips is not less than two, the RF front-end interface chips are connected in parallel to share the clock signal and the data signal.
[0012] Preferably, the MIPI interface module is located in a separately set RF front-end interface crystal, which includes a slave module and a re-encoding output module connected through an internal bus; the re-encoding output module internally includes a serial clock signal control circuit and a serial data signal control circuit.
[0013] Alternatively, the re-encoding output module is located in a separately provided radio frequency front-end interface die, which internally includes a serial clock signal control circuit and a serial data signal control circuit.
[0014] Preferably, the MIPI instruction includes a serial clock signal and a serial data signal;
[0015] The re-encoding output module re-encodes the serial clock signal through the logic circuit in the slave module, samples and filters the serial data signal, and outputs the data signal after re-encoding.
[0016] Preferably, the RF front-end interface crystal chip includes a serial communication decoding module and an internal register connected through an internal bus; wherein, the RF front-end interface crystal chip uses the edge of the clock signal to sample and decode the data signal, and then sends the decoded data information to the subsequent module through the IO port of the internal register.
[0017] Preferably, the serial communication decoding module switches between an address frame receiving state and a data frame receiving state.
[0018] According to a second aspect of an embodiment of the present invention, a serial synchronous communication method is provided, which is implemented based on the above-mentioned serial synchronous communication device and includes the following steps:
[0019] S1: The MIPI master chip generates MIPI instructions and sends them to the MIPI interface module;
[0020] S2: The MIPI interface module filters the MIPI instructions in real time and re-encodes the filtered information;
[0021] S3: Send the re-encoded information to all RF front-end interface chips;
[0022] S4: Each RF front-end interface chip decodes the re-encoded information and sends the decoded data information to the subsequent module through the IO port.
[0023] Preferably, the re-encoded data format is: X command bits+Y address bits+address parity bit+n*(Z data bits+data parity bit), wherein X, Y, Z, and n are all positive integers.
[0024] Preferably, the MIPI instruction includes a serial clock signal and a serial data signal; the real-time screening is to retain the register address, register data, and check bit data in the serial clock signal and the serial data signal, and remove other information.
[0025] Preferably, the re-encoding is to unify and integrate different MIPI frames, compress register addresses and register data, and complete parity bit verification to simplify the logical operation process of the RF front-end interface chip responsible for decoding.
[0026] Preferably, in step S4, the RF front-end interface chip synchronously extracts the register address and register data in the MIPI frame, and outputs them to other parallel RF front-end interface chips using the clock signal line and the data signal line after re-encoding.
[0027] Preferably, a sequence start condition signal is used as the MIPI instruction, the data signal is output at both the rising and falling edges of the clock signal, and a predetermined data signal value combination is used as a state switching or enabling flag.
[0028] Compared to existing technologies, this invention proposes a serial synchronous communication solution that uses recoding technology to effectively extract and convert MIPI interface information. At the same scale, using this serial synchronous communication solution to implement internal data communication on the die can save 75% of the area compared to using traditional MIPI interface circuits. Furthermore, MIPI interface information takes effect synchronously at the end of the MIPI frame, eliminating the need for additional information transfer time and improving the efficiency of serial synchronous communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] FIG1 is a schematic structural diagram of a serial synchronous communication device provided by a first embodiment of the present invention;
[0030] FIG2 is a circuit diagram of a MIPI interface module in an embodiment of the present invention;
[0031] FIG3 is a circuit diagram of a radio frequency front-end interface chip according to an embodiment of the present invention;
[0032] FIG4 is a flow chart of a serial synchronous communication method provided by a second embodiment of the present invention;
[0033] FIG5 is a flowchart of the work flow of the re-encoding output module in the MIPI interface module according to an embodiment of the present invention;
[0034] FIG6 is a flowchart of the serial communication decoding module in the RF front-end interface die according to an embodiment of the present invention;
[0035] FIG7 is a serial communication timing diagram of a conventional MIPI interface circuit in the prior art;
[0036] FIG8 is a simplified serial synchronous communication timing diagram in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The technical content of the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0038] First embodiment
[0039] The first embodiment of the present invention provides a serial synchronous communication device for solving the problem of data information transmission between different dies within a radio frequency front-end interface chip. As shown in Figure 1, the serial synchronous communication device includes a MIPI master control chip, a MIPI interface module 100, and at least one radio frequency front-end interface die 101. The MIPI master control chip sends a serial clock signal (abbreviated as SCLK) and a serial data signal (abbreviated as SDATA) as MIPI instructions to the MIPI interface module 100, and receives the serial data signal sent by the MIPI interface module 100. The MIPI interface module 100 receives the serial clock signal and serial data signal sent by the MIPI master control chip, and sends the re-encoded clock signal (abbreviated as CLK) and data signal (abbreviated as DATA) to the radio frequency front-end interface die 101 connected thereto. Each radio frequency front-end interface die 101 receives the clock signal and data signal sent by the MIPI interface module 100, and sends the decoded data information to the subsequent module through the IO port.
[0040] It should be noted that in the serial synchronous communication device provided in the embodiment of the present invention, there can be one or more RF front-end interface chips 101. When there are multiple RF front-end interface chips 101 (not less than two), each RF front-end interface chip 101 is connected in parallel and shares the clock signal and data signal sent by the MIPI interface module 100.
[0041] As shown in FIG2 , in the first embodiment of the present invention, the MIPI interface module 100 is located in a separately set RF front-end interface crystal, which includes a slave module and a re-encoding output module for implementing the MIPI interface. In addition, the re-encoding output module can be directly located in a separately set RF front-end interface crystal. Inside the re-encoding output module, a serial clock signal control circuit and a serial data signal control circuit are further included. The serial clock signal control circuit in the MIPI interface module 100 samples and processes the serial data signal and then outputs the data signal. Specifically, when the MIPI interface module 100 does not receive a MIPI frame, the output data signal is set to a low level, and when the first four bits of the MIPI frame are received, the SSC (Sequence Start Condition) signal is output, followed by outputting 8 bits of cmd & address data and 1 bit of address parity bit (low level is valid), and then outputting n*8 bits of data data and n*1 bit of data parity bit (high level is valid). Wherein, n is a positive integer in the range of 1 to 16, and the specific value is determined by the MIPI frame itself.
[0042] In one embodiment of the present invention, the Slave module in the MIPI interface module 100 receives the serial clock signal and serial data signal sent by the MIPI master chip, and is connected to the recoding output module through an internal bus. The serial clock signal control circuit inside the recoding output module receives the serial clock signal sent by the MIPI master chip and sends a processed clock signal. The serial data signal control circuit receives the serial data signal sent by the MIPI master chip and sends a processed data signal. Here, the recoding output module re-encodes the serial clock signal by borrowing the logic circuit in the Slave module inside the MIPI interface module 100, samples and filters the serial data signal, and outputs the required data signal after re-encoding. The logic circuit pulls down or up the serial clock signal as needed to ensure that the RF front-end interface crystal grain 101 receives the edge trigger of the clock signal only when it is necessary to sample the serial data signal. This will be further explained in detail later.
[0043] As shown in Figure 3, in the first embodiment of the present invention, a given functional circuit is manufactured on the RF front-end interface die 101, specifically a serial communication decoding module and an internal register. The serial communication decoding module is connected to the internal register via an internal bus. The main function of the RF front-end interface die 101 is to receive the clock signal and data signal output by the MIPI interface module 100, sample and decode the data signal using the edge of the clock signal, and then send the decoded data information to the subsequent module through the IO port of the internal register. The internal register also sends register data through the IO port.
[0044] In one embodiment of the present invention, the serial communication decoding module has two receiving states: an address frame (Address_Frame) receiving state and a data frame (Data_Frame) receiving state. Among them, the RF front-end interface chip 101 will enter the address frame receiving state after receiving the MIPI instruction, and receive the register address information in the address frame receiving state. If the first bit received after reset is high or the ninth bit (Address parity) received is low, the address frame receiving state is entered into the data frame receiving state. The RF front-end interface chip 101 receives register data in the data frame receiving state. The register address information stored in the serial communication decoding module is updated when the check bit of the address frame is correct, and increases by 1 every nine bits after entering the data frame receiving state. If the data frame check bit is correct, the register data corresponding to the register address stored at this time is updated.
[0045] Second embodiment
[0046] The specific working process of the above serial synchronous communication device will be described in detail below in conjunction with the serial synchronous communication method provided in the second embodiment.
[0047] As shown in FIG4 , the second embodiment of the present invention provides a serial synchronous communication method, which includes at least the following steps:
[0048] S1: The MIPI master control chip generates a MIPI instruction and sends it to the MIPI interface module 100.
[0049] In one embodiment of the present invention, all MIPI frames start with a MIPI command, which is a combination of a specific serial clock signal and a serial data signal, wherein the serial clock signal remains at a low level and a high level pulse appears on the serial data signal.
[0050] S2: The MIPI interface module 100 filters the MIPI instructions in real time and re-encodes the filtered information.
[0051] Real-time filtering preserves the register addresses, register data, and parity bits in the serial clock and data signals while removing other information. Re-encoding unifies and integrates different MIPI frames, compresses register addresses and register data, and performs parity bit verification, thereby simplifying the logical operations of the RF front-end interface chip 101 responsible for decoding.
[0052] S3: Send the re-encoded information to all RF front-end interface chips 101 .
[0053] S4: Each RF front-end interface chip 101 decodes the re-encoded information and sends the decoded data information to the subsequent module through the IO port.
[0054] In one embodiment of the present invention, the RF front-end interface die 101 synchronously extracts information such as register addresses and register data from the MIPI frame, re-encodes it, and outputs it to other RF front-end interface die 101. During this process, only two signal lines, the clock signal and the data signal, are used between the parallel RF front-end interface die 101.
[0055] As shown in FIG5 , in one embodiment of the present invention, step S2 specifically further includes:
[0056] S21: When the slave module in the MIPI interface module receives a MIPI command, it generates a frame reset signal to reset the state of the re-encoding output module. The re-encoding output module resets its own state, sets the clock signal and data signal to low level, and determines whether the MIPI command is the MIPI command Reg0_Write.
[0057] If yes, then add the mask information and output the register data to go to step S26; if no, then go to step S22.
[0058] The value of the first command bit of the MIPI instruction Reg0_Write is set to 1, and the value of the first command bit of other commands is set to 0, which is used to distinguish Reg0_Write from other commands.
[0059] The MIPI command Reg0_Write is described as follows: This command is standardized as 1 command bit + 7 data bits + 1 data parity bit. To distinguish it from other commands, the first command bit of Reg0_Write is 1, while other commands are 0. If the first bit received after reset is high, the serial communication decoding module interprets the received command as Reg0_Write. If the ninth bit received is high, the lower 7 bits of the register are updated.
[0060] S22: The re-encoding output module adjusts the data signal to a high level at the falling edge of the second serial clock signal, adjusts the data signal to a low level at the falling edge of the third serial clock signal, and outputs the MIPI instruction to the RF front-end interface chip.
[0061] During the execution of step S22, the clock signal is always at a low level.
[0062] S23: The re-encoding output module starts outputting the clock signal from the falling edge of the fourth serial clock signal, and determines whether the next information is a register address or register data based on the received information at the rising edge of the seventh serial clock signal.
[0063] If not, the clock signal is adjusted to a high level until the third bit of the register address is received and then the clock signal is output; if so, step S24 is entered.
[0064] S24: Compress register address information and output it.
[0065] In one embodiment of the present invention, the re-encoding output module will simultaneously compress the received information when receiving the register address. Because the scale of the subsequent RF front-end interface chip 101 is usually not too large, the re-encoding output module can shield unnecessary register addresses and compress the 8-bit register address information to within 6 bits.
[0066] S25: When receiving register data, the re-encoding output module determines whether it needs to output a clock signal based on the current register address.
[0067] If necessary, the re-encoding output module samples the serial data signal on the falling edge of the serial clock signal and outputs the data signal. When the MIPI instruction is Mask_Write, the output value of the data signal is the value after adding the mask information and completing the mask operation. When outputting the Tirg value, the output value of the data signal is the value after completing the Trig_Mask operation.
[0068] In one embodiment of the present invention, mask information is added and the register data is output, proceeding to step S26. If mask information is not required, the clock signal is set to a high level, proceeding to step S26. The output level of the data signal is set based on the parity bit information of the register address. If the parity bit of the register address is correct, the output level of the data signal is set to a low level; if the parity bit of the register address is incorrect, the output level of the data signal is set to a high level.
[0069] S26: Determine whether the command is completed.
[0070] If yes, the re-encoded information is obtained and the next command is awaited; if no, steps S25 to S26 are repeated.
[0071] In one embodiment of the present invention, the re-encoding output module will normalize MIPI instructions of different types and lengths into a format of 2 command bits (command bits) + 6 address bits (address bits) + 1 address parity bit (address parity bit) + n*(8 data bits (data bits) + 1 data parity bit (data parity bit)), and re-encode and transmit it to the subsequent RF front-end interface chip 101. Wherein, n is a positive integer, and the specific value is determined by the MIPI frame itself. It should be noted that the normalized format is not limited to the above embodiment, and can also be other similar formats, such as 4 command bits + 4 address bits + 1 address parity bit + n*(16 data bits + 1 data parity bit), etc., and the present invention is not limited to this.
[0072] Compared with the prior art, the present invention uniformly recodes MIPI frames of different types and lengths into the format of: X command bits + Y address bits + address parity bits + n*(Z data bits + data parity bits) through a recoding output module. This allows the RF front-end interface chip to support the MIPI interface protocol using only clock signal lines and data signal lines without increasing data transmission time. This eliminates the need to add a crystal oscillator circuit and greatly reduces the logic circuit area required on the RF front-end interface die. Furthermore, the MIPI interface information takes effect synchronously at the end of the MIPI frame, eliminating the need for additional information transmission time. The signal lines for transmitting information here include, but are not limited to, conventional signal lines such as address lines and enable lines, which are not limited by the present invention.
[0073] As shown in FIG6 , in another embodiment of the present invention, step S4 further includes:
[0074] S41: After receiving the MIPI instruction, the serial communication decoding module generates a frame reset signal to reset its internal register.
[0075] S42: The serial communication decoding module samples the data signal using the rising edge of the clock signal.
[0076] S43: The serial communication decoding module determines the level value of the first bit received after reset.
[0077] If the level value is high, the MIPI instruction Reg0_Write takes effect and the process goes to step S44; if the level value is low, the check bit level value of the register address is determined.
[0078] If the check bit level value is high, repeat S41 to S43; if the check bit level value is low, go to step S44.
[0079] S44: Update the register address information, enter the data frame, and determine the parity bit level value of the data frame.
[0080] If the check bit level value is high, the corresponding register is updated and the process goes to step S45; if the check bit level value is low, the process goes directly to step S45.
[0081] S45: Determine whether a MIPI instruction is received.
[0082] If yes, repeat steps S41 to S45; if no, repeat steps S44 to S45.
[0083] In one embodiment of the present invention, a sequence start condition (abbreviated as SSC) signal can be used as the MIPI instruction, so that the data signal is output on both the rising edge and the falling edge of the clock signal, and a predetermined data signal value combination is used as a state switching or enabling flag, etc. The present invention is not limited to this.
[0084] FIG7 is a serial communication timing diagram of a traditional MIPI interface circuit in the prior art; FIG8 is a simplified serial synchronous communication timing diagram in an embodiment of the present invention. From the comparison of FIG7 and FIG8, it can be seen that the present invention proposes a serial synchronous communication scheme that uses recoding technology to effectively extract and convert MIPI interface information. Experiments have confirmed that: at the same scale, compared with using traditional MIPI interface circuits, the use of this serial synchronous communication scheme to implement internal data communication on the chip can save 75% of the area, and the MIPI interface information will take effect synchronously at the end of the MIPI frame, without the need for additional information transmission time, thereby improving the working efficiency of serial synchronous communication.
[0085] It should be noted that the various technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0086] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.
[0087] The serial synchronous communication device and method provided by the present invention are described in detail above. For those skilled in the art, any obvious changes made to the present invention without departing from the essence of the present invention will constitute an infringement of the patent rights of the present invention and will result in corresponding legal liability.
Claims
1. A serial synchronous communication device, characterized in that It includes a MIPI main control chip, a MIPI interface module and at least one RF front-end interface crystal; wherein, The MIPI master control chip sends a MIPI instruction to the MIPI interface module; The MIPI interface module receives the MIPI instruction and sends the re-encoded clock signal and data signal to the RF front-end interface chip; The RF front-end interface chip receives the clock signal and the data signal, and sends the decoded data information to the subsequent module through the IO port.
2. The serial synchronous communication device according to claim 1, wherein: When the number of the RF front-end interface crystal chips is not less than two, the RF front-end interface crystal chips are connected in parallel to share the clock signal and the data signal.
3. The serial synchronous communication device according to claim 1, wherein: The MIPI interface module is located in a separately arranged RF front-end interface crystal grain, which includes a slave module and a re-encoding output module connected via an internal bus; the re-encoding output module internally includes a serial clock signal control circuit and a serial data signal control circuit.
4. The serial synchronous communication device according to claim 3, wherein: The re-encoding output module is located in a separately arranged radio frequency front-end interface crystal grain, and internally includes a serial clock signal control circuit and a serial data signal control circuit.
5. The serial synchronous communication device according to claim 3 or 4, characterized in that: The MIPI instruction includes a serial clock signal and a serial data signal; The re-encoding output module re-encodes the serial clock signal through the logic circuit in the slave module, samples and screens the serial data signal, and outputs the data signal after re-encoding.
6. The serial synchronous communication device according to claim 1, wherein: The RF front-end interface crystal grain includes a serial communication decoding module and an internal register connected through an internal bus; wherein, the RF front-end interface crystal grain uses the edge of the clock signal to sample and decode the data signal, and then sends the decoded data information to the subsequent module through the IO port of the internal register.
7. The serial synchronous communication device according to claim 6, wherein: The serial communication decoding module switches between an address frame receiving state and a data frame receiving state.
8. A serial synchronous communication method, implemented based on the serial synchronous communication device according to any one of claims 1 to 7, characterized in that The steps include: S1: The MIPI master chip generates MIPI instructions and sends them to the MIPI interface module; S2: the MIPI interface module screens the MIPI instructions in real time and re-encodes the screened information; S3: Send the re-encoded information to all RF front-end interface chips; S4: Each RF front-end interface chip decodes the re-encoded information and sends the decoded data information to the subsequent module through the IO port.
9. The serial synchronous communication method according to claim 8, wherein: The re-encoded data format is: X command bits+Y address bits+address parity check bits+n*(Z data bits+data parity check bits), wherein X, Y, Z, and n are all positive integers.
10. The serial synchronous communication method according to claim 9, wherein: The data format is: 2 command bits + 6 address bits + 1 address parity bit) + n*(8 data bits + 1 data parity bit).
11. The serial synchronous communication method according to claim 8, wherein: The MIPI instruction includes a serial clock signal and a serial data signal; the real-time screening is to retain the register address, register data, and check bit data in the serial clock signal and the serial data signal, and eliminate other information.
12. The serial synchronous communication method according to claim 8, wherein: The re-encoding is to unify and integrate different MIPI frames, compress register addresses and register data, and complete parity bit verification to simplify the logical operation process of the RF front-end interface chip responsible for decoding.
13. The serial synchronous communication method according to claim 11 or 12, characterized in that: In step S4, the RF front-end interface crystal grain synchronously extracts the register address and register data in the MIPI frame, and outputs them to other parallel RF front-end interface crystal grains using the clock signal line and the data signal line after re-encoding.
14. The serial synchronous communication method according to claim 8, wherein: A sequence start condition signal is used as the MIPI instruction, the data signal is output at both the rising edge and the falling edge of the clock signal, and a predetermined data signal value combination is used as a state switching or enabling mark.
Citation Information
Patent Citations
MIPI (Mobile Industry Processor Interface) RAW10 data reorganization coding and reading structure and method
CN106055512A
Serial communication device and serial communication method
CN109032980A
Radio frequency front-end chip, serial communication method, equipment and storage medium
CN116015333A
Serial synchronous communication device and method thereof
CN116860684A
Device with improved serial communication
US20050135465A1
