CN102164301A - 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
CN102164301A
CN102164301A CN 201010608682 CN201010608682A CN102164301A CN 102164301 A CN102164301 A CN 102164301A CN 201010608682 CN201010608682 CN 201010608682 CN 201010608682 A CN201010608682 A CN 201010608682A CN 102164301 A CN102164301 A CN 102164301A
Authority
CN
China
Prior art keywords
controller
data
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.)
Granted
Application number
CN 201010608682
Other languages
Chinese (zh)
Other versions
CN102164301B (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 a series of complexity 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), the test of video input controller generally comprise two parts: whether all one be meant the nation's success surely 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 (just two pins glue together the interactional phenomenon of state in other words conj.or perhaps), each holding wire then comprises, has or not dropout or asynchrony phenomenon; Two are meant that module can both be provided with success and can finish the logical controlling 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 consistently judge whether this mode controller is good with theoretic.Have only FT (functional test or perhaps the final test) test that just can think this this module of chip when above two parts are all out of question to pass through.
Just SOC (system level chip) functional test field is to the test of lcd controller at present, and major part still rests on the test of simple pin package situation, is far from being enough at the complicated SOC that comprises lcd controller in enormous quantities.Along with LCD shows diversified requirement, the corresponding complexity of lcd controller is got up, internal application 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, elder generation is with the RGB sequential of the horizontal-drive signal VSYNC negate of lcd controller generation, and the interface of employing lcd controller is as the dateout interface, the dateout of gathering lcd controller by described video input controller acquisition interface, each circuit-switched data that obtains on the lcd screen in the process of gathering 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.Described external hardware circuit by lcd controller carries out acquisition time: after promptly selecting the first via to carry out image data and data analysis earlier, 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, Ce Shi flexibility is strong, and the user can carry out the adjustment of software to test contents 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 by the lcd controller display image, 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 transmits whole screen schematic diagram data for the present invention's mode with row on the lcd controller data wire.
Fig. 2 is lcd controller of the present invention and video input controller test circuit schematic diagram.
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.
Effective identical data in the sequential of Fig. 4 for Fig. 3 output of the present invention.
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 promptly selects the first via to carry out image data and data analysis earlier, 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, earlier lcd controller is produced the RGB sequential of horizontal-drive signal VSYNC negate, and the interface of employing lcd controller is as the dateout interface, the dateout of gathering lcd controller by described video input controller acquisition interface, each circuit-switched data that obtains on the lcd screen in the process of gathering 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 sequential 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, the dateout of gathering 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 has only 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, just select the first via earlier, 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.
In order to test the situation whether the lcd controller data wire can exist short circuit or open circuit, need give some special data on the lcd controller data wire in addition, 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 on delegation, and whole screen is divided into 8, and each sheet is sent one group of data wherein respectively, as shown in Figure 1, why send like this, are simple on the software processes, and can not influence the checking of data wire again.
That Fig. 2 describes is lcd controller (LCD Control) and the mutual testing principle figure of video input controller, and wherein, the left side is a 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, the lcd controller data that the video input controller adopts the method for time-sharing operation to remove to gather 3 groups of 8bit;
After process VSYNC is reverse, 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 the sequential as can be seen:
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, just do not have blanking) several row in front of beginning, frame final blanking just, 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, blanking before the frame just, the data of adopting are not the data of sending, and may all be 0.
3) several pixels of each row front, just capable 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 nPixel=(h_bp/2) begins.Why will remove 2, be because the data of adopting are stored at Y0_array and two application heaps of UV0_array to have gone.
4) several pixels of each row end, blanking before the row just, 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 the camera data sent with the UYVY order, gathers, so the data that lcd controller is sent will clocklike be placed in Y0_array and two application heaps of UV0_array.Because the video input controller just begins image data when uprising from HSYNC, after just 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 correspondence is Y or U or V on earth, 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 the input mode or the way of output, and lcd controller interface and video input controller have the part of intersection on 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, video input controller 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 a certain side to be measured, as the lcd controller interface, the video input controller interface that must guarantee subtest so before test is (gathering as adopting known main control chip out of question and band video input controller interface) 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 dateout and output mode, form, to reach test, for example following adjustment output mode combination to the relevant controller in inside:
1) common layer 10: on WIN0, show the data combination of the independent rgb format output of above describing: { 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 (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 under the situation of window stack, the value of a transparency also can be set, in output in the corresponding way 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, be 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 starting clear screen, the data of actual output are exactly the same as described in Figure 5 on screen afterwards.This is a kind of by exporting the scheme preferably that screen data are tested numerous mode controllers.
In test, it should be noted that:
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 dateout can't once realized in the test, needs many wheel tests to realize.
3, will guarantee when circuit connects that the row field sync signal does not have and disturbed by other, generally, the HSYNC signal will possess the filter capacitor that suitable size is arranged, and occurrence needs 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 being done according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.

Claims (3)

1. the mutual method of testing 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, earlier lcd controller is produced the RGB sequential of horizontal-drive signal VSYNC negate, and the interface of employing lcd controller is as the dateout interface, the dateout of gathering lcd controller by described video input controller acquisition interface, each circuit-switched data that obtains on the lcd screen in the process of gathering 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.
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: described external hardware circuit by lcd controller carries out acquisition time: after promptly selecting the first via to carry out image data and data analysis earlier, 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.
3. 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 on the data wire of test process at lcd controller, described data comprise 0xFFFFFF, 0x000000,0xAAAAAA, 0x555555,0x5A5A5A, 0xA5A5A5,0x999999,0x666666; Its data are carried out the transmission of branch, and 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 true CN102164301A (en) 2011-08-24
CN102164301B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968945A (en) * 2012-11-27 2013-03-13 福州瑞芯微电子有限公司 Method for testing liquid crystal display (LCD) controller by using frame synchronization signal control switch
CN104932961A (en) * 2015-05-28 2015-09-23 广东小天才科技有限公司 Method and device for detecting data line bonding open circuit in terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319446A (en) * 1991-11-07 1994-06-07 Mitsubishi Denki Kabushiki Kaisha Test pattern signal generator
JPH08275024A (en) * 1995-03-30 1996-10-18 Matsushita Electric Ind Co Ltd Video signal detection circuit
CN1540395A (en) * 2003-04-24 2004-10-27 ��ʽ����������ʾ�� Choeck method and check device of control signal for displaying device, and display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319446A (en) * 1991-11-07 1994-06-07 Mitsubishi Denki Kabushiki Kaisha Test pattern signal generator
JPH08275024A (en) * 1995-03-30 1996-10-18 Matsushita Electric Ind Co Ltd Video signal detection circuit
CN1540395A (en) * 2003-04-24 2004-10-27 ��ʽ����������ʾ�� Choeck method and check device of control signal for displaying device, and display device

Cited By (3)

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

Also Published As

Publication number Publication date
CN102164301B (en) 2013-02-13

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
CN102256158B (en) Automatic testing method and system for television circuit board function
CN109147634B (en) Device and method for generating display screen detection signal
CN104469354B (en) Device for detecting quality of MIPI video signals
CN101640768A (en) Multi-cannel OSD video superposition controller
CN102222479B (en) Apparatus and method for driving image display apparatus
CN105301429A (en) Defect detection device of self-capacitance touch control panel and detection method
CN114245029B (en) FPGA-based data stream processing method and device and PG equipment
CN107665105A (en) Display device interfaces conversion equipment, Multi-screen display system and multi-display method
CN105679225A (en) Method of driving display panel and display apparatus for performing same
DE102020126669A1 (en) TOUCH CIRCUIT, TOUCH DISPLAY DEVICE, AND TOUCH CONTROL METHOD THEREOF
CN203590370U (en) General video signal performance parameter automatic testing device
CN104735297A (en) Broadcast level monitor and monitoring picture generating method
CN105954558A (en) Multichannel signal oscilloscope and parallel mapping and displaying method
CN102164301B (en) Method for mutually testing LCD (liquid crystal display) controller and video input controller
CN101655619B (en) LCM testing system
DE102008053446A1 (en) Device for acquiring and storing real-time images
CN103617785A (en) Three-dimensional liquid crystal display device and display control method
CN105957495A (en) RGB signal processing method and device
CN203708370U (en) Multipath digital image processing system
CN201758011U (en) Multi-channel EDID burning system of LCD TV
US20040174818A1 (en) Simultaneous presentation of locally acquired and remotely acquired waveforms
CN103002313A (en) Portable video signal testing equipment
CN104517555B (en) Apply to time schedule controller and its control method that image shows

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
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.