Bolymin, Inc. ◆◆◆ LCD MODULE SPECIFICATION MODEL NO. BG24064A~207 series ver03 FOR MESSRS: ________________________________________________ ON DATE OF: ________________________________________________ APPROVED BY: ________________________________________________ BG24064A series -1- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ History of Version Version Contents NEW VERSION 01 Date Note 2006/06/06 SPEC. 02 MODIFY LED/EDGE/WHITE INFORMATIOM 2008/01/17 03 MODIFY DRAWING 2008/10/28 BG24064A series -2- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ CONTENTS 1. Numbering System 2. General Specification 3. Absolute Maximum Ratings 4. Electrical Characteristics 5. Optical Characteristics 6. Interface Description 7. Power supply for LCD Module and LCD operating voltage adjustment 8. Backlight information 9. Quality Assurance 10. Reliability 11. Appendix ( Drawing , EL, CCFL inverter data , SAP1024B controller data ) 11-1 Drawing 11-2 SAP1024B controller data 11-2.1 Display control instruction 11-2.2 Command definitions 11-2.3 Character code 11-2.4. Timing characteristics BG24064A series -3- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 1. Numbering System B G 24064 A G P L 0 3 5 6 1 2 4 7 B xxx 8 9 0 Brand Bolymin 1 Module Type C= character type G= graphic type P= TAB/TCP type 2 Format 2002=20 characters, 4 lines 12232= 122 x 32 dots 3 Version No. A type 4 LCD Color G=STN/gray Y=STN/yellow-green C=color STN B=STN/blue F=FSTN T=TN 5 LCD Type R=positive/reflective P=positive/transflective M=positive/transmissive N=negative/transmissive 6 Backlight type/color L=LED array/ yellow-green H=LED edge/white R=LED array/red G=LED edge/yellow-green D=LED edge/blue E=EL/white B=EL/blue C=CCFL/white 7 CGRAM Font J=English/Japanese Font E=English/European Font C=English/Cyrillic Font H=English/Hebrew Font 8 View Angle/ Operating Temperature T=Top/Normal Temperature W=Top/Wide Temperature C=9H/Normal Temperature 9 Special Code B=Bottom/Normal Temperature H=Bottom/Wide Temperature U=Bottom/Ultra wide Temperature 3=3 volt logic power supply n=negative voltage for LCD c=cable/connector xxx=to be assigned on data sheet (applied only on character type) O= COG type F= COF type t=temperature compensation for LCD p=touch panel DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 2. General Specification (1) Mechanical Dimension Item Standard Value Unit 240 × 64 dots Number of dots 180.0 x 65.0 x 15.1(Max)-LED array B/L Module dimension 187.0 x 65.0 x 11.9(Max)-LED white B/L, CCFL (L x W x H) mm 180.0 x 65.0 x 9.2(Max)- E/L or No B/L View area 133.0(W) × 39.0(H) mm Active area 127.16(W) × 33.88(H) mm Dot size 0.49(W) × 0.49(H) mm Dot pitch 0.53(W) × 0.53(H) mm (2) Controller IC: SAP1024B controller OR equivalent (3) Temperature Range Normal Wide Ultra Wide 0 ~+50℃ -20 ~+70℃ -30 ~+80℃ -10 ~+60℃ -30 ~+80℃ -30 ~+80℃ Operating Storage 3. Absolute Maximum Ratings Item Symbol Min Typ Max Unit Operating Temperature TOP -20 - +70 ℃ Storage Temperature TST -30 - +80 ℃ Input Voltage VI VSS - Vdd V Supply Voltage For Logic Vdd-Vss 0 - +7 V Supply Voltage For LCD Vdd-Vo 0 - 15 V LED Forward Current(array) IF - - 900 mA LED Forward Current(white IF - - 100 mA LED) BG24064A Series ver.02 -5- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 4. Electrical Characteristics Item Symbol Condition Min. Typ. Max. Unit Supply Voltage For Logic Vdd-Vss - 4.75 5.0 5.5 V Ta=-20℃ - 14.5 - V Ta=25℃ - 12.5 - V Ta=+70℃ - 10.5 - V Supply Voltage For LCD Vdd-Vo Input High Vol VIH - 2.2 - Vdd V Input Low Vol VIL - 0 - 0.8 V Output High Vol VOH - 2.4 - Vdd V Output Low Vol. VOL - - - 0.4 V Supply Current(no N.V built in) Idd Vdd=5V - 20.0 - mA Supply Current(with N.V built in) Idd Vdd=5V - 40.0 - mA Typ. Max. Unit 5. Optical Characteristics a. STN Item Symbol Condition Min. (V)θ CR≧2 10 45 deg (H)φ CR≧2 -30 30 deg CR - 3 Response Time T rise - 100 150 ms 25℃ T fall - 150 200 ms Symbol Condition Min. Typ. Max. Unit (V)θ CR≧3 10 60 deg (H)φ CR≧3 -45 45 deg CR - 5 Response Time T rise - 100 150 ms 25℃ T fall - 150 200 ms View Angle Contrast Ratio - b. FSTN Item View Angle Contrast Ratio BG24064A Series ver.02 - -6- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 5.1 Definitions ■View Angles ■Contrast Ratio Z ( Visual angle direction ) Brightness at selected state ( BS ) Brightness at non-selected state ( Bns ) Selected state CR = Brightness (%) θ LCD X φ Y Non-selected state Bs Bns Operating voltage for LCD driving ( Best visual angle direction ) ■Response time Selected Condition Nonselected Condition 90 % 100 % Brightness Nonselected Condition 10 % tr td Rise Time BG24064A Series ver.02 Decay Time ( fall time tf ) -7- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 6. Interface Pin Function Pin No. Symbol 1 FG Frame ground (Connected to bezel ) 2 Vss GND 3 Vdd Power supply ( +5 V ) 4 Vo Power supply for LCD driver 5 WR L Data write. Write data into SAP1024B when WR = L 6 RD L Data read. Read data from SAP1024B when RD = L 7 CE L L: Chip enable 8 C/D H/L 9 Vee 10 RESET H/L H: Normal; L: Initialize SAP1024B 11 DB0 H/L Data bus line 12 DB1 H/L Data bus line 13 DB2 H/L Data bus line 14 DB3 H/L Data bus line 15 DB4 H/L Data bus line 16 DB5 H/L Data bus line 17 DB6 H/L Data bus line 18 DB7 H/L Data bus line 19 FS H/L Pins for selection of font; H: 6 * 8, L: 8 * 8 20 N.C BG24064A Series ver.02 Level Description WR=L, C/D=H: Command Write C/D=L: Data write RD=L, C/D=H: Status Read C/D=L: Data read Negative Voltage output -13.6 V No connection -8- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 7. Power Supply for LCD Module and LCD Operating Voltage a Adjustment * LCM operating on " DC 5V " input with built-in negative voltage and temperature compensation circuit LCD Module block diagram 3 4 9 Ω 2 LCM operating on " DC 5V " input with built-in negative voltage LCM Vdd DC 5V built-in N.V generator or Temp. compensation circuit Vss VR Vo Vee -12.6V *(Option) LCM operating on " DC 5V " input with external negative voltage LCM Vdd DC 5V Vss Vo VR typ.:12.5V Negative volt example -10v BG24064A Series ver.02 -9- DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 8. Backlight Information 8.1 Specification (1)LED array / yellow-green Parameter Symbol Min Typ Max Unit Test Condition Supply Current ILED ─ 450 680 mA V=4.2V Supply Voltage V - 4.2 4.3 V Reverse Voltage VR - - 8 V Luminous Intensity IV - - - cd/m2 ILED=450mA Wave Length λp nm ILED=450mA Hr. V≦4.2V 575 - Life Time 100000 Color - Yellow Green (2) LED edge / white Parameter Symbol Min Typ Supply Current ILED - Supply Voltage V Reverse Voltage Unit Test Condition 75 mA V=3.1V - 3.1 V - VR - - 8 V - Luminous Intensity IV ─ 80 - cd/m2 ILED=75mA Wave Length λp ─ - nm ILED=75mA Life Time - - - Hr. V≦3.1V 20000 Color BG24064A Series ver.02 Max White - 10 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (3) EL / white Parameter Symbol Min Typ Max Unit Test Condition Drive Voltage Vmax ─ 110 170 Vrms 25˙C Drive Wave Fmax - 400 1000 Hz 25˙C Brightness 48 60 - cd/m2 110V/400Hz Power Consumption - 80 - mW 110V/400Hz X - 0.3173 - - 110V/400Hz Y - 0.3995 - - 110V/400Hz Chromatism Life time 5000 hour 110V/400Hz Color White - Light on 110V/400Hz (4) CCFL No.2 3 4 5 shall be lighted at constant lamp current ( IL : 5.0 mA ) and shall be measured 3 minutes after the table below. The measurement shall be conducted on the condition that ambient temperature : 25 ± 2 ℃humidity : 30 ~ 85%, with no wind. NO Items Requirements Remarks 1 Lamp Current (IL) 5.0 ± 0.5 (mArms) 2 Lamp Voltage (VL) 205 ± 20 (Vrms) Lamp Power (P) 3 1.03 (Wrms) VL * IL (Reference Value) 4 Luminance 250 min (cd/m) Note 1 Chromaticity (X) 0.308 ± 0.01 5 Note 2 (Y) 0.330 ± 0.01 400 MAX (25℃) (Vrms) 6 Starting Voltage (VS) Note 3 600 MAX (0℃) (Vrms) 7 Life time 10000 min (h) Note 4 Note 1. The average value is measured though the glass. Note 2. The tube center / center point shall be measured. Note 3. All the tubes shall be lighted. Slidein method shall be used for voltage application. Note 4.Life Judgement conditions. A The luminance becomes 50% of the initial luminance. B Not normal lighting. C When a severe appearance failure is found. BG24064A Series ver.02 - 11 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 8.2 Backlight driving methods a. LED B/L drive from A.K directly a.1 array (yellow-green) LCM + A (recommending) RL=2.2 Ω RL=0 Ω +5V +4.2V Backlight _ K a.2 edge / white b. E/L B/L driven from A.K cable directly EL Panel Backlight +110V INVERTER A AC DC → LCM DC +5V K BG24064A Series ver.02 - 12 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ c. CCFL B/L drive directly from connector LCM connector CCFL B/L BG24064A Series ver.02 AC← DC IVFL-03 Bolymin DC+5V - 13 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 9. Quality Assurance ◆ Screen Cosmetic Criteria No. Defect Judgement Criterion Partition A)Clear Size:d mm Acceptable Qty in active area d ≦0.1 Disregard 0.1<d≦0.2 6 0.2<d≦0.3 2 0.3<d 1 Spots 0 Note:Including pin holes and defective dots which must be within one pixel size. Minor B)Unclear Size:d mm Acceptable Qty in active area d ≦0.2 Disregard 0.2<d≦0.5 6 0.5<d≦0.7 2 0.7<d 0 Size:d mm Acceptable Qty in active area d≦0.3 2 Bubbles in Polarizer Disregard 0.3<d≦1.0 3 1.0<d≦1.5 1 1.5<d Minor 0 In accordance with spots cosmetic criteria. When 3 Scratch the light reflects on the panel surface, the scratches Minor are not to be remarkable. 4 Allowable Density Above defects should be separated more than 30mm each other. Minor Not to be noticeable coloration in the viewing area 5 Coloration of the LCD panels. Back-light type should be judged with back-light Minor on state only. BG24064A Series ver.02 - 14 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 10. Reliability ■Content of Reliability Test Environmental Test No. Test Item Content of Test Test Condition 1 High Temperature storage Endurance test applying the high storage temperature for a long time. 60℃ 2 Low Temperature storage Endurance test applying the high storage temperature for a long time. 3 High Temperature Operation Endurance test applying the electric stress (Voltage & Current) and the thermal stress to the element for a long time. 4 Low Temperature Operation Endurance test applying the electric stress under low temperature for a long time. 5 High Temperature/ Humidity Storage Endurance test applying the high temperature and high humidity storage for a long time. Endurance test applying the electric High Temperature/ stress (Voltage & Current) and 6 Humidity Operation temperature / humidity stress to the element for a long time. 7 Temperature Cycle Endurance test applying the low and high temperature cycle. -10℃ 25℃ 60℃ 200hrs -10℃ 200hrs 50℃ 200hrs 0℃ 200hrs 70℃,90%RH 96hrs 40℃,90%RH 96hrs -10℃/60℃ 10 cycles 30min Applicable Standard —— —— —— —— —— —— —— 5min 30min 1 cycle Mechanical Test 8 Vibration test 9 Shock test 10 Atmospheric pressure test 11 Static electricity test Endurance test applying the vibration during transportation and using. 10~22Hz→1.5mmp-p 22~500Hz→1.5G —— Total 0.5hrs Constructional and mechanical endurance test applying the shock during transportation. 50G Half sign wave 11 msedc 3 times of each direction —— Endurance test applying the atmospheric pressure during transportation by air. Others 115mbar 40hrs —— Endurance test applying the electric stress to the terminal. VS=800V,RS=1.5kΩ CS=100pF 1 time —— ***Supply voltage for logic system=5V. Supply voltage for LCD system = Operating voltage at 25℃ BG24064A Series ver.02 - 15 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 11. Appendix ( Drawing , EL , CCFL inverter data , SAP1024B controller data) 11-1 Drawing LED array backlight and EL backlight) BG24064A Series ver.02 - 16 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 11-2 SAP1024B controller data 11-2.1 Display control instruction The LCD Module has built in a SAP1024B LSI controller, It has an 8-bit parallel data bus and control lines for writing or reading through an MPU interface, it has a 128-word character generator ROM ( refer to Table 1. ), which can control an external display RAM of up to 8K bytes. Allocation of text, graphics and external character generator RAM can be made easily and the display window can be moved freely within the allocated memory range. •RAM Interface The external RAM is used to store display data( text, graphic and external CG data ). It can be freely allocated to the memory area( 8 Kbyte max ). Recommend 0000H TEXT AREA 0C00H GRAPHIC AREA 1800H CG RAM AREA 2000H BG24064A Series ver.02 - 17 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ •Flowchart of communications with MPU (1)Status Read A status check must be performed before data is read or written. Status check The Status of SAP1024B can be read from the data lines. RD L WR H CE L C/D H Do to D7 H The SAP1024B status word format is as follows: LSB MSB STA7 STA6 STA5 STA4 STA3 STA2 STA1 STA0 D7 D6 D5 D4 D3 D2 D1 D0 STA0 Check command execution capability 0:Disable 1:Enable STA1 Check data read/write Capability 0:Disable 1:Enable STA2 Check Auto mode data read capability 0:Disable 1:Enable STA3 Check Auto mode data write capability 0:Disable 1:Enable STA4 Not used STA5 Check controller operation capability STA6 Error flag. Used for Screen Peek and Screen copy commands. STA7 Check the blink condition BG24064A Series ver.02 0:Disable 1:Enable 0:No error 1:Error 0:Disable off 1:Normal display - 18 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (Note 1) It is necessary to check STA0 and STA1 at the same time. There is a possibility of erroneous operation due to a hardware interrupt. (Note 2) For most modes STA0/STA1 are used as a status check. (Note 3) STA2 and STA3 are valid in Auto mode; STA0 and STA1 are invalid. Status Checking flow (a) (b) (Note 4) When using the MSB=0 command, a Status Read must be performed. If a status check is not carried out, the SAP1024B cannot operate normally, even after a delay time. The hardware interrupt occurs during the address calculation period (at the end of each line). If a MSB=0 command is sent to the SAP1024B during this period, the SAP1024B enters Wait status. If a status check is not carried out in this state before the next command is sent, there is the possibility that the command or data date will not be received. BG24064A Series ver.02 - 19 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (2)Setting date When using the SAP1024B, first set the data, then set the command. Procedure for sending a command (a)The case of 1 date (Note) (b)The case of 2 data When sending more than two data, the last datum (or last two data)is valid. BG24064A Series ver.02 - 20 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 11-3.2 Command definitions COMMAND CODE D1 D2 FUNCTION REGISTERS SETTING 00100001 00100010 00100100 X address Date Low address Y address 00H High address Set Cursor Pointer Set Offset Register Set Address Pointer SET CONTROL WORD 01000000 01000001 01000010 01000011 Low address Columns Low address Columns High address 00H High address 00H Set Text Home Address Set Text Area Set Graphic Home Address Set Graphic Area MODE SET 1000×000 1000×001 1000×011 1000×100 10000××× 10001××× - - - - - - - - - - - - OR mode EXOR mode AND mode Text Attribute mode Internal CG ROM mode External CG RAM mode DISPLAY MODE 10010000 1001××10 10001××11 100101×× 100110×× 100111×× - - - - - - - - - - - - Display off Cursor on, blink off Cursor on, blink on Text on, graphic off Text off, graphic on Text on, graphic on CURSOR PATTERN SELECT 10100000 10100001 10100010 10100011 10100100 10100101 10100110 10100111 - - - - - - - - - - - - - - 1-line cursor 2-line cursor 3-line cursor 4-line cursor 5-line cursor 6-line cursor 7-line cursor 8-line cursor DATA AUTO READ/WRITE 10110000 10110001 10110010 - - - - - - Set Data Auto Write Set Data Auto Read Auto Reset DATA READ/WRITE 11000000 11000001 11000010 11000011 11000100 11000101 Data - Data - Data - - - - - - - Data Write and Increment ADP Data Read and Increment ADP Data Write and Decrement ADP Data Read and Decrement ADP Data Write and Nonvariable ADP Data Read and Nonvariable ADP SCREEN PEEK 11100000 - - Screen Peek X : invalid BG24064A Series ver.02 - 21 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ COMMAND CODE SCREEN COPY 11101000 BIT SET/RESET D1 D2 FUNCTION Screen Copy 11110××× - - Bit Reset 11111××× - - Bit Set 1111×000 - - Bit 0 (LSB) 11111×001 - - Bit 1 11111×010 - - Bit 2 11111×011 - - Bit 3 11111×100 - - Bit 4 11111×101 - - Bit 5 11111×110 - - Bit 6 11111×111 - - Bit 7 (MSB) X : invalid •Setting registers CODE HEX. 00100001 21H 00100010 00100100 FUNCTION D1 D2 SET CURSOR POINTER X ADRS Y ADRS 22H SET OFFSET REGISTER DATA 00H 24H SET ADDRESS POINTER LOW ADRS HIGH ADRS (1)Set Cursor Pointer The position of the cursor is specified by X ADRS and Y ADRS. The cursor position can only be moved by this command. Data read/write from the MPU never changes the cursor pointer. X ADRS and Y ADRS are specified as follows. X ADRS 00H to 4FH (lower 7 bits are valid) Y ADRS 00H to 1FH (lower 5 bits are valid) Single-Scan X ADRS 00 to 4FH Y ADRS 00H to 0FH BG24064A Series ver.02 - 22 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (2)Set Offset Register The offset register is used to determine the external character generator RAM area. The SAP1024B has a 16-bit address bus as follows. SAP1024B assign External character generator, when character code set 80H TO FFH in using internal character generator. Character code 00H to 80H assign External character generator, when External generator mode. The senior five bits define the start address in external memory of the CG RAM area. The next eight bits represent the character code of the character. In internal CG ROM, character codes 00H to 7FH represent the predefined “internal” CG ROM characters, and codes 80H to FFH represent the user’s own “external” characters. In external CG ROM mode, all 256 codes from 00H to FFH can be used to represent the user’s own characters. The three least significant bits indicate one of the eight rows of eight dots that define the character’s shape. BG24064A Series ver.02 - 23 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ The relationship between display RAM address and offset register Offset register data CG RAM hex. address (start to end) 00000 0000 to 07 FFH 00001 0800 to 0FFFH 00010 1000 to 17FFH 11100 E000 to E7FFH 11101 E800 to EFFFH 11110 F000 to F7FFH 11111 F800 to FFFFH (Example 1) Offset register 02H Character code 80H Character generator RAM start address 0001 0100 0000 0000 1 4 0 0 (Example 2) The relationship between display RAM data and display characters γ and ζare displayed by character generator RAM. BG24064A Series ver.02 - 24 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net H Bolymin, Inc. ◆◆◆ (3)Set Address Pointer The Set Address Pointer command is used to indicate the start address for writing to (or reading from)external RAM. The Flowchart for Set Address Pointer command BG24064A Series ver.02 - 25 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ •Set Control Word CODE HEX. FUNCTION 01000000 40H Set Text Home Address 01000001 41H Set Text Area 01000010 42H Set Graphic Home Address 01000011 43H Set Graphic Area D1 D2 Low address High address Columns 00H Low address High address Columns 00H The home address and column size are defined by this command. (1)Set Text Home Address The starting address in the external display RAM for text display is defined by this command. The text home address indicates the leftmost and uppermost position. The relationship between external display RAM address and display position TH TH+CL TH+TA TH+TA+CL (TH+TA)+TA TH+2TA+CL (TH+2TA)+TA TH+3TA+CL TH+(n-1)TA TH+(n-1)TA+CL TH:Text home address TA:Text area number (columns) CL:Columns are fixed by hardware (pin-programmable). BG24064A Series ver.02 - 26 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (Example) Text home address Text area :0000H :0020H :32 Columns :4 Lines 0000H 0001H 001EH 001FH 0020H 0021H 003EH 002FH 0040H 0041H 005EH 005FH 0060H 0061H 007EH 007FH (2)Set Graphic Home Address The starting address of the external display RAM used for graphic display is defined by this command. The graphic home address indicates the leftmost and uppermost position. The relationship between external display RAM address and display position GH GH+GL GH+GA GH+GA+CL (GH+GA)+GA GH+2GA+CL (GH+2GA)+GA GH+3GA+CL GH+(n-1)GA GH+(n-1)GA+CL GH:Graphic home address GA:Graphic area number (columns) CL:Columns are fixed by hardware (pin-programmable). BG24064A Series ver.02 - 27 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (Example) Graphic home address :0000H Graphic area :0020H :32 Columns :2 Lines 0000H 0001H 001EH 001FH 0020H 0021H 003EH 003FH 0040H 0041H 005EH 005FH 0060H 0061H 007EH 007FH 0080H 0081H 009EH 009FH 00A0H 00A1H 00BEH 00BFH 00C0H 00C1H 00DEH 00DFH 00E0H 00E1H 00FEH 00FFH 0100H 0101H 011EH 011FH 0120H 0121H 013EH 013FH 0140H 0141H 015EH 014FH 0160H 0161H 017EH 017FH 0180H 0181H 109EH 019FH 01A0H 01A1H 01BEH 01BFH 01C0H 01C1H 01DEH 01DFH 01E0H 01E1H 01FEH 01FFH BG24064A Series ver.02 - 28 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (3)Set Text Area The display columns are defined by the hardware Setting. This command can be used to adjust the columns of the display. (Example) LCD size 20 columns, 4lines Text home address 0000H Text area 0014H Set 32 columns, 4 Lines 0000 0001 ……… 0013 0014 ……… 001F 0014 0015 ……… 0027 0028 ……… 0033 0028 0029 ……… 003B 003C ……… 0047 003C 003D ……… 004F 0050 ……… 005B LCD (4)Set Graphic Area The display columns are defined by the hardware setting. This command can be used to adjust the columns of the graphic display. BG24064A Series ver.02 - 29 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (Example) LCD size 20 columns, 2lines Graphic home address :0000H Graphic are :0014H Set 32 columns, 2 Lines 0000 0001 ……… 0013 0014 ……… 001F 0014 0015 ……… 0027 0028 ……… 0033 0028 0029 ……… 003B 003C ……… 0047 003C 003D ……… 004F 0050 ……… 005B 0050 0051 ……… 0063 0064 ……… 006F 0064 0065 ……… 0077 0078 ……… 0083 0078 0079 ……… 008B 008C ……… 0097 008C 008D ……… 009F 00A0 ……… 00AB 00A0 00A1 ……… 00B3 00B4 ……… 00BF 00B4 00B5 ……… 00C7 00C8 ……… 00D3 00C8 00C9 ……… 00DB 00DC ……… 00E7 00DC 00DD ……… 00EF 00F0 ……… 00FD 00F0 00F1 ……… 0103 0104 ……… 011F 0104 0105 ……… 0127 0128 ……… 0123 0128 0129 ……… 013B 0013C ……… 00147 013C 013D ……… 014F 0150 ……… 015B LCD If the graphic area setting is set to match the desired number of columns on the LCD, the addressing scheme will be automatically modified so that the start address of each line equals the end address of the previous line +1. BG24064A Series ver.02 - 30 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ •Mode set CODE 1000×000 FUNCTION OR Mode OPERAND - 1000×001 EXOR Mode - 1000×011 AND Mode - 1000×100 TEXT ATTRIBUTE Mode - 10000××× Internal Character Generator Mode - 10001××× External Character Generator Mode - X:invalid The display mode is defined by this command. The display mode does not change until the next command is sent. The logical OR, EXOR, AND of text or graphic display can be displayed. In Internal Character Generator mode, character codes 00H to 7FH are assigned to the built-in character generator ROM. The character codes 80H to FFH are automatically assigned to the external character generator RAM. (Example) (Note)Attribute functions can only be applied to text display, since the attribute data is placed in the graphic RAM area. BG24064A Series ver.02 - 31 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ Attribute function The attribute operations are Reverse display, Character blink and Inhibit. The attribute data is written into the graphic area which was defined by the Set Control Word command. Only text display is possible in Attribute Function mode; graphic display is automatically disabled. However, the Display Mode command must be used to turn both Text and Graphic on in order for the Attribute function to be available. The attribute data for each character in the text area is written to the same address in the graphic area. The Attribute function is defined as follows. Attribute RAM 1byte × × × × d3 d2 d1 d0 FUNCTION 0 0 0 0 Normal display 0 1 0 1 Reverse display 0 0 1 1 Inhibit display 1 0 0 0 Blink of normal display 1 1 0 1 Blink of reverse display 1 0 1 1 Blink of inhibit display d3 d2 d1 d0 X:invalid •Display mode CODE FUNCTION 10010000 1001××10 Display off OPERAND - Cursor on, blink off - 1001××11 Cursor on, blink on - 100101×× Text on, graphic off - 100110×× Text off, graphic on - 100111×× Text on, graphic on - BG24064A Series ver.02 X:invalid - 32 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ (Note)It is necessary to turn on “Text display” and “Graphic display” in the following cases. a)Combination of text/graphic display b)Attribute function •Cursor pattern select CODE FUNCTION OPERAND 10100000 1-line cursor - 10100001 2-line cursor - 10100010 3-line cursor - 10100011 4-line cursor - 10100100 5-line cursor - 10100101 6-line cursor - 10100110 7-line cursor - 10100111 8-line cursor - When cursor display is ON, this command selects the cursor pattern in the range 1 line to 8 lines. The cursor address is defined by the Cursor Pointer Set command. BG24064A Series ver.02 - 33 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ •Data Auto Read/Write CODE HEX. FUNCTION OPERAND 10110000 B0H Set Data Auto Write - 1011001 B1H Set Data Auto Read - 10110010 B2H Auto Reset - The command is convenient for sending a full screen of data from the external display RAM. After setting Auto mode, a Data Write (or Read) command is need not be sent between each datum. A Data Auto Write (or Read) command must be sent after a Set Address Pointer command. After this command, the address pointer is automatically incremented by 1 after each datum. In Auto mode, the SAP1024B cannot accept any other commands. The Auto Reset command must be sent to the T69963C after all data has been sent, to clear Auto mode. (Note)A Status check for Auto mode (STA2, STA3 should be checked between sending of each datum. Auto Reset should be performed after checking STA3=1 (STA2=1.) Refer to the following flowchart. BG24064A Series ver.02 - 34 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ a)Auto Read mode BG24064A Series ver.02 b)Auto Write mode - 35 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ BG24064A Series ver.02 - 36 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ •Date Read/Write CODE HEX. FUNCTION OPERAND 11000000 C0H Data Write and Increment ADP Data 11000001 C1H Data Read and Increment ADP - 11000010 C2H Data Write and Decrement ADP Data 11000011 C3H Data Read and Decrement ADP - 11000100 C4H Data Write and Nonvariable ADP Data 11000101 C5H Data Read and Nonvariable ADP - This command is used for writing data from the MPU to external display RAM, and reading data from external display RAM to the MPU. Data Write/Data Read should be executed after setting address using Set Address Pointer command. The address pointer can be automatically incremented or decremented using this command. (Note)This command is necessary for each 1-byte datum. Refer to the following flowchart. BG24064A Series ver.02 - 37 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ •Screen Peek CODE HEX. FUNCTION OPERAND 11100000 E0H Screen Peek -e This command is used to transfer 1 byte of displayed data to the data stack; this byte can then be read from the MPU by data access. The logical combination of text and graphic display data on the LCD screen can be read by this command. The status (STA6) should be checked just after the Screen Peek command. If the address determined by the Set Address Pointer command is not in the graphic area, this commands is ignored and a status flag (STA6) is set. Refer to the following flowchart. BG24064A Series ver.02 - 38 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ •Screen Copy CODE HEX. FUNCTION OPERAND 11101000 E8H Screen Copy - This command copies a single raster line of data to the graphic area. The start point must be set using the Set Address Pointer command. (Note 1) If the attribute function is being used, this command is not available. (With Attribute data is graphic area data.) Refer to the following flowchart. •Bit Set/Reset BG24064A Series ver.02 - 39 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ CODE FUNCTION OPERAND 11110××× Bit Reset - 11111××× Bit Set - 1111×000 Bit 0 (LSB) - 1111×001 Bit 1 - 1111×010 Bit 2 - 1111×011 Bit 3 - 1111×100 Bit 4 - 1111×101 Bit 5 - 1111×110 Bit 6 - 1111×111 Bit 7 (MSB) - X:invalid This command use to set or reset a bit of the byte specified by the address pointer. Only one bit can be set/reset at a time. Refer to the following flowchart. BG24064A Series ver.02 - 40 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ BG24064A Series ver.02 - 41 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 11-3.3 Character code U pper 4 b it L ow er 4 b it LLLL LLLH LLHL LLHH LHLL LHLH LHHL LHHH LLLL LLLH LLHL LLHH LHLL LHLH LHHL LHHH HLLL HLLH HLHL HLHH HHLL HHLH HHHL HHHH BG24064A Series ver.02 - 42 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net Bolymin, Inc. ◆◆◆ 11-3.4. Timing characteristics Bus Timing ( Vss= 0 V , Vdd = 5 V ) Item Symbol Min Typ Max Unit C/D Set-up Time tCDS 100 - - ns C/D Hold Time tCDH 10 - - ns 80 - - ns CE,RD,WR Pulse Width tCDS,tRD,tWR Data Set-up Time tDS 80 - - ns Data Hold Time tDH 40 - - ns Access Time tACC - - 150 ns Output Hold Time tOH 10 - 50 ns C /D tC D S tC D H CE t C E ,t R D ,t W R R D ,W R tD S D 0 to D 7 ( W R IT E ) tD H D 0 to D 7 ( READ) tA C C BG24064A Series ver.02 tO H - 43 - DEMA Electronic AG | Phone: +49 (0)89 28 69 41 0 | Fax: +49 (0)89 28 35 09 | Email: [email protected] | Web: http://www.dema.net
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement