CN101329849B - Data interface circuit for LCD screen - Google Patents

Data interface circuit for LCD screen Download PDF

Info

Publication number
CN101329849B
CN101329849B CN2008101157813A CN200810115781A CN101329849B CN 101329849 B CN101329849 B CN 101329849B CN 2008101157813 A CN2008101157813 A CN 2008101157813A CN 200810115781 A CN200810115781 A CN 200810115781A CN 101329849 B CN101329849 B CN 101329849B
Authority
CN
China
Prior art keywords
lcd screen
register
data
interface circuit
pixel
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.)
Expired - Fee Related
Application number
CN2008101157813A
Other languages
Chinese (zh)
Other versions
CN101329849A (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.)
Wuxi Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN2008101157813A priority Critical patent/CN101329849B/en
Publication of CN101329849A publication Critical patent/CN101329849A/en
Application granted granted Critical
Publication of CN101329849B publication Critical patent/CN101329849B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an LCD screen data interface circuit and a method thereof. The circuit is characterized by comprising a mode register and a head data register; the mode register is applied to determining a format conversion type which the LCD screen belongs to and according to the format conversion type, the head data register regroups different pixels by bit so as to send the pixels to the LCD screen. The LCD screen data interface circuit and the method of the invention provide a set of relatively simple and universal interface fulfillment model, support all format conversion throughchanging a group of registers and need not to worry about incompatibility for being capable of supporting all novel LCD screens.

Description

A kind of LCD screen data interface circuit
Technical field
The present invention relates to the LCD screen, relate in particular to LCD screen data interface circuit.
Background technology
Lcd screen is various in style on the market, and is also different to data interface and data layout demand.Traditional interface circuit implementation employing is enumerated way and is covered form as much as possible, for each different-format LCD screen, all must make circuit kit support to measure for it.Because market screen updates speed is very fast, traditional circuit structure is not supported a lot of new screens, needs patch installing again, revises the hardware circuit design.
Classic method is at the requirement of certain a special screen to the input pixel format, and the corresponding circuit of design one cover is supported, adopts the mode of enumerating to design format conversion circuit as much as possible.At present main implementation can be understood by following four sections of LCD screen form.
Fig. 1 is 16 bit interface to 16 R: G: B=5: the synoptic diagram that 6: 5 pixels read.Its implementation procedure comprises: read a pixel, send number according to write operation of branch shown in Figure 1, a write cycle time is finished a secondary data and is transmitted.
Fig. 2 is 8 bit interface to 16 pixel R: G: B=4: the synoptic diagram that reads at 4: 4.Its implementation procedure comprises: read a pixel, write operation send number at twice, and for the first time write operation send the R[7:4 of pixel] and G[7:4], write operation send the B[7:4 of pixel for the second time] and the R[7:4 that repeats], such twice write operation finished once and circulated.
Fig. 3 is 8 bit interface to 24 pixel R: G: B=8: the synoptic diagram that reads at 8: 8.Its implementation procedure comprises: read a pixel, divide three write operations to send number, write operation send the R of pixel for the first time, and write operation send the B of pixel for the second time, and write operation send pixel B for the third time, and such three write operations are finished once circulation.
Fig. 4 is 16 bit interface to 24 pixel R: G: B=8: the synoptic diagram that reads at 8: 8.Its implementation procedure comprises: read two pixels, divide three write operations to send number, write operation gives the RG of first pixel for the first time, and write operation gives the B of first pixel and the R of second pixel for the second time, write operation send the GB of second pixel for the third time, finishes once circulation like this.
For top four examples, traditional implementation is taked the mode enumerated, must prepare the quadruplet hardware circuit implementation at least and support.
The hardware interface circuit that adopts traditional mode of enumerating to realize not in the circuit scope of enumerating, is promptly enumerated situation about not covering in case find new screen form, can only add new hardware interface circuit and support new demand by patch installing.So compatible performance is bad, and the patch installing meeting prolongs the design cycle repeatedly, is unfavorable for the succession of code.
Summary of the invention
The objective of the invention is to As soon as possible Promising Policy the demand of LCD screen might appear, by analyzing the characteristics of the plain interface conversion of the LCD screen image form that institute might occur, design the general Data Format Transform interface circuit of a cover, can satisfy all lcd screen pixel data format conversion substantially.
For this reason, the present invention provides a kind of LCD screen data interface circuit in first aspect, and this circuit is characterised in that and comprises a mode register and a data register; Described mode register is used for determining that LCD shields needed Format Type, and according to described Format Type, described data register recombinated the step-by-step of different pixels part, so that send to the LCD screen.
The present invention provides a kind of LCD screen data interface method in second aspect.The method is characterized in that and comprise that definite LCD shields needed Format Type; According to described Format Type, the step-by-step of different pixels part is recombinated, so that send to the LCD screen.
The invention provides fairly simple, the general interface implementation pattern of a cover, support all format conversion, all support, do not need to worry for incompatible problem in the face of the LCD screen that emerges in an endless stream by one group of register of software change.
Description of drawings
Below with reference to accompanying drawings specific embodiments of the present invention is described in detail, in the accompanying drawing:
Fig. 1 is the synoptic diagram that 16 bit interface read 16 R:G:B=5:6:5 pixels
Fig. 2 is the synoptic diagram that 8 bit interface read 16 pixel R:G:B=4:4:4;
Fig. 3 is the synoptic diagram that 8 bit interface read 24 pixel R:G:B=8:8:8;
Fig. 4 is the synoptic diagram that 16 bit interface read 24 pixel R:G:B=8:8:8;
Fig. 5 is an interface data flow graph of the present invention; And
Fig. 6 is Data Format Transform scheme realization figure of the present invention.
Embodiment
Comprehensive LCD screen image prime number can be summed up as lcd screen four big classes according to the characteristics of format transformation:
1) read pixel source data, one time write operation sends;
2) read pixel source data, write operation sends at twice;
3) read pixel source data, divide three write operations to see off;
4) read two pixel source data, divide three write operations to see off.
Fig. 5 is an interface data flow graph of the present invention.In a cycle period, may read one or two pixel.Then,, divide several times write operation in some way data to be seen off, finish a cycling according to the form of the needs of lcd screen.
Each write operation may be the data of any position section among pixel one or pixel two RGB.
For write operation each time, need to determine:
1. judge that the LCD screen belongs to any Format Type (being example with pixel R hereinafter);
2. for write operation each time, a register need be set determine that the pixel that is about to write is first pixel 1_R or second pixel 2_R;
3. for a write operation, an enable register need be set, determine whether this write operation needs to write pixel R;
4. write pixel R if desired, need determine to write which position of pixel R and these are write which position of corresponding output data.
In an example, two registers are set.The highest significant position and the position in corresponding output data thereof of a register-stored pixel R part to be written, its least significant bit (LSB) of another register-stored and the position in corresponding output data thereof.
In another example,, provide a kind of circuit that simplifies in order to reduce the hardware costs of judgement.For R, suppose and all send 8 bit data at every turn, utilize a register that most significant digit data bit R[7 is set then] the address get final product.And in fact, may not need to send 8 bit data, needed actual number of bits gets final product for LCD shields can to utilize another register that this pixel is set again.
Fig. 6 is Data Format Transform scheme realization figure of the present invention.As shown in Figure 6, at first, carry out Format Type and judge.If type 00 means that the LCD screen adopts for example data-interface of Fig. 1, then exports needed R, G, B data according to Fig. 1 format configuration.If Class1 0 means that the LCD screen adopts for example data-interface of Fig. 4, then exports needed R, G, B data according to Fig. 4 format configuration.Similarly, type 01 and 11 means that respectively the LCD screen adopts the data-interface of Fig. 2 and 3, then according to corresponding format configuration output needed R, G, B data.
Next, be example with the data-interface of Fig. 1, the Data Format Transform scheme of Fig. 6 is elaborated.
1) analyzes the type that LCD shields, belong to and read a pixel, divide a write operation to send.
2) each operation all needs to dispose the RGB that writes pixel, and then the RGB enable register all needs to open.
3) because a pixel is read in each operation, all are first pixels so action need writes, i.e. 1_R, 1_G, 1_B.
4), need be with 1_R[7:3 according to Fig. 1] put into data line data[15:11] on.(1_R only is described here)
A), at first confirm most significant digit 1_R[7 for R] corresponding data[15], can place 1_R[7:0 like this] to data[15:8] on.(each unified 8 bit data that all dispose, unwanted bit data can be invalid in the c operation)
B) disposing 1_R significance bit register then is 1111_1000_0000_0000.
C) do and logic according to 1_R significance bit register information, just can draw 1_R[7:3] correspond to data[15:11] gone up.
5) in like manner can finish 1_G, 1_B, 2_R, 2_G, the configuration of 2_B.
Secondly, be example with the data-interface of Fig. 4, the Data Format Transform scheme of Fig. 6 is elaborated.
1) analyzes the type that LCD shields, belong to and read two pixels, divide three write operations to send.
2) each operation needs to dispose among the RGB that writes pixel two respectively, then needs corresponding RGB enable register to open.
3) because two pixels are read in each operation, divide three times write operation.So that each write operation need write is respectively 1_R and 1_G; 1_B and 2_R; 2_G and 2_B.
4), need be with 1_R[7:0 according to Fig. 4] put into data line data[15:8] on.
5) in like manner can finish 1_G, 1_B, 2_R, 2_G, the configuration of 2_B.
It may be noted that to the invention is not restricted to previously described four kinds of Format Types, and every type also is not limited to the read-write mode shown in Fig. 1-4.Such as, in Class1 0, after reading two pixel source data, can be with R1 and B1, G1 and R2, B2 and G2 divide three write operations to send out, rather than R1 shown in Figure 4 and G1, B1 and R2, G2 and B2.The present invention goes for various other Format Type and read-write modes.
The present invention program has following advantage:
(1) common-mode, universality is strong.
A kind of universal pattern is provided, by software preparation register, can produces and be applicable to the on the market format conversion of the demand of various LCD screens, do not need to be the new incompatible patch that again reaches of LCD screen.
(2) clear logic, the thought of simplifying circuit in the literary composition can reduce the decision logic circuit, thereby reaches the minimizing hardware costs, and time-delay also reduces slightly in addition.
Obviously, the present invention described here can have many variations, and this variation can not be thought and departs from the spirit and scope of the present invention. Therefore, the change that all it will be apparent to those skilled in the art all is included within the covering scope of these claims.

Claims (6)

1. a LCD screen data interface circuit is characterized in that comprising a mode register and a data register; Described mode register is used for determining that LCD shields needed Format Type, and according to described Format Type, described data register recombinated the step-by-step of different pixels part, so that send to the LCD screen.
2. LCD as claimed in claim 1 screen data interface circuit is characterized in that described Format Type comprises one or more in following:
Read pixel source data, one time write operation sends;
Read pixel source data, write operation sends at twice;
Read pixel source data, divide three write operations to see off; With
Read two pixel source data, divide three write operations to see off.
3. LCD screen data interface circuit as claimed in claim 1 is characterized in that comprising the register that is used for determining the different pixels source data.
4. LCD screen data interface circuit as claimed in claim 1 is characterized in that a data register comprises an enable register that is respectively applied for R, G and B.
5. LCD screen data interface circuit as claimed in claim 1, the register that it is characterized in that comprising the register of the described different pixels of the storage position of highest significant position in described data register partly and store the number of significant digit of described different pixels part.
6. a LCD screen data interface method is characterized in that comprising and determines that LCD shields needed Format Type; According to described Format Type, the step-by-step of different pixels part is recombinated, so that send to the LCD screen.
CN2008101157813A 2008-06-27 2008-06-27 Data interface circuit for LCD screen Expired - Fee Related CN101329849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101157813A CN101329849B (en) 2008-06-27 2008-06-27 Data interface circuit for LCD screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101157813A CN101329849B (en) 2008-06-27 2008-06-27 Data interface circuit for LCD screen

Publications (2)

Publication Number Publication Date
CN101329849A CN101329849A (en) 2008-12-24
CN101329849B true CN101329849B (en) 2010-09-29

Family

ID=40205628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101157813A Expired - Fee Related CN101329849B (en) 2008-06-27 2008-06-27 Data interface circuit for LCD screen

Country Status (1)

Country Link
CN (1) CN101329849B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996609B (en) * 2009-08-13 2013-01-23 上海奇码数字信息有限公司 Pixel format converting method and device in graphic processing
CN109936705B (en) * 2017-12-18 2020-05-12 京东方科技集团股份有限公司 Data conversion method and device applied to display and display device

Also Published As

Publication number Publication date
CN101329849A (en) 2008-12-24

Similar Documents

Publication Publication Date Title
CN102799962B (en) A kind of layout type business process system and its implementation
US6393520B2 (en) Data processor and data processing system with internal memories
CN101694512A (en) Test circuit and on-chip system
US20060036974A1 (en) IP-based LSI design system and design method
CN102184158B (en) Daughter board with two-stage FPGA chip and collocation method of two-stage FPGA chip
CN105261328A (en) ARM and FPGA-based LED display screen control system
US20230267875A1 (en) Display drive circuit and method, led display board and display device
CN101329849B (en) Data interface circuit for LCD screen
CN102981882A (en) Analytic method and analytic device
CN101548328A (en) Apparatus and method for capturing serial input data
CN100485719C (en) Image processing apparatus and image processing method
US20080107339A1 (en) Image processing apparatus with simd-type microprocessor to perform labeling
CN105955919A (en) Implementation method of reading-writing NANDFlash by multiple MCUs based on FPGA (Field Programmable Gate Array)
CN108399076A (en) A kind of firmware update and device based on UEFI
CN104469241A (en) Device for achieving video frame rate change
CN204836362U (en) High definition video OSD menu stack module based on FPGA
CN100444238C (en) Apparatus for controlling color liquid crystal display and method thereof
CN100487721C (en) Method for recognizing chip types of mobile phone LCD
CN107426118A (en) A kind of gigabit Ethernet switched circuit access mechanism based on MDC/MDIO interfaces
AU2011202508B2 (en) Method, apparatus and system for rendering an object on a page
US8510539B2 (en) Spilling method involving register files based on communication costs and use ratio
CN101859242A (en) Register reading and writing method and device
CN110266546A (en) A kind of method, equipment and readable medium configuring switch port
US7130986B2 (en) Determining if a register is ready to exchange data with a processing element
JP2002278836A (en) Cache memory

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
ASS Succession or assignment of patent right

Owner name: WUXI VIMICRO ELECTRONIC CO., LTD.

Free format text: FORMER OWNER: BEIJING ZHONGXING MICROELECTRONICS CO., LTD.

Effective date: 20110127

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100083 16/F, SHINING BUILDING, NO.35, XUEYUAN ROAD, HAIDIAN DISTRICT, BEIJING TO: 214028 610, NATIONAL INTEGRATED CIRCUIT DESIGN PARK (CHUANGYUAN BUILDING), NO.21-1, CHANGJIANG ROAD, NEW DISTRICT, WUXI CITY, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20110127

Address after: 214028 national integrated circuit design (21-1), Changjiang Road, New District, Jiangsu, Wuxi, China, China (610)

Patentee after: Wuxi Vimicro Co., Ltd.

Address before: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Patentee before: Beijing Vimicro Corporation

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100929

Termination date: 20170627

CF01 Termination of patent right due to non-payment of annual fee