CN102237054A - Command register type interface module of industrial liquid crystal display - Google Patents

Command register type interface module of industrial liquid crystal display Download PDF

Info

Publication number
CN102237054A
CN102237054A CN2010101629900A CN201010162990A CN102237054A CN 102237054 A CN102237054 A CN 102237054A CN 2010101629900 A CN2010101629900 A CN 2010101629900A CN 201010162990 A CN201010162990 A CN 201010162990A CN 102237054 A CN102237054 A CN 102237054A
Authority
CN
China
Prior art keywords
register
interface
value
address
line interface
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.)
Pending
Application number
CN2010101629900A
Other languages
Chinese (zh)
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.)
HENAN UREIKA SYSTEM ENGINEERING Co Ltd
Original Assignee
HENAN UREIKA SYSTEM ENGINEERING 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 HENAN UREIKA SYSTEM ENGINEERING Co Ltd filed Critical HENAN UREIKA SYSTEM ENGINEERING Co Ltd
Priority to CN2010101629900A priority Critical patent/CN102237054A/en
Publication of CN102237054A publication Critical patent/CN102237054A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to an interface module, in particular relates to a command register type interface module of an industrial liquid crystal display. The command register type interface module comprises an address line interface, a data line interface, a chip select line interface, a read line interface and a write line interface, wherein the address line interface and the chip select line interface are connected with an interface controller; the interface controller is respectively connected with a data register, an X address register, a Y address register, a resolution register and a control register; and the data line interface, the read line interface and the write line interface are all connected with the interface controller. According to the invention, the interfaces of the module are simple; and by the adoption of the register type operation mode of the module, the compatibilities of the module with various industrial liquid crystal displays are improved, and the functionality and display speed of the industrial liquid crystal displays are also improved.

Description

The order register type interface module of industry LCD
Technical field
The present invention relates to a kind of interface module, relate in particular to a kind of order register type interface module of industrial LCD.
Background technology
At present, the interface module of the industrial LCD of use generally comprises: bus interface, by the bus control module of chip microcontroller with show memory module.Mostly the bus interface of using is 34 needle interfaces, comprise data line (D0-D7), address wire (A0-A15), read useful signal (/RDCS), with imitate signal (/WCS), power supply (VCC) and (GND).Because the limitation of interface, the function of bus control module is also single relatively, can only finish simple passive display operation.Such bus interface module (1) poor compatibility; (2) function singleness; (3) display speed is slower; (4) pcb board wiring relative complex.Obviously, such interface module can not satisfy the requirement that industrial LCD develops towards " high compatible, multi-functional, few wiring, the fast demonstration " direction.
Summary of the invention
The order register type interface module that the purpose of this invention is to provide a kind of industrial LCD, its interface is simple, it deposits the type operator scheme has not only increased compatibility to various industrial LCD, has also improved the functional and display speed of industrial LCD.
For solving above-mentioned technical matters, the present invention includes: the address wire interface, data line interface, the chip select line interface, read line interface, write line interface, described address wire interface and chip select line interface connecting interface controller, interface controller connects data register, X address register, Y address register, resolution register and control register respectively, data line interface, reads line interface and writes the equal connecting interface controller of line interface.
Establish 20 needlework in the order register type interface of described industrial LCD.
Described resolution register is 4, the low level of directions X resolution value, the high position of directions X resolution value, the low level of Y directional resolution value, the high position of Y directional resolution value.
The software of operation following steps on the described interface controller:
(1) interface controller is provided with control register according to the address of address line interface and chip select line interface by data line interface;
(2) according to the content of control register, interface controller is by the data line interface memory data register.
Described step (1) comprises the steps:
(a) interface controller is provided with place value according to 8 demonstrations in the control register, and the display mode of LCD is set.
(b) interface controller is provided with the value of position according to number of colours in the control register, and the Show Color figure place of target LCD is set.
(c) interface controller is provided with the value of position according to pattern in the control register, and the character of the value in the judgment data register is provided with brightness value, foreground and the background colour of liquid crystal display displays.
(d) interface controller is according to the low level of directions X resolution value, the high position of directions X resolution value, and the low level of Y directional resolution value, the value of the high position of Y directional resolution value is provided with the resolution of target LCD.
(e) interface controller is provided with the coordinate position of target pixel points on the LCD according to the value of X address register and Y address register.
(f) interface controller increases the value that direction is provided with the position automatically according to address in the control register, and target LCD operation address is set to be increased along directions X or Y direction.
The present invention adopts by register is provided with, can be in many ways with data presentation on LCD.Simultaneously, functions such as number of colours setting provided by the invention, resolution setting, foreground and background colour setting, write address increase automatically, multi-level brightness adjusting, backlight switch, the quick cls of designated color and touch-screen apolegamy, not only can compatible different resolution and the industrial LCD of number of colours, also facilitate and simplify user's exploitation and use greatly.
Description of drawings
Fig. 1 is a hardware principle block diagram of the present invention.
Fig. 2 is the structural drawing of the present invention's 20 needle interfaces.
Fig. 3 is internal register of the present invention and address bus distribution plan.
Fig. 4 is hardware circuit principle figure of the present invention.
Fig. 5 is the program flow diagram of one embodiment of the present invention.
Embodiment
First kind of embodiment of the present invention comprises: establish 20 needlework in the order register type interface as shown in Figures 2 and 3, comprise: 8 D0-D7 of data line, 3 A0-A2 of address wire, touch screen interface line 4 X+, X-, Y+, Y-, with imitating signal/WR, read useful signal/RD, chip selection signal/CS, power supply signal VCC and earth signal GND.Its interface definition such as following table 1:
Pin Symbol Definition Pin Symbol Definition
1 GND Ground 11 DATA2 Data bus
2 +5V Power supply ,+5V 12 DATA3 Data bus
3 /RD The read operation signal, low level is effective 13 DATA4 Data bus
4 /WR Write operation signal, low level is effective 14 DATA5 Data bus
5 /CS Chip selection signal, low level is effective 15 DATA6 Data bus
6 A0 The address 16 DATA7 Data bus
7 A1 The address 17 X+ Touch-screen (right side)
8 A2 The address 18 X- Touch-screen (left side)
9 DATA0 Data bus 19 Y+ Touch-screen (on)
10 DATA1 Data bus 20 Y- Touch-screen (descending)
Table 1
Data line as shown in Figure 1, address wire, the touch screen interface line with imitating signal/WR, is read useful signal, chip selection signal, power supply signal and earth signal connecting interface controller, interface controller adopts the ISPMACH4256V chip.Adopt the major clock crystal oscillator of KYOCERA53.6931MHz crystal oscillator, and handle, produce the Dot Clock of LCD by the frequency division of interface controller as interface controller.PIN3-PIN16 is connected on the interface controller in 20 needle interfaces, and PIN1 is ground, and PIN2 is the 5V power supply, and PIN17-PIN20 is a lead of touch screen.The power supply 5V of whole module is introduced by 20 needle interfaces, and to adopt 48M033F be 3V with the 5V voltage transitions, is the DRAM and the LCD power supply of interface controller, display.
Data register rDATA, X address register rAddrX, Y address register rAddrY, four resolution register rResXL, rResXH, rResYL, rResYH and control register rCMD.These 8 registers select by address wire A0-A2 compounded plate.By to these 8 operation registers, the user can finish functions such as single-point pixel operation, pixel operation, number of colours setting, resolution setting, foreground and background colour setting, write address directions X or Y direction increase automatically, multi-level brightness adjusting, backlight switch, the quick cls of designated color at 8.Each register functions and be provided with as described below:
1, control register (rCMD) is provided with
Control register provided by the invention has pattern setting (MODE), number of colours setting (COLOR), write address to increase direction setting (INC_DIR), 8 pixel operation settings (8DOT), cls pattern setting (CLEAR) and backlight switch setting (PW ON/OFF) automatically.Before LCD is carried out various operations, control register (rCMD) need be set earlier.Each function setting position distributes as shown in table 2 below:
MODE [1] MODE [0] COLOR [1] COLOR [0] ?INC_DIR 8DOT CLEAR PW ON/OFF
Table 2
(1) pattern setting (MODE)
It is the bit7 of control register and bit6 (rCMD[7:6]) that pattern is provided with the position, is the character that is used for being provided with the data in the data register (rDATA).Pattern is provided with the position two.Initial value is " 00 ".
MODE=" 00 ": storage is pixel value in the data register (rDATA).Under the single-point pattern, what store among the rDATA is the color data of object pixel.Under 8 dot patterns, what store among the rDATA is the numerical value of 8 target pixel points, and wherein each all represents a pixel.
MODE=" 01 ": storage is the prospect colour in the data register (rDATA).The definition of prospect colour is only effective when 8 pixel operations.
MODE=" 10 ": storage is the background colour in the data register (rDATA).The background colour be defined in 8 pixel operations and cls pattern the time effective.
MODE=" 11 ": storage is brightness value in the data register (rDATA).
(2) number of colours setting (COLOR)
It is the bit5 of control register and bit4 (rCMD[5:4]) that number of colours is provided with the position, is the number of colours that is used for being provided with LCD.The maximum color number of support of the present invention is 24 looks.Number of colours is provided with the position two.Initial value is " 00 ".
COLOR=" 00 ": the number of colours of LCD support is 8 looks (256 looks).The user need write once to data register (rDATA) when the color value of target pixel points is set.RDATA everybody to be defined as follows table 3 described:
R2 R1 R0 G2 G1 G0 B1 B0
Table 3
COLOR=" 01 ": the number of colours of LCD support is 16 looks (65,536 looks).The user need write twice to data register (rDATA) when the color value of target pixel points is set.Everybody is defined as follows rDATA data register (rDATA) shown in the table 4:
For the first time R4 R3 R2 R1 R0 G5 G4 G3
For the second time G2 G1 G0 B4 B3 B2 B1 B0
Table 4
COLOR=" 10 ": the number of colours of LCD support is 16 looks (16,777,216 looks).The user need write three times to data register (rDATA) when the color value of target pixel points is set.Everybody is defined as follows rDATA data register (rDATA) shown in the table 5:
For the first time R7 R6 R5 R4 R3 R2 R1 R0
For the second time G7 G6 G5 G4 G3 G2 G1 G0
For the third time B7 B6 B5 B4 B3 B2 B1 B0
Table 5
COLOR=" 11 ": retention
(3) write address increases direction setting (INC_DIR) automatically
Write address increases direction automatically the bit3 (MODE[3]) that the position is a control register is set, and is to be used for being provided with direction that write address increases automatically.Initial value is ' 0 '.
INC_DIR=' 0 ': write address adds 1 automatically along directions X.When running into end of line, skip to next line automatically.
INC_DIR=' 1 ': write address adds 1 automatically along the Y direction.When running into the row tail, skip to next column automatically.
(4) 8 pixel operation settings (8DOT)
8 pixel operations are provided with the bit2 that the position is a control register (MODE[2]), are to switch single-point pixel operation and 8 pixel operations.Initial value is ' 0 '.
8DOT=' 0 ': single-point pixel operation pattern.
1 ': 8 pixel operation patterns of 8DOT='.
The invention provides two kinds of display modes: single-point display mode and 8 display modes.Wherein, the single-point display mode is meant that 8 bit data among the data register rDATA represent the pixel RGB 3:3:2 of 8 looks.8 display modes are meant that each data among the data register rDATA all represent a pixel information, to data register rDATA operation once, have promptly operated 8 pixels simultaneously.Data bit is 1, and then Dui Ying pixel is shown as foreground; Data bit is 0, and then Dui Ying pixel is shown as background colour.Foreground and background colour all are 8 look RGB 3:3:2, need to be provided with in advance when using 8 display modes.
(5) the cls pattern is provided with (CLEAR)
The cls pattern is provided with the bit1 (MODE[1]) that the position is a control register, is the quick cls mode of a kind of use designated color.Initial value is ' 0 '.
CLEAR=' 0 ': common display pattern.
CLEAR=' 1 ': cls pattern.Before using the cls pattern, need configure background color earlier.Behind the CLEAR position 1, do not need the intervention of host computer, just can realize the operation of designated color cls in short tens microseconds.
(6) the backlight switch is provided with (PW ON/OFF)
The backlight switch is provided with the bit0 (MODE[0]) that the position is a control register.Initial value is ' 0 '.
PW ON/OFF=' 0 ': backlight is opened.
PW ON/OFF=' 1 ': backlight closes.
2, the setting of resolution register
The ultimate resolution that the present invention can support is 65536 * 65536.Before LCD is carried out pixel operation, the resolution of LCD need be set earlier.Four resolution registers are respectively low level rResXL, the high-order rResXH of directions X resolution value, the low level rResYL of Y directional resolution value, the high-order rResYH of Y directional resolution value of directions X resolution value.Each register is eight bit register.
3, X address register rAddrX and Y address register rAddrY are provided with
X address register rAddrX provided by the invention and Y address register rAddrY are used for being provided with target pixel location.The position of object pixel and the position of liquid crystal display pixel are one to one, the user only needs the positional value of target pixel points on LCD is set to X address register (rAddrX) and Y address register rAddrY, just can operate any pixel easily.
When no matter being single-point pixel operation or 8 pixel operations, the user needs earlier to write the X coordinate that the target display position could be set for twice to X address register rAddrX.Shown in following table 6 of two sub-values and the table 7: for the first time: the least-significant byte of X address
X7 X6 X5 X4 X3 X2 X1 X0
Table 6
For the second time: the most-significant byte of X address
?X15 X14 X13 X12 X11 X10 X9 X8
Table 7
Then, the user need write the Y coordinate that the target display position could be set for twice to Y address register (rAddrY) equally.Shown in following table 8 of two sub-values and the table 9:
For the first time: the least-significant byte of Y address
Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
Table 8
For the second time: the most-significant byte of Y address
Y15 Y14 Y13 Y12 Y11 Y10 Y9 Y8
Table 9
The address value of the object pixel that the user write must not exceed the resolving range of the LCD of setting.
4, data register rDATA is provided with
Data register rDATA provided by the invention is used for transmitting data such as pixel value, foreground, background colour, brightness value.
Move the software of following steps as shown in Figure 5 on the interface controller:
(a) interface controller is provided with place value according to 8 demonstrations in the control register, and the display mode of LCD is set;
(b) interface controller is provided with the value of position according to number of colours in the control register, and the Show Color figure place of target LCD is set;
(c) interface controller is provided with the value of position according to pattern in the control register, and the character of the value in the judgment data register is provided with brightness value, foreground and the background colour of liquid crystal display displays;
(d) interface controller is according to the low level of directions X resolution value, the high position of directions X resolution value, and the low level of Y directional resolution value, the value of the high position of Y directional resolution value is provided with the resolution of target LCD;
(e) interface controller is provided with the coordinate position of target pixel points on the LCD according to the value of X address register and Y address register;
(f) interface controller increases the value that direction is provided with the position automatically according to address in the control register, and target LCD operation address is set to be increased along directions X or Y direction;
(g) according to the content of control register, interface controller is by the data line interface memory data register.
Industry LCD processor is according to above-mentioned steps, produce the write control signal of DRAM display-memory, and the video data of target pixel points write buffer memory in the DRAM display-memory by data register, produce the read control signal of control signal and DRAM display-memory then, industrial liquid crystal display displays is read and sent into to the data that are temporarily stored in the DRAM display-memory.Industry LCD processor is provided with the value of a CLEAR according to cls pattern among the control register rCMD after demonstration is finished, use the background colour of setting to carry out quick cls.Industry LCD processor is provided with the value of PW ON/OFFr according to backlight switch among the control register rCMD simultaneously, controls industrial backlight liquid crystal display lamp.

Claims (5)

1. the order register type interface module of an industrial LCD, comprise: the address wire interface, data line interface, the chip select line interface, read line interface, write line interface, it is characterized in that: described address wire interface and chip select line interface connecting interface controller, interface controller connects data register, X address register, Y address register, resolution register and control register respectively, data line interface, reads line interface and writes the equal connecting interface controller of line interface.
2. the order register type interface module of industrial LCD according to claim 1 is characterized in that: establish 20 needlework in the order register type interface of described industrial LCD.
3. the order register type interface module of industrial LCD according to claim 1 and 2, it is characterized in that: described resolution register is 4, the low level of directions X resolution value, the high position of directions X resolution value, the low level of Y directional resolution value, the high position of Y directional resolution value.
4. the order register type interface module of industrial LCD according to claim 1 and 2 is characterized in that: the software of operation following steps on the described interface controller:
(1) interface controller is provided with control register according to the address of address line interface and chip select line interface by data line interface;
(2) according to the content of control register, interface controller is by the data line interface memory data register.
5. the order register type interface module of industrial LCD according to claim 1 and 2, it is characterized in that: described step (1) comprises the steps:
(a) interface controller is provided with place value according to 8 demonstrations in the control register, and the display mode of LCD is set.
(b) interface controller is provided with the value of position according to number of colours in the control register, and the Show Color figure place of target LCD is set.
(c) interface controller is provided with the value of position according to pattern in the control register, and the character of the value in the judgment data register is provided with brightness value, foreground and the background colour of liquid crystal display displays.
(d) interface controller is according to the low level of directions X resolution value, the high position of directions X resolution value, and the low level of Y directional resolution value, the value of the high position of Y directional resolution value is provided with the resolution of target LCD.
(e) interface controller is provided with the coordinate position of target pixel points on the LCD according to the value of X address register and Y address register.
(f) interface controller increases the value that direction is provided with the position automatically according to address in the control register, and target LCD operation address is set to be increased along directions X or Y direction.
CN2010101629900A 2010-05-05 2010-05-05 Command register type interface module of industrial liquid crystal display Pending CN102237054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101629900A CN102237054A (en) 2010-05-05 2010-05-05 Command register type interface module of industrial liquid crystal display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101629900A CN102237054A (en) 2010-05-05 2010-05-05 Command register type interface module of industrial liquid crystal display

Publications (1)

Publication Number Publication Date
CN102237054A true CN102237054A (en) 2011-11-09

Family

ID=44887650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101629900A Pending CN102237054A (en) 2010-05-05 2010-05-05 Command register type interface module of industrial liquid crystal display

Country Status (1)

Country Link
CN (1) CN102237054A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108831370A (en) * 2018-08-28 2018-11-16 京东方科技集团股份有限公司 Display driving method and its device, display device and wearable device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1632849A (en) * 2004-12-08 2005-06-29 南开大学 Universal panel display controller and control method thereof
CN101211034A (en) * 2006-12-29 2008-07-02 群康科技(深圳)有限公司 Liquid crystal display module group
JP2009003457A (en) * 2001-12-27 2009-01-08 Renesas Technology Corp Display system and mobile phone using the same
CN201886740U (en) * 2010-05-05 2011-06-29 河南友利华系统工程有限公司 Command register type interface module of industrial liquid crystal display (LCD)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003457A (en) * 2001-12-27 2009-01-08 Renesas Technology Corp Display system and mobile phone using the same
CN1632849A (en) * 2004-12-08 2005-06-29 南开大学 Universal panel display controller and control method thereof
CN101211034A (en) * 2006-12-29 2008-07-02 群康科技(深圳)有限公司 Liquid crystal display module group
CN201886740U (en) * 2010-05-05 2011-06-29 河南友利华系统工程有限公司 Command register type interface module of industrial liquid crystal display (LCD)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108831370A (en) * 2018-08-28 2018-11-16 京东方科技集团股份有限公司 Display driving method and its device, display device and wearable device
CN108831370B (en) * 2018-08-28 2021-11-19 京东方科技集团股份有限公司 Display driving method and device, display device and wearable equipment
US11380245B2 (en) 2018-08-28 2022-07-05 Beijing Boe Optoelectronics Technology Co., Ltd. Display drive method, display drive apparatus, display apparatus, and wearable device

Similar Documents

Publication Publication Date Title
CN104571755B (en) Display device and its driving method with integrated touch panels
AU2019361842A1 (en) Electronic device comprising touch layer having opening
CN104750334A (en) Display device and driving method thereof
CN103105684A (en) Test method, device, system and test equipment of liquid crystal display module
CN103293995B (en) Based on the fieldbus communications module of microcontroller
CN103761942B (en) The numeral method of tool array display multiplexing algorithm and key control chip
CN201583942U (en) Device for online writing EDID by USB
CN201886740U (en) Command register type interface module of industrial liquid crystal display (LCD)
CN102105905B (en) Semiconductor integrated circuit device, remote controller for air conditioner
CN102237054A (en) Command register type interface module of industrial liquid crystal display
KR102533657B1 (en) Touch sensing circuit, touch controlling circuit, touch system and touch display device
CN101464752A (en) Electronic drawing board used for computer graphics
CN204965398U (en) Electron paper touch -sensitive screen, display device
CN202093787U (en) Low-cost unit for controlling TFT module with RGB joint
CN203746396U (en) Nixie tube display and key control chip with array type display multiplexing algorithm
CN106354688B (en) Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions
CN204178277U (en) Colored TFT speech-sound intelligent display terminal
CN204178688U (en) A kind of novel TFT intelligent display screen
CN205541828U (en) Color liquid crystal display of compatible ST7920 controller instruction
CN106874230B (en) Daughter board applied to PC/104 bus interface and method applied to daughter board
CN203179486U (en) Color screen module using parallel port communication
CN202957019U (en) Display device
CN106527244A (en) Portable intelligent display terminal
CN202976786U (en) Dot-matrix LCD (liquid crystal display) drive integrated circuit
CN202749074U (en) Intelligent display panel

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111109