Chip testing system and method
By using the receiving conversion chip and processor in the chip test system to directly connect to the chip under test to analyze and verify the MIPI CSI TX signal, it solves the problems of high test cost, long time and difficulty in the existing technology, and achieves a more efficient chip testing and faster delivery capabilities.
Patent Information
- Application Number
- CN202111679126.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-31
AI Technical Summary
The existing MIPI CSI TX signal test method requires conversion chips and FPGAs, resulting in high test costs, long time, and difficulty. It also requires programming knowledge, limiting the speed and efficiency of users.
Provides a chip testing system, including a receiving conversion chip and a processor. The receiving conversion chip extracts video image parameters through an analysis module and a verification module to calculate a cyclic redundancy check value. The processor compares actual and predefined parameters to obtain test results. Directly connect the chip under test, avoiding the use of conversion chips and FPGAs.
It reduces test costs and time, simplifies the debugging process, shortens the chip mass production cycle, improves user experience and error detection capabilities, and reduces the time and cost to get started.
Smart Images

Figure CN114325355B
Abstract
Description
Technical Field
[0001] The present application relates to the field of chip testing, and in particular to a chip testing system and method. Background Art
[0002] MIPI Alliance, namely Mobile Industry Processor Interface (MIPI) Alliance. MIPI is an open standard and specification initiated by MIPI Alliance for mobile application processors.
[0003] The MIPI Alliance has different working groups that define a series of mobile phone internal interface standards, such as the Camera Serial Interface (CSI), Display Serial Interface (DSI), and RF interface. The advantage of unified interface standards is that mobile phone manufacturers can flexibly choose different chips and modules from the market according to their needs, making it faster and more convenient to change designs and functions.
[0004] CSI defines a high-speed serial interface between the processor and the display module. The interface specifications are TX (transmitter, signal transmitter) and RX (receiver, signal receiver). Many SOC (System On Chip) manufacturers now add CSI TX as a camera interface on their embedded processors. Therefore, it is necessary to test CSITX interface chips before leaving the factory. It is necessary to intercept bad chips at an early stage to prevent bad chips from flowing into the hands of customers. This can improve the reputation of their own chips, save customers' rework costs, and shorten the mass production cycle of finished products.
[0005] The current test method mainly converts the MIPI CSI TX signal into an LVDS (Low-Voltage Differential Signaling) video signal through a conversion chip, and then uses an FPGA (Field Programmable Gate Array) to test whether the interface is correct. This test method has an additional signal conversion chip, which increases the test cost and test time, increases the difficulty and debugging time of hardware debugging, and requires the use of FPGA for testing. FPGA chips are expensive, and it is necessary to learn relevant programming knowledge and understand FPGA to complete relevant tests. Compared with the present invention, the existing test methods are slow to get started, difficult to debug, high cost, long test time, and long chip mass production cycle. Summary of the invention
[0006] In view of this, the purpose of this application is to provide a chip testing system and method, which can save testing costs and testing time, reduce testing difficulty, and improve the user experience.
[0007] To achieve the above purpose, this application has the following technical solutions:
[0008] In a first aspect, an embodiment of the present application provides a chip testing system, including: a receiving conversion chip and a processor;
[0009] The receiving conversion chip is connected to the processor; the receiving conversion chip is a serial camera interface signal receiving end interface chip of the mobile product processor interface standard;
[0010] The receiving conversion chip is used to connect the chip to be tested when testing the chip to be tested; the chip to be tested is a serial camera interface signal sending end interface chip of the mobile product processor interface standard;
[0011] The receiving conversion chip includes an analysis module and a verification module connected to each other;
[0012] The parsing module is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard to obtain video image data, extract the actual video image parameters of the chip to be tested, and transmit the actual video image parameters to the processor;
[0013] The verification module is used to calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data;
[0014] The processor is used to obtain predefined video image parameters and predefined cyclic redundancy check values of the chip to be tested, and compare the actual video image parameters and actual cyclic redundancy check values with the predefined video image parameters and predefined cyclic redundancy check values to obtain a test result.
[0015] In a possible implementation, the receiving conversion chip further includes:
[0016] The delay module connected to the analysis module is used to adjust the clock phase of the video image signal so that the video image signal matches the clock phase.
[0017] In a possible implementation, the receiving conversion chip further includes:
[0018] The initialization module is used to initialize the port physical layer, clock and digital module of the receiving conversion chip.
[0019] In a possible implementation, the receiving conversion chip further includes:
[0020] The test information printing module is used to print out the actual video image parameters and the actual cyclic redundancy check value.
[0021] In a possible implementation, the video image parameters include:
[0022] Video image timing.
[0023] In a second aspect, an embodiment of the present application provides a chip testing method, comprising:
[0024] According to the video image signal of the serial camera interface signal transmitter of the mobile product processor interface standard, the video image data is parsed and the actual video image parameters of the chip to be tested are extracted;
[0025] Calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data;
[0026] The actual video image parameters and the actual cyclic redundancy check value are sent to a processor so that the processor compares the actual video image parameters and the actual cyclic redundancy check value with the predefined video image parameters and the predefined cyclic redundancy check value to obtain a test result.
[0027] In a possible implementation, the method further includes:
[0028] The clock phase relationship of the video image signal is adjusted to make the video image signal match the clock phase.
[0029] In a possible implementation, the method further includes:
[0030] The port physical layer, clock and digital module of the receiving conversion chip are initialized according to the video image signal.
[0031] In a possible implementation, the method further includes:
[0032] The actual video image parameters and the actual cyclic redundancy check value are printed out.
[0033] In a possible implementation, the video image parameters include:
[0034] Video image timing.
[0035] The embodiment of the present application provides a chip testing system and method, including: a receiving conversion chip and a processor, the receiving conversion chip and the processor are connected, the receiving conversion chip is a serial camera interface signal receiving end interface chip of the mobile product processor interface standard, the receiving conversion chip is used to connect the chip to be tested when testing the chip to be tested, the chip to be tested is a serial camera interface signal sending end interface chip of the mobile product processor interface standard, the receiving conversion chip includes a parsing module and a verification module connected to each other, the parsing module is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard to obtain video image data, and extract the actual video image parameters of the chip to be tested, and transmit the actual video image parameters to the processor, the verification module is used to calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data, the processor is used to obtain the predefined video image parameters and predefined cyclic redundancy check values of the chip to be tested, and compare the actual video image parameters and the actual cyclic redundancy check values, and the predefined video image parameters and the predefined cyclic redundancy check values to obtain the test results. That is, while accurately obtaining the chip test results, there is no need to go through the conversion chip, saving the test cost and test time, shortening the chip mass production cycle, and being able to supply customers with greater efforts. Moreover, this application does not require the use of FPGA, which reduces the time to get started and saves costs. It utilizes the cyclic redundancy check function, has fast calculation speed and strong error detection capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 A schematic diagram of a chip testing system provided in an embodiment of the present application is shown;
[0038] Figure 2 A schematic diagram of another chip testing system provided in an embodiment of the present application is shown;
[0039] Figure 3 A flow chart of a chip testing method provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0040] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below with reference to the accompanying drawings.
[0041] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.
[0042] As described in the background technology, the MIPI Alliance, namely the Mobile Industry Processor Interface (MIPI) Alliance, is an open standard and specification initiated by the MIPI Alliance for mobile application processors.
[0043] The MIPI Alliance has different working groups that define a series of mobile phone internal interface standards, such as the Camera Serial Interface (CSI), Display Serial Interface (DSI), and RF interface. The advantage of unified interface standards is that mobile phone manufacturers can flexibly choose different chips and modules from the market according to their needs, making it faster and more convenient to change designs and functions.
[0044] CSI defines a high-speed serial interface between the processor and the display module. The interface specifications are TX (transmitter, signal transmitter) and RX (receiver, signal receiver). Many SOC (System On Chip) manufacturers now add CSI TX as a camera interface on their embedded processors. Therefore, it is necessary to test CSITX interface chips before leaving the factory. It is necessary to intercept bad chips at an early stage to prevent bad chips from flowing into the hands of customers. This can improve the reputation of their own chips, save customers' rework costs, and shorten the mass production cycle of finished products.
[0045] The current test method mainly converts the MIPI CSI TX signal into an LVDS (Low-Voltage Differential Signaling) video signal through a conversion chip, and then uses an FPGA (Field Programmable Gate Array) to test whether the interface is correct. This test method has an additional signal conversion chip, which increases the test cost and test time, increases the difficulty and debugging time of hardware debugging, and requires the use of FPGA for testing. FPGA chips are expensive, and it is necessary to learn relevant programming knowledge and understand FPGA to complete relevant tests. Compared with the present invention, the existing test methods are slow to get started, difficult to debug, high cost, long test time, and long chip mass production cycle.
[0046] In order to solve the above technical problems, an embodiment of the present application provides a chip testing system and method, including: a receiving conversion chip and a processor, the receiving conversion chip and the processor are connected, the receiving conversion chip is a serial camera interface signal receiving end interface chip of the mobile product processor interface standard, the receiving conversion chip is used to connect the chip to be tested when testing the chip to be tested, the chip to be tested is a serial camera interface signal sending end interface chip of the mobile product processor interface standard, the receiving conversion chip includes a parsing module and a verification module that are connected to each other, the parsing module is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard to obtain video image data, and extract the actual video image parameters of the chip to be tested, and transmit the actual video image parameters to the processor, the verification module is used to calculate the actual cyclic redundancy check value of the chip to be tested based on the video image data, the processor is used to obtain the predefined video image parameters and predefined cyclic redundancy check values of the chip to be tested, and compare the actual video image parameters and the actual cyclic redundancy check value, and the predefined video image parameters and the predefined cyclic redundancy check value to obtain the test result. That is, while accurately obtaining chip test results, there is no need to convert chips, saving test costs and test time, shortening the chip mass production cycle, and being able to supply customers with greater efforts. In addition, this application does not require the use of FPGA, reducing the time to get started, saving costs, and using the cyclic redundancy check function, with fast calculation speed and strong error detection capabilities.
[0047] In order to better understand the technical solution and technical effects of the present application, specific embodiments will be described in detail below with reference to the accompanying drawings.
[0048] Exemplary Systems
[0049] See also Figure 1 As shown, it is a schematic diagram of a chip testing system provided in an embodiment of the present application, including: a receiving conversion chip 1 and a processor 2.
[0050] The receiving conversion chip 1 is connected to the processor 2, and the receiving conversion chip 1 is a serial camera interface signal receiving end (MIPI CSI RX) interface chip of the mobile product processor interface standard.
[0051] The receiving conversion chip 1 is used to connect to the chip under test 3 when testing the chip under test 3. The chip under test 3 is a serial camera interface signal transmitting end (MIPI CSI TX) interface chip of the mobile product processor interface standard.
[0052] The receiving conversion chip 1 includes an analysis module 11 and a verification module 12 which are connected to each other.
[0053] The parsing module 11 is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard to obtain video image data, extract the actual video image parameters of the chip under test 3, and transmit the actual video image parameters to the processor 2.
[0054] The verification module 12 is used to calculate the actual cyclic redundancy check value of the chip to be tested 3 according to the video image data.
[0055] The processor 2 is used to obtain predefined video image parameters and predefined cyclic redundancy check values of the chip 3 to be tested, and compare the actual video image parameters and the actual cyclic redundancy check value with the predefined video image parameters and the predefined cyclic redundancy check value to obtain a test result.
[0056] In an embodiment of the present application, the chip to be tested 3 may include an enhanced extension chip (MIPIRepeater) for MIPI CSI / DSI signals, LVDS to MIPI, HDMI (High Definition Multimedia Interface) to MIPI, and other video signal conversion chips that can convert input signals into MIPI signals.
[0057] Specifically, the predefined video image parameters and the predefined cyclic redundancy check value of the chip to be tested 3 may be pre-stored in the receiving and converting chip 1 .
[0058] In the embodiment of the present application, specifically, the parsing module 11 can parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard, parse the signal data long packet and short packet as well as the format long packet, and convert the signal of the data channel into an 8-bit data stream, that is, parse and obtain the video image data.
[0059] Then, the data stream on the data line with the starting sequence is integrated, and the long frame and short frame data packets are extracted from the integrated data stream, and the video image related parameters are obtained from the long frame and short frame data packets, that is, the actual video image parameters of the chip under test are extracted. Specifically, the actual video image parameters of the chip under test may include the timing of the video image.
[0060] The verification module 12 can use an algorithm to calculate the actual cyclic redundancy check value (CRC) according to the video image data. The verification calculation speed using the CRC value is fast and the error detection capability is strong. The correctness and integrity of the chip signal transmission can be intuitively judged through the CRC value.
[0061] Specifically, the processor 2 provided in the embodiment of the present application may be a microprocessor, which may be connected to the receiving conversion chip 1 through an I2C (Inter-Integrated Circuit) interface through an I2C bus, obtain predefined video image parameters and predefined cyclic redundancy check values, and compare the actual video image parameters and the actual cyclic redundancy check values with the predefined video image parameters and the predefined cyclic redundancy check values to obtain a test result. If the comparison results are inconsistent, the test fails; if they are consistent, the test passes.
[0062] In one possible implementation, see Figure 2 As shown, the receiving conversion chip 1 also includes:
[0063] The delay module 13 connected to the analysis module 11 is used to adjust the clock phase of the video image signal so that the video image signal matches the clock phase.
[0064] In the embodiment of the present application, the delay module 13 adjusts the clock phase of the video image signal to ensure that the signal can be matched with the best phase relationship and correctly sampled by the clock. The circuit routing of different chips 3 under test may cause phase differences, which can be adjusted by the delay module 13.
[0065] In one possible implementation, see Figure 2 As shown, the receiving conversion chip 1 may further include:
[0066] The initialization module 14 is used to initialize the port physical layer, clock and digital module of the receiving conversion chip 1 to facilitate subsequent testing.
[0067] Specifically, in an embodiment of the present application, when testing, after the system is powered on normally, the receiving and converting chip 1 can receive the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard sent by the chip 3 under test, that is, the MIPI CSI TX signal, and initialize the port physical layer, clock and digital module of the receiving and converting chip 3.
[0068] In a possible implementation, the receiving conversion chip 1 may further include:
[0069] The test information printing module 15 is used to print out the actual video image parameters and the actual cyclic redundancy check value to facilitate comparison and retention, and to facilitate subsequent review and maintenance by subsequent staff.
[0070] The embodiment of the present application provides a chip testing system, including: a receiving conversion chip and a processor, the receiving conversion chip and the processor are connected, the receiving conversion chip is a serial camera interface signal receiving end interface chip of the mobile product processor interface standard, the receiving conversion chip is used to connect the chip to be tested when testing the chip to be tested, the chip to be tested is a serial camera interface signal sending end interface chip of the mobile product processor interface standard, the receiving conversion chip includes a parsing module and a verification module connected to each other, the parsing module is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard to obtain video image data, and extract the actual video image parameters of the chip to be tested, and transmit the actual video image parameters to the processor, the verification module is used to calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data, the processor is used to obtain the predefined video image parameters and predefined cyclic redundancy check values of the chip to be tested, and compare the actual video image parameters and the actual cyclic redundancy check values, and the predefined video image parameters and the predefined cyclic redundancy check values to obtain the test results. That is, while accurately obtaining the chip test results, there is no need to go through the conversion chip, saving the test cost and test time, shortening the chip mass production cycle, and being able to supply customers with greater efforts. Moreover, this application does not require the use of FPGA, which reduces the time to get started and saves costs. It utilizes the cyclic redundancy check function, has fast calculation speed and strong error detection capability.
[0071] Exemplary Methods
[0072] See also Figure 3 As shown, it is a flowchart of a chip testing method provided in an embodiment of the present application, including:
[0073] S301: parsing the video image signal of the serial camera interface signal transmitting end of the mobile product processor interface standard to obtain video image data, and extracting the actual video image parameters of the chip to be tested;
[0074] S302: Calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data;
[0075] S303: The actual video image parameters and the actual cyclic redundancy check value are transmitted to the processor, so that the processor compares the actual video image parameters and the actual cyclic redundancy check value with the predefined video image parameters and the predefined cyclic redundancy check value to obtain a test result.
[0076] In a possible implementation, the method further includes:
[0077] The clock phase of the video image signal is adjusted so that the video image signal matches the clock phase.
[0078] In a possible implementation, the method further includes:
[0079] Initialize the port physical layer, clock and digital module of the receiving conversion chip.
[0080] In a possible implementation, the method further includes:
[0081] The actual video image parameters and the actual cyclic redundancy check value are printed out.
[0082] In a possible implementation, the video image parameters include:
[0083] Video image timing.
[0084] The embodiment of the present application provides a chip testing method, and the system using the method includes: a receiving conversion chip and a processor, the receiving conversion chip and the processor are connected, the receiving conversion chip is a serial camera interface signal receiving end interface chip of the mobile product processor interface standard, the receiving conversion chip is used to connect the chip to be tested when testing the chip to be tested, the chip to be tested is a serial camera interface signal sending end interface chip of the mobile product processor interface standard, the receiving conversion chip includes a parsing module and a verification module connected to each other, the parsing module is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard to obtain video image data, and extract the actual video image parameters of the chip to be tested, and transmit the actual video image parameters to the processor, the verification module is used to calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data, the processor is used to obtain the predefined video image parameters and predefined cyclic redundancy check values of the chip to be tested, and compare the actual video image parameters and the actual cyclic redundancy check values, and the predefined video image parameters and the predefined cyclic redundancy check values to obtain the test results. That is, while accurately obtaining the chip test results, there is no need to go through the conversion chip, saving the test cost and test time, shortening the chip mass production cycle, and being able to supply customers with greater efforts. Moreover, this application does not require the use of FPGA, which reduces the time to get started and saves costs. It utilizes the cyclic redundancy check function, has fast calculation speed and strong error detection capability.
[0085] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method embodiment, since it is basically similar to the system embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0086] The above is only a preferred implementation of the present application. Although the present application has been disclosed as a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application.
Claims
1. A chip testing system, characterized in that: include: Receive conversion chips and processors; The receiving conversion chip is connected to the processor; the receiving conversion chip is a serial camera interface signal receiving end interface chip of the mobile product processor interface standard; the processor is a microprocessor, which is connected to the receiving conversion chip through an internal integrated circuit interface; The receiving conversion chip is used to connect the chip to be tested when testing the chip to be tested; the chip to be tested is a serial camera interface signal sending end interface chip of the mobile product processor interface standard; The receiving conversion chip includes an analysis module and a verification module connected to each other; The parsing module is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard to obtain video image data, extract the actual video image parameters of the chip to be tested, and transmit the actual video image parameters to the processor; The verification module is used to calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data; The processor is used to obtain the predefined video image parameters and the predefined cyclic redundancy check value of the chip to be tested, and compare the actual video image parameters and the actual cyclic redundancy check value with the predefined video image parameters and the predefined cyclic redundancy check value to obtain a test result; The video image parameters include video image timing; The parsing module is used to parse the video image signal of the serial camera interface signal sending end of the mobile product processor interface standard, parse the signal data long packet and short packet and format long packet, and convert the signal of the data channel into an 8-bit data stream to parse and obtain the video image data; The analysis module is used to integrate the data stream on the data line with the starting number sequence, extract the long frame and short frame data packets from the integrated data stream, and obtain the actual video image parameters from the long frame and short frame data packets.
2. The system according to claim 1, characterized in that The receiving conversion chip also includes: The delay module connected to the analysis module is used to adjust the clock phase of the video image signal so that the video image signal matches the clock phase.
3. The system according to claim 1, characterized in that The receiving conversion chip also includes: The initialization module is used to initialize the port physical layer, clock and digital module of the receiving conversion chip.
4. The system according to claim 1, characterized in that The receiving conversion chip also includes: The test information printing module is used to print out the actual video image parameters and the actual cyclic redundancy check value.
5. A chip testing method, characterized in that: Applied to receiving conversion chips, including: According to the video image signal of the serial camera interface signal transmitter of the mobile product processor interface standard, the video image data is parsed and the actual video image parameters of the chip to be tested are extracted; Calculate the actual cyclic redundancy check value of the chip to be tested according to the video image data; The actual video image parameter and the actual cyclic redundancy check value are transmitted to a processor, so that the processor compares the actual video image parameter and the actual cyclic redundancy check value with the predefined video image parameter and the predefined cyclic redundancy check value to obtain a test result, wherein the processor is a microprocessor connected to the receiving conversion chip through an internal integrated circuit interface; The video image parameters include: video image timing; The video image signal of the serial camera interface signal transmitting end of the mobile product processor interface standard is parsed, the signal data long packet and short packet and the format long packet are parsed, and the signal of the data channel is converted into an 8-bit data stream to parse and obtain the video image data; The data streams on the data lines with the starting number sequence are integrated, and the data packets of the long frame and the short frame are extracted from the integrated data streams, and the actual video image parameters are obtained from the data packets of the long frame and the short frame.
6. The method according to claim 5, characterized in that The method further comprises: The clock phase of the video image signal is adjusted so that the video image signal matches the clock phase.
7. The method according to claim 5, characterized in that The method further comprises: Initialize the port physical layer, clock and digital module of the receiving conversion chip.
8. The method according to claim 5, characterized in that The method further comprises: The actual video image parameters and the actual cyclic redundancy check value are printed out.
