CN102164301B - Method for mutually testing LCD (liquid crystal display) controller and video input controller - Google Patents

Method for mutually testing LCD (liquid crystal display) controller and video input controller Download PDF

Info

Publication number
CN102164301B
CN102164301B CN 201010608682 CN201010608682A CN102164301B CN 102164301 B CN102164301 B CN 102164301B CN 201010608682 CN201010608682 CN 201010608682 CN 201010608682 A CN201010608682 A CN 201010608682A CN 102164301 B CN102164301 B CN 102164301B
Authority
CN
China
Prior art keywords
data
controller
lcd controller
video input
lcd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201010608682
Other languages
Chinese (zh)
Other versions
CN102164301A (en
Inventor
刘梅英
周敏心
薛志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN 201010608682 priority Critical patent/CN102164301B/en
Publication of CN102164301A publication Critical patent/CN102164301A/en
Application granted granted Critical
Publication of CN102164301B publication Critical patent/CN102164301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention provides a method for mutually testing an LCD (liquid crystal display) controller and a video input controller, and the method comprises the following steps: testing a data line of the LCD controller in three ways; performing timeshare collection by virtue of the external hardware circuit of the LCD controller; performing VSYNC (vertical sync) inverse taking on an RGB (red, green, blue) time sequence of a horizontal synchronizing signal generated by the LCD controller; using the interface of the LCD controller as an output data interface; collecting the output data of the LCD controller by using the collection interface of the video input controller; and judging whether the data output by the LCD controller is consistent with the data collected by the video input controller, so as to finish the test. By using the method provided by the invention, all the related controller parts in a to-be-tested chip controller can be tested, all the pins related to the LCD controller and the video input controller can be tested, and the test flexibility is stronger.

Description

The mutual method of testing of a kind of lcd controller and video input controller
[technical field]
The present invention relates to SOC functional test field, relate in particular to the mutual method of testing of a kind of lcd controller and video input controller.
[background technology]
Lcd controller is responsible for the LCD graph data in the video memory is transferred on the lcd driver, and produces necessary LCD control signal, thereby controls and finish the demonstration of figure, the graphical display function of the series of complexes such as upset, stack, convergent-divergent.
Usually the lcd controller module comprises 24 (or 16,8) data wires (data), vertical synchronizing signal, horizontal-drive signal (HSYNC, VSYNC) and picture point clock cables (CLK); Video input controller (Video Input Processor) interface module has also comprised 8 data wire, row field sync signal line (HERF, VSYNC) and clock cable (CLK).
Lcd controller (LCD Control Interface), video input controller test generally comprise two parts: whether all one refer to the surely success of nation of corresponding pin, comprise data wire, clock line and synchronous signal line that module is used, wherein, data wire comprises the output of " 0 " and one state and the situation whether contiguous pin has lift-launch (namely two pins glue together the in other words conj.or perhaps interactional phenomenon of state), each holding wire then comprises, has or not dropout or asynchrony phenomenon; Two refer to that module can both arrange successfully and can finish corresponding logic control function at the control register of all working pattern, can be by the specific data of output under various patterns, whether the data by judging actual output and signal unanimously judge whether this mode controller is good with theoretic.Only have when above two parts FT(functional test or perhaps the final tests that just can think this this module of chip out of question all) test passes through.
Just present SOC(system level chip) the functional test field is to the test of lcd controller, and major part still rests on the test of simple pin package situation, is far from being enough at the complicated SOC that comprises in enormous quantities lcd controller.Along with LCD shows diversified requirement, the corresponding complexity of lcd controller is got up, internal applications to controller also get more and more, become increasingly complex, can not satisfy the test of lcd controller for the method for testing of the encapsulation of this only test pin, binding situation.
[summary of the invention]
The technical problem to be solved in the present invention is to provide the mutual method of testing of a kind of lcd controller and video input controller, has realized comprising in enormous quantities the SOC test of lcd controller.
The present invention is achieved in that the mutual method of testing of a kind of lcd controller and video input controller, it is characterized in that: the data wire of described lcd controller is divided into 3 the tunnel tests, external hardware circuit by lcd controller carries out acquisition time, the RGB sequential of the horizontal-drive signal VSYNC negate that first lcd controller is produced, and the interface of employing lcd controller is as the output data-interface, gather the output data of lcd controller by described video input controller acquisition interface, each road output data that lcd screen obtains in the process that gathers each road output data all are presented on the same screen, whether the data of more described lcd controller output are consistent with the data that described video input controller collects, thereby finish test.Described external hardware circuit by lcd controller carries out acquisition time: after namely selecting first the first via to carry out image data and data analysis, switch to the second the tunnel and carry out same image data and data analysis, at last Third Road is carried out same image data and data analysis.
The present invention has following advantage: 1, this method of testing can be tested all relevant controller parts of chip internal;
2, can test all relevant pins of lcd controller and video input controller;
3, the flexibility of test is strong, and the user can carry out the adjustment of software to the content of test according to the employed situation of self product, only uses rgb interface in using, and so only needs to survey this a kind of mode and gets final product; With respect to show image by lcd controller, use the video input controller to remove to gather a two field picture, go the method for testing of observing by naked eyes again, this method of testing is more objective, science and hommization.
[description of drawings]
Fig. 1 is that the present invention transmits whole screen schematic diagram data in the mode of row on the lcd controller data wire.
Fig. 2 is lcd controller of the present invention and video input controller test circuit theory diagrams.
Fig. 3 is the sequential of exporting after the horizontal-drive signal VSYNC negate in the RGB sequential of lcd controller of the present invention.
Fig. 4 is effective identical data in the sequential of Fig. 3 of the present invention output.
Fig. 5 is lcd controller of the present invention and video input controller data output mode combination schematic diagram.
[embodiment]
The mutual method of testing of a kind of lcd controller and video input controller, the data wire of described lcd controller is divided into 3 the tunnel to be tested, external hardware circuit by lcd controller carries out after acquisition time namely selects first the first via to carry out image data and data analysis, switch to the second the tunnel and carry out same image data and data analysis, at last Third Road is carried out same image data and data analysis, first lcd controller is produced the RGB sequential of horizontal-drive signal VSYNC negate, and the interface of employing lcd controller is as the output data-interface, gather the output data of lcd controller by described video input controller acquisition interface, each circuit-switched data that lcd screen obtains in the process that gathers each circuit-switched data all is presented on the same screen, whether the data of more described lcd controller output are consistent with the data that described video input controller collects, thereby finish test.
The invention will be further described below in conjunction with a specific embodiment.
By lcd controller sequential and video input controller timing as can be known, the horizontal-drive signal VSYNC negate in the RGB sequential of lcd controller, the sequential that obtains is just in full accord with the sequential of video input controller, therefore utilize this point, allow the RGB sequential of the frame synchronizing signal VSYNC negate that lcd controller produces, gather the output data of lcd controller by video input controller acquisition interface, relatively the data sent of lcd controller and the video input controller data of adopting just can verify whether lcd controller module and video input controller module be working properly, because wherein any one holding wire or data wire are made mistakes, can cause that all the data of adopting make mistakes.
What note in its test process is: the data wire of video input controller only has 8, and the data wire of lcd controller has 24 (or 16,8), the way that addresses this problem is that the data wire with lcd controller is divided into 3 batches, survey as one group for each 8, do acquisition time by the external hardware circuit, namely select first the first via, gathered, behind the compare OK, switch to the second the tunnel and carry out same collection and data analysis, Third Road also is the same by that analogy, the data that at every turn refresh on the screen in the process of image data are data on the same screen, so just can guarantee that the data of adopting for three times are one group of stable values.
The situation that whether can have short circuit or open circuit in order to test the lcd controller data wire in addition need to be given some special data at the lcd controller data wire, and these data can be found whether short circuit or open circuit of data wire.The data that can select to send are { 0xFFFFFF, 0x000000,0xAAAAAA, 0x555555,0x5A5A5A, 0xA5A5A5,0x999999,0x666666}.These data are not to send with delegation, and whole screen is divided into 8, and every a slice is sent respectively one group of data wherein, as shown in Figure 1, why send like this, be for software process simple, and can not affect again the checking of data wire.
What Fig. 2 described is the schematic diagram that lcd controller (LCD Control) and video input controller are tested mutually, and wherein, the left side is lcd controller, and the right is the video input controller; The lcd controller data bit of 24bit is divided into the data of 3 groups of 8bit after by variable connector, link to each other with the 8bit data wire of video input controller respectively, LCDC_CLK, HSYNC, VSYNC link to each other with VIP_CLK, Href, the VSYNC of video input controller respectively, and the video input controller adopts the method for time-sharing operation to go to gather the lcd controller data of 3 groups of 8bit;
After reverse through VSYNC, lcd controller will be sent sequential as shown in Figure 3:
When as shown in Figure 3 this sequential of video input controller collection, on sequential, can find out:
1) (non-CCIR656 signal is because the CCIR656 signal is not have independent capable field sync signal to each frame, and be included on 8 the data wire, namely do not have blanking) several row in front of beginning, namely frame final blanking, the data of adopting are not the data of sending, and may all be 0.Just because of this, when comparing data, be that the place from nline=v_bp begins.
2) several row in back of each frame (non-CCIR656 signal) end, namely blanking before the frame, the data of adopting are not the data of sending, and may all be 0.
3) several pixels of every delegation front are namely gone final blanking, and the data of adopting are not the data of sending, and may all be 0.Just because of this, when comparing data, be that the place from nPixel=(h_bp/2) begins.Why to except 2, be because the data of adopting are stored in Y0_array and two application heaps of UV0_array have gone.
4) several pixels of every delegation end, namely blanking before the row, the data of adopting are not the data that will send, may all be 0.
5) data from sending can be seen, in data in the effective time, DB[7:0], DB[15:8], DB[23:16] value all equate, such as sending 0xA5A5A5, DB[7:0], DB[15:8], DB[23:16] all equal 0xA5 as shown in Figure 4.
6) from the angle of video input controller, the data that lcd controller is sent, the video input controller is thought to gather the camera data sent with the UYVY order, so the data that lcd controller is sent are with in the regular Y0_array of being placed in and two application heaps of UV0_array.Because the video input controller just begins image data when uprising from HSYNC, after namely HSYNC uprises, the video input controller just thinks that the data on the data wire are to send with UYVY, when therefore really being active data, that first data are corresponding on earth is Y or U or V, will see the clock DOTCLK number of pulses of capable final blanking.
As everyone knows, the lcd controller interface is data and sequential output interface, the video input controller then is the data inputs, sequential then is the interface that can be set to input mode or the way of output, and lcd controller interface and video input controller have the part of intersection in the work clock size simultaneously.Therefore this method of testing is according to these characteristics of these two interfaces, adopt the lcd controller interface as output interface, the video input control unit interface judges by the data that analysis video input controller is adopted whether lcd controller and video input controller have problem as input interface.What be worth emphasizing is, if just wherein one party to be measured, such as the lcd controller interface, the video input control unit interface that must guarantee subtest so before test is (known out of question and gather with the main control chip of video input control unit interface as adopting) out of question, otherwise too.
Above content measurement is simple pin binding situation test thinking, but for the lcd controller in the practical application, have and much enrich very much output signal type, data format, display mode etc., these can be adjusted by adjusting output data and output mode, form, to reach the test to the relevant controller in inside, for example following adjustment output mode combination:
1) common layer 10: show the data combination of the independent rgb format output of above describing at WIN0: { 0xFFFFFF, 0x000000,0xAAAAAA, 0x555555,0x5A5A5A, 0xA5A5A5,0x999999,0x666666}, but be the reduction capability of test WIN0, therefore when adopt dwindle pattern output after on screen this part less than demonstration;
2) WIN0 dwindles 20: this part is on the data basis of common layer, has used the final displaying contents of reduction capability of WIN0;
3) WIN0, WIN1(are transparent) 30: present most lcd controller has all designed can survey display mode more, suppose to have two windows, for the test window overlapping controller whether normal, can do such design, basic lcd controller has all designed the transparency conditioning controller, main also is to be applied in the situation of window stack, the value of a transparency also can be set, in the corresponding way output simultaneously;
How such three groups of different patterns are shown to (above " data that at every turn refresh on the screen in the process of image data are on the same screen " also is to realize with such method) on the screen simultaneously, such realization in fact: suppose at first that screen is 800 * 480 RGB screen, be ready to two groups of data, one group is the data to common layer (WIN0 window) output, another group is two data that the window stack will be exported, and uses window that two kinds of displaying contents of function setup are set;
LCDCSetWin0 (); //WIN0 dwindles twice
LCDCSetWin1 (); The transparent mode of //WIN1
When startup refreshed screen, the data of actual output were exactly the same as described in Figure 5 on screen afterwards.This is a kind of preferably scheme of testing numerous mode controllers by exporting screen data.
What test Notable be:
When 1, pin is tested, guarantee that the data of final output must guarantee to have tested two kinds of level states of every pin, also to get rid of simultaneously the situation that short circuit appears in adjacent one or more pin, so must comprise following data (0xff, 0x00,0xaa, 0x55,0x5a, 0xa5,0x66,0x99) in the data of test.
2, some controller test can merge, such as the stack of the window of some product support, window amplify with dwindle, the whether transparent controller of window, some then is mutual exclusion, different-format such as the form controller of exporting data can't once realized in the test need to take turns test more and realizes.
3, will guarantee the row field sync signal without disturbed by other when circuit connects, generally, the HSYNC signal will possess the filter capacitor that suitable size is arranged, and occurrence needs to go to regulate according to the rule of hardware circuit and fabric swatch.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.

Claims (2)

1. the mutual method of testing of a lcd controller and video input controller, it is characterized in that: the data wire of described lcd controller is divided into 3 the tunnel tests, external hardware circuit by lcd controller carries out after acquisition time namely selects first the first via to carry out image data and data analysis, switch to the second the tunnel and carry out same image data and data analysis, at last Third Road is carried out same image data and data analysis; First lcd controller is produced the RGB sequential of horizontal-drive signal VSYNC negate, and the interface of employing lcd controller is as the output data-interface, gather the output data of lcd controller by described video input controller acquisition interface, each road output data that lcd screen obtains in the process that gathers each road output data all are presented on the same screen, whether the data of more described lcd controller output are consistent with the data that described video input controller collects, thereby finish test.
2. the mutual method of testing of a kind of lcd controller according to claim 1 and video input controller, it is characterized in that: transmit some data at test process at the data wire of lcd controller, more described data comprise 0xFFFFFF, 0x000000,0xAAAAAA, 0x555555,0x5A5A5A, 0xA5A5A5,0x999999,0x666666; Its data are carried out the transmission of branch, whether the data wire of testing lcd controller short circuit occurs or opens circuit.
CN 201010608682 2010-12-28 2010-12-28 Method for mutually testing LCD (liquid crystal display) controller and video input controller Active CN102164301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010608682 CN102164301B (en) 2010-12-28 2010-12-28 Method for mutually testing LCD (liquid crystal display) controller and video input controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010608682 CN102164301B (en) 2010-12-28 2010-12-28 Method for mutually testing LCD (liquid crystal display) controller and video input controller

Publications (2)

Publication Number Publication Date
CN102164301A CN102164301A (en) 2011-08-24
CN102164301B true CN102164301B (en) 2013-02-13

Family

ID=44465220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010608682 Active CN102164301B (en) 2010-12-28 2010-12-28 Method for mutually testing LCD (liquid crystal display) controller and video input controller

Country Status (1)

Country Link
CN (1) CN102164301B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968945B (en) * 2012-11-27 2015-06-17 福州瑞芯微电子有限公司 Method for testing liquid crystal display (LCD) controller by using frame synchronization signal control switch
CN104932961B (en) * 2015-05-28 2019-01-11 广东小天才科技有限公司 The method and apparatus for detecting data line bonding open circuit in terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05130648A (en) * 1991-11-07 1993-05-25 Mitsubishi Electric Corp Test pattern signal generator
JPH08275024A (en) * 1995-03-30 1996-10-18 Matsushita Electric Ind Co Ltd Video signal detection circuit
JP4299049B2 (en) * 2003-04-24 2009-07-22 株式会社 日立ディスプレイズ Display device control signal inspection method and inspection apparatus, and display device having this inspection function

Also Published As

Publication number Publication date
CN102164301A (en) 2011-08-24

Similar Documents

Publication Publication Date Title
CN101719356B (en) Programming method for programming EDID simultaneously on liquid crystal display multiinterface
CN106598334B (en) Touch display device and driving method thereof
CN104469354B (en) Device for detecting quality of MIPI video signals
CN104992648A (en) Liquid crystal module test system based on SOC FPGA
CN102256158A (en) Automatic television circuit board function testing method and system
CN104735297A (en) Broadcast level monitor and monitoring picture generating method
CN102164301B (en) Method for mutually testing LCD (liquid crystal display) controller and video input controller
CN109817134A (en) Organic light-emitting diode display substrate and its driving method
WO2023116320A1 (en) Fpga-based data flow processing method and apparatus, and pg device
US8817109B1 (en) Techniques for capturing and generating a DVI signal
CN106910443A (en) A kind of detection method of display panel and display panel
CN106504708A (en) Display device and its gate driver circuit
CN106200181A (en) A kind of display panels measurement circuit and display panels
CN101655619A (en) LCM testing system
CN105304045A (en) Scanning card
CN103617785B (en) A kind of three-dimensional liquid crystal display device and display control method
CN103941112A (en) System and method for detecting multiple image signals
KR20150139101A (en) Apparatus and method for monitoring pixel data and display system for adapting the same
KR100850773B1 (en) Image examination module for display device
CN203708370U (en) Multipath digital image processing system
US20040174818A1 (en) Simultaneous presentation of locally acquired and remotely acquired waveforms
CN104346245B (en) Color test systems
CN203455803U (en) Touch display device
CN216356999U (en) Television and display device
CN102968945B (en) Method for testing liquid crystal display (LCD) controller by using frame synchronization signal control switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee before: Fuzhou Rockchip Semiconductor Co., Ltd.

CP01 Change in the name or title of a patent holder

Address after: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.

CP01 Change in the name or title of a patent holder