T6936C TOSHIBA | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 46
Technical content
TOSHIBA CMOS DIGITAL INTEGRATED CIRCUIT SILICON MONOLITHIC DOT MATRIX LCD CONTROL LSI The T6963C is an LCD controller designed to be used with LCD control driver LSIs and data display memories. The device has an 8-bit parallel data bus and control lines for reading or writing through an MPU interface. It oo N, can be directly connected to a TMPZ-80. —— It has a 128-word character generator ROM which can Ww se << control an external display RAM of up to 64 Kbytes. ZB —— 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. QFP67-P-1420-0.80 The device supports a very broad range of LCD formats Weight: 1.2g (typ.) by allowing selection of different combinations via a set of programmable inputs. It can be used in text, graphic and combination text-and-graphic modes, and includes various attribute functions.
FEATURES
© Display format (pin-selectable) Columns : 32, 40, 64, 80 Lines : 2, 4, 6, 8, 10, 12, 14, 16, 20, 24, 28, 32 The combination of number of columns and number of lines must not cause the frequency to exceed 5.5 MHz. (See Fig. 2) @ Character font (pin-selectable) Horizontal dots: 5, 6, 7, 8 Vertical dots: 8 (fixed) It is necessary to set a character font in Graphic mode just as in Text mode. The oscillation frequency does not change with the font selection. © Display duty : 1/16 to 1/128 @ A 128-word character generator ROM (code 0101) T6963C-0101 is built in as standard. 961001EBA2 @ TOSHIBA is continually working to improve the quality and the reliability of its products, Nevertheless, semiconductor devices in general can malfunction or ‘all due to their inherent electrical ensivty and vulnerability to physical stress. ts the responsibilty of the buyer, wien tlising TOSHIBA products, to observe standards of safety, and to avoid situations in which a malfunction or failure of a TOSHIBA product could cause loss of human life, bodily injury or damage to property. In developing your designs, please ensure that TOSHIBA products are used within specified operating ranges as set forth in the most recent products specifications. Also, please keep in mind the precautions and conditions set forth in the TOSHIBA Semiconductor Reliability Handbook. @ The products described in this document are subject to foreign exchange and foreign trade control laws. @ The information contained herein is presented only as a guide for the applications ‘of our products. No responsibility is assumed by TOSHIBA CORPORATION for any infringements of intellectual property or other rights of the third parties which may result from its use. No license is granted by implication or otherwise under any intellectual property or other rights of TOSHIBA CORPORATION or others e The information contained herein is subject to change without notice. 1997-04-07 1/46
@ External display memory : 64 KB max The addresses in display memory of the text area, graphic area and external character generator area are determined by software. @ Read or Write operations from the CPU do not disturb the display. © A crystal oscillator circuit is built in. The oscillation frequency is adjusted according to the display size. If using an external clock, use the XI pin as the clock input. (XO open.) External capacitors Crystal oscillation : 20 to 30 pF Ceramic oscillation : 30 to 100 pF Built-in feedback resistor : 900 kO. (typ.) @ Toshiba LCD driver LSIs (other than these with a built-in RAM) can be connected to the device. @ External display RAM must be static RAM. The T6963C cannot refresh D-RAM. @ The attribute functions can only be used in Text mode. They cannot be used in Graphic or Combination Character mode. BLOCK DIAGRAM ad0 to ad15 (TO/FROM RAM) dO to d7 (TO/FROM RAM) a es POINTER POINTER POINTER REGISTER LATCH BUFFER ee a es GRAPHIC i c= CONTROL RAM, CIRCUIT CONTROL TT | (cen Sp ene es a ae CONTROL CONTROL aren BUFFER LATCH LATCH BUFFER STACK contro. [| Generator | | conTROL DO to D7 (TO/FROM CPU) xl xO CDATA, LP, FR, ED, HOD, LOD HscP, LSCP 1997-04-07 2/46
2 & cele f tS EL een veusgnase E2o8kess33issesees3see 5453 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 uP pss conta ff 56 FR S7 32 fjec cui pfse a1 fevw cH 59 30 fh d7 DSOPN ff 60 T6963C 29 de Voo 61 28 fy ds (Top view) spset If 62 27 voo Vss § 63 26904 T2 fea 25 d3 Ti es 24 dz xi pf 66 23 yt ‘xO 67 22 do 1203 4 5 6 7 8 9 1011 12:13 14-15 16 17 18:19 20 21 Khe sree en ere oe ee Sie io ly o geese eb eessesesagtek $ PIN FUNCTIONS Pins for selection of LCD size DUAL [mos [t[itt[tfa|H[alH{t[t}[t[tfa|H [ala pe EO Ce ee ee ee ce ce cc unes | 2 | 4 [6 | 8 [10[ 12] 14] 16] 4 | 8 | 12] 16 | 20 | 24 | 28 | 32 | v-pors| 16 | 32 [ 48 | 64 | 80 [ 96 [112]128] 32 | 64 | 96 [128] Po SCREEN SCREENS wp? woz [#]L[AI1] MD3 Input | Pins for selection of number of columns IMD3. [| H|H/{L | Lt | [Columns | 32 | 40 [ 64 | 80 | Fs0 FS1 Input | Pins for selection of font DO to D7 Data I/O pins between CPU and T6963C (D7 is MSB) Data Write. Write data into T6963C when WR=L. | RD [| Input [Data Read. Read data from T6963C when RD=L. Chip Enable for T6963C. CE must be L when CPU communicates with T6963C. 1997-04-07 3/46
fenoe[ vow iS RD =L --::: C/D=H : Status Read C/D=L : Data Read H +++ Normal (T6963C has internal pull-up resistor) RESET Input |L -----: Initialize T6963C. Text and graphic have addresses and text and graphic | | eg a et te nt Control pin for external DC/DC. DSPON is L when HALT is L or RESET is L. pUAL H = Single-Scan L +++ Sending data by simple serial method Speer] input [Upper screen | HOD, ED | €D | HOD, ED | #D wm ce0 at DUAL=H Chip enable pin for display memory in the address range (LoD) Output _ 0000H to O7FFH : LOD at DUAL=L_ Serial data output for odd columns in lower area of LCD cel at DUAL=H = Chip enable pin for display memory in the address range cei Output — 0800H to OFFFH (LSCP) LScP at DUAL=L_ Shift clock pulse output for column drivers in lower area of LCD [| [Output] Chip enable pin for display memory of any address ————S—S ad15 (ad15=L_ : for upper area of LCD, ad15=H : for lower area of LCD) SDSEL=L : Data output for columns in both upper and lower areas of LCD [vop | — [Power supply (50V) SSCS [vss | — [Power supply (OW) ——SSSSSSSSSSSCC SY 9997-04-07 4/46
e@ After power on, it is necessary to reset. RESET is kept L between 5 clocks up (oscillation clock). @ When HALT=L, the oscillation stops. The power supply for the LCD must now be turned off, to protect the LCD from DC bias. @ The HALT function includes the RESET function. @ The column/line counter and display register are cleared by RESET. (Other registers are not cleared.) Disable the display using the clear-display register. @ The status must be checked before data or commands are sent. The MSB =0 status check must be done in particular. There is a possibility of erroneous operation due to a hard interrupt. @ STAO and STA1 must be checked at the same time. When a command is executed, data transmission errors may occur. @ The T6963C can only handle one byte per machine cycle (16 clocks). It is impossible to send more than two data in a machine cycle. @ When using a command with operand data, it important to send the data first, and then execute the command. @ The character codes used by the T6963C are different from ASCII codes. 1997-04-07 5/46
@ State after RESET/HALT (Fig. 1) a a [rR SCdS [bsron Cd H : Level H L : Level L F : Floating (high impedance) KO : Test signal VEND _ : Test signal (Note 1) : In Attribute mode, H or L according to state of graphic pointer (Note 2) : In Attribute mode, data of graphic pointer 1997-04-07 6/46
@ The relationship between number of row/column and oscillation clock (Fig. 2) The frequency of the crystal oscillator is adjusted by the following formula. fosc: Frequency of oscillation fscp : Frequency of shift clock (fscp =fosc/2) fp: Frequency of Frame M__: Number of characters on one line (number of dots on one line = 8M) For all font sizes (e.g. 7x8, 6x8, 5x8) the oscillation frequency remains constant. N — : Number of rows (duty = 1/8N) 8M 8N 1 =— x8N=— fscp fr fosc =fpx64x2xMxN (fp =60 Hz) UNIT: [MHz] we fe | [| ow | | 0.492 | 0614 | 0.983 | 1.229 | 1146 0.983 1.229 1.966 | 2.458 | , ases [1.229 [1966 [2458 | 1966 | 2.458 | 3.932 | 4.915 | | 2.949 | 3.686 5.898 1966 [2456 | 3992 [4915 | [3932 | a915_| 7.864 | 9.830 [2458 | 3.072 4.915 6.144 1/80 9.830_| 12.288 [2909 [3.686 | 5.898 5.898 ues [3440 | 4300 | 6881 | 8.602 3.932 | 4915 | 7.864 9.830 1/128 7.864 9.830 15.729 19.660 (Note 1) Upper -*- Single-Scan, lower Dual-Scan at fp =60 Hz 9997-04-07 7/46
@ RAM Interface The external RAM is used to store display data (text, graphic and external CG data). With single-scan, text data, graphic data and external CG data can be freely allocated to the memory area (64 KB max). With dual-scan, LCDI is allocated to 0000H to 7FFFH (32 KB max), LCDII is allocated to 8000H to FFFFH (32 KB max). Text data, graphic data and external CG data can be freely allocated in LCDI . In LCDII, the same addresses must be allocated as in LCDI, except ad15. ad15 determines selection of LCDI or LCDII. It can be use the address decoded signals ce0 (0000 to O7FFH), ce1 (0800 to OFFFH) within 4 KB. ce0 and ceT allow decoding of addresses in the ranges (0000 to 07FFH) and (0800 to OFFFH) respectively within a 4-KB memory space. (Example) (1) Single-Scan (2) Dual-Scan 0000H 000K 8000H TEXT TEXT AREA AREA TEXT SFFFH BFFFH GRAPHIC GRAPHIC AREA AREA AREA T7FFH F7FFH AREA AREA 7FEFH 7FFFH FEFFH GRAPHIC AREA CG : Character Generator FTFFH AREA FFEFH 1997-04-07 8/46
@ 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 T6963C can be read from the data lines. RD L WR H CE L c/D H DO to D7 Status word The T6963C status word format is as follows: MsB LSB STA7 STAG STA5 STA4 STA3 STA2 STAI STAO D7 D6 DS D4 D3 D2 D1 DO A a 0 : Disable Check command execution capability 1: Enable . ae 0 : Disable STA1 |Check data read/write capability a 0 : Disable Check Auto mode data read capability . on 0 : Disable Check Auto mode data write capability 1: Enable [stad [Noted SSCS SSY A Ni 0 : Disable STA5 | Check controller operation capability 1: Enable Error flag. Used for Screen Peek and Screen 0 : No error STA6 copy commands. 1: Error sta7__| check the blink condition 0 : Display off 1: Normal display (Note 1) It is necessary to check STAO and STA1 at the same time. There is a possibility of erroneous operation due to a hardware interrupt. (Note 2) For most modes STAO/STA1 are used as a status check. (Note 3) STA2 and STA3 are valid in Auto mode; STAO and STA1 are invalid. 1997-04-07 9/46
a) b) NO NO STAZ=1 (Read) STAa=1 (Write) Yes Yes (Note 4) When using the MSB=0 command, a Status Read must be performed. If a status check is not carried out, the T6963C 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 T6963C during this period, the T6963C 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 will not be received. (2) Setting data When using the T6963C, first set the data, then set the command. Procedure for sending a command a) The case of 1 data b) The case of 2 data [==] [==] CD [==] (Note) When sending more than two data, the last datum (or last two data) is valid. 1997-04-07 10/46
00100001 X address Y address |Set Cursor Pointer
REGISTERS SETTING 00100010 Data 00H Set Offset Register
00100100 Low address | High address | Set Address Pointer
01000000 Low address | High address | Set Text Home Address
01000001 Columns 00H Set Text Area
SET CONTROL WORD 01000010 Low address | High address | Set Graphic Home Address
01000011 Columns 00H Set Graphic Area
MODE SET 1000X100 Text Attribute mode 10000XXX Internal CG ROM mode 10001XXX External CG RAM mode
10010000 Display off
1001XX10 Cursor on, blink off 1001XX11 Cursor on, blink on DISPLAY MODE 100101XX Text on, graphic off 100110XX Text off, graphic on 100111XX Text on, graphic on 10100000 1-line cursor 10100001 2-line cursor 10100010 3-line cursor CURSOR PATTERN 10100011 4-line cursor SELECT 10100100 5-line cursor 10100101 6-line cursor 10100110 7-line cursor 10100111 8-line cursor
10110000 Set Data Auto Write
paawrener | wee | =| = fieeeatonat |
10110010 Auto Reset
11000000 Data Data Write and Increment ADP
11000001 - Data Read and Increment ADP
11000010 Data Data Write and Decrement ADP
DATA READ /WRITE 11000011 - Data Read and Decrement ADP
11000100 Data Data Write and Nonvariable ADP
11000101 - Data Read and Nonvariable ADP [SCREEN PEEK | 11100000 [— | — [Screen Peck i [screen copy | 11101000 | | [screen Copy. ———_—+t X : invalid 1997-04-07 11/46
[mmo [ee [ed 11110XXX Bit Reset 11111XXX Bit Set 1111X000 Bit 0 (LSB) 1111X001 Bit 1 1111X010 Bit 2 BIT SET / RESET 1111x011 Bit 3 1111X100 Bit 4 1111X101 Bit 5 1111X110 Bit 6 1111X111 Bit 7 (MSB) X : invalid © Setting registers
00100001 SET CURSOR POINTER X ADRS Y_ADRS
00100010 SET OFFSET REGISTER
00100700 SET ADDRESS POINTER
(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 QOH to 4FH (lower 7 bits are valid) Y ADRS 00H to 1FH (lower 5 bits are valid) a) Single-Scan b) Dual-Scan X ADRS 00 to 4FH X ADRS 00H to 4FH Y ADRS 00H to OFH Y ADRS 10H to 1FH Lower screen (2) Set Offset Register The offset register is used to determine the external character generator RAM area. The T6963C has a 16-bit address bus as follows: MSB LSB [adi5]ad14]adi3 [adi2[ad1i[adt0] ad [ ad8 | ad7 | ad6 | ad | ad4 | ad3 [ ad? [adi | add] LW | LW ds Offset Register Data Character Code Line Scan 1997-04-07 12/46
T6963C 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 mode, 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 RAM 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. The relationship between display RAM address and offset register Offset register data CG RAM hex. address (start to end) 00000 0000 to O7FFH 00001 0800 to OFFFH 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 H (address) (data) COOLIO 1400H 00H CCCs 14014 1FH aaa 26 1402H oaH CCCCCE LL 1403H oaH a 1404H o4H euaae a8 es CCCCCEL 1406H oaH CCCEet Ce 1407H 00H (Example 2) The relationship between display RAM data and display characters (RAM DATA) (Character) ‘AByDEEGHUKLM 21H A i 22H 8 ' 83H Y | 24H D 25H E Display character 86H g y and & are displayed by character generator RAM. 1997-04-07 13/46
(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 (lower 8 bits) (upper 8 bits) © Set Control Word 01000000 | 40H _|Set Text Home Address High address ovoo007 [41H |set Text Area ~~ Columns [| oon |
01000010 Set Graphic Home Address High address
7900011 | 43H | Set Graphic Area [columns | 00H | The home address and column size are defined by this command. 1997-04-07 14/46
(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 a pasta tae (TH+TA)+TA [TH+ 2TA + CL [oasata)eta | ——SS~*d TH STAC 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). (Example) Text home address : 0O00H Text area : 0020H MD2 =H, MD3 =H : 32 columns DUAL =H, MDS=L, MDO=L, MD1=H : 4 lines 0000H ET 001FH ooaoH [oa |_| __0056H O05FH (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 ee SEK [cH+GA «| SSCS~S~S GHG (GH +GA)+GA [si GH + 2GA4CL (GH+2GA)+GA_ | ——~—SSCSdsCGH BGA 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). 1997-04-07 15/46
(Example) Graphic home address : 0000H Graphic area : 0020H MD2 =H, MD3 =H : 32 columns DUAT=H, MDS=L, MDO=H, MD1=H : 2 lines [00008 [0001] ———S~dr SCTE OY [00404 [oan [| 00H | —005F | [01208 [ora [| —oeH | ora _| [—ore0H [orate [| 0198 | 019 | [oreon [ove | | orren [or | (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, 4 lines Text home address : OOOOH Text area : 0014H MD2 =H, MD3 =H : 32 columns DUAT=H, MDS=L, MDO=L, MD1=H_ : 4 lines [0000 [00 Oso || [—o01e [0015 [= | 0027 [0028 [mm | 008s 1997-04-07 16/46
(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. (Example) LCD size : 20 columns, 2 lines Graphic home address : 0000H Graphic area : 0014H MD2 =H, MD3 =H : 32 columns DUAT=H, MDS=L, MDO=H, MD1=H : 2 lines [0000 [00 [Oso COTY [0014 [0015 [P0027 008 | 0 | [0028 | 0029 [sf 0038 | 008 [00a | [0050 [0051 [= | 006s | 0064 [m= | 006F | [o0p¢ [0000 [= | over [00rd [= | 0D [oor | — oor [sf 0108 | 010 [Pot] [ore [one [ee [ona oise | na_| [orsc_ [0130 Yar 0ns0 | (| —S_ 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. 1997-04-07 17/46
@ Mode set CODE FUNCTION OPERAND 1000x000 OR Mode [ — | 1000x001 EXOR Mode [| — | 1000x011 [AND Mode SSC 1000X100 TEXT ATTRIBUTE Mode | — | 10000XXX Internal Character Generator Mode | — _| oe 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) EL [TT TT TTT) Pt) LT Tf Litt aeee 2 a OS [TT TT err Po fooee oe bi TT TTT bar es EE) LTTTTT tT) GRAPHIC TEXT EL [TT TT TTT ae ee en ggenas Coo Ae Litt [TTT tet th Fit ee es Oe Ee aes 2 Preyer Beppo [TTT Tir | Freer ried bili iii [TTT Tere Perri Po Eee 2 mee eS ES LIT TTTTTT |} eee ee (Note) Attribute functions can only be applied to text display, since the attribute data is placed in the graphic RAM area. 1997-04-07 18/46
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 tbyte [XTX [x] x ele [alo] [= [a [@] —_ancron [oo [0 [0 [Normal display Do [1 [0 [1 Reverse display Lo [0 |-1_| 1 inhibit display | 1 [| 0 | 0 | 0 [Blink of normal display } 1 | 1 [| 0 | 1 [Blink of reverse display ; 7 [1 | 0 [1 | 1 [Blink of inhibit display X + invalid @ Display mode CODE FUNCTION OPERAND 10010000 _[Display off [ — | 1001XX10 Cursor on, blink off [ — | 100101XX__ [Text on, graphic off [ — | 100110XX | Text off, graphic on [| — | oe Li To 7 o [1 [3 [52] 01] do | Cursor blink on: 1, off: 0 Cursor display on: 1, off : 0 Text display on: 1, off : 0 Graphic display on : 1, off : 0 (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 1997-04-07 19/46
© Cursor pattern select CODE FUNCTION OPERAND ToT90000 [Tine cursor |__| 10100001 [fine cursor |_| T9T00070[ ine cursor |__| 9100011 [line cursor | — | 10100700 [Sine cursor ‘| ———*d 9100107 [é-ine cursor |__| 91001710 [line cursor |__| [10100117 [ine 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. [TT TTT TT) [TT TTT TT) eS ee [TTT ttt th LTT TTT tT} Lite pit [TT TTT yy | LTT TTT yt | es Oe [TTT ttt ty LTT TTT tT | Li titi ti [TTT ttt tt LTT TTT th Li titi ii [TT TTT Ty} [TTT TTT} Let pe [TT TTT TT Lop Filip itil a Le Le) tine cursor 2-line cursor Blin cursor @ Data Auto Read/Write 70770000 | 60H [Set Data Auto wrke |_| Tori0010 | e2H [Auto Reset SSCs Sid This 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 T6963C cannot accept any other commands. The Auto Reset command must be sent to the T6963C after all data has been sent, to clear Auto mode. 1997-04-07 20/46
(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. a) Auto Read mode b) Auto Write mode = = [Lanoer |] [near] = = Set Address data = => *<e> YES YES 1997-04-07 21/46
@ Data Read/Write CODE FUNCTION OPERAND
11000000 Data Write and Increment ADP | Data _—i|
17900001 | C1H|Data Read and increment ADP — |
11000010 Data Write and Decrement ADP
11000011 Data Read and Decrement ADP [| — |
11000100 Data Write and Nonvariable ADP | Data _—|
11000101 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. Address pointer = 1000H Data =AAH ‘AH is written in 1000H address. ‘Address pointer is 1001H 1997-04-07 22/46
© Screen Peek CODE FUNCTION OPERAND T1100000 | EOH [Screen Peck SCS SC Ci” 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 command is ignored and a status flag (STA6) is set. Refer to the following flowchart. yes [en | (Note) This command is available when hardware column number and software column number are the same. Hardware column number is related to MD2 and MD3 setting. Software column number is related to Set Text Area and Set Graphic Area command. 1997-04-07 23/46
@ Screen Copy CODE FUNCTION OPERAND 11101000 | 8H [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.) (Note 2) With Dual-Scan, this command cannot be used (because the T6963C cannot separate the upper screen data and lower screen data). Refer to the following flowchart. ll <n > (#1) Status check STA6=1 (*2) Status check STAO/1=1 YES (Note) This command is available when hardware column number and software column number are the same. Hardware column number is related to MD2 and MD3 setting. Software column number is related to Set Text Area and Set Graphic Area command. 1997-04-07 24/46
@ Bit Set/Reset CODE FUNCTION OPERAND THTOOK [ait Reet |__| 1111x000 _ [Bit 0 (LSB) [ — Tinixoo1 feet | [inixo10 fe? <i id Tinixi00 [ete iP Si” [nix fers iP id 1111X111_—*«([Bit7 (MSsB). | = — ‘| 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. cl 1997-04-07 25/46
wos [+ [2] |«]s|s[7]e]s[afelelole] | 1997-04-07 26/46
Po (Fea eee Pe SPE Sy OT TO 99704-07277
ABSOLUTE MAXIMUM RATINGS (Ta = 25°C) ITEM SYMBOL RATING UNIT Supply Voltage Input Voltage = 0.3 to Vpp +0.3 Operating Temperature Storage Temperature =55 to 125 (Note) Referenced to Vss = 0V.
ELECTRICAL CHARACTERISTICS
TEST CONDITIONS (Unless otherwise noted, Vsg =0V, Vpp =5.0V+ 10%, Ta= -20 to 75°C) TEST ITEM SYMBOL TEST CONDITIONS Fane |r. |x UNIT |p wane | CUIT Operating Vonage | _Vpp | — |= | 45) 50] 55) V | von | [H tever | Vig [| — | = |¥pp-22] — | Vpn] v_| tnput pine | Output [H Level |_Vou | — |= |Vop=03| — | Vp] _V_[ Output pins | Output [HLevel | Row | — [Vour=Vop-05v | — | — | 400 0 | Output pins | Input Pull-up Resistance RPU 100 ko (Note 1) Operating Frequency fosc MHz Current Consumption Ip (1) yop TE ON (Note 2) 33 mA Vpp (Operating) Osc =>: Current (Note 1) Applied TT, T2, RESET (Note 2) MDS=L, MDO=L, MD1=L, MD2=H, MD3=H, FSO=L, FS1=L, SDSEL=L, DUAL=H, D7 to DO=LHLHLHLH 1997-04-07 28/46
@ Switching Characteristics (1) se | t +, towe. toHD ms ee a " x TEST CONDITIONS (Unless otherwise noted, Vpp =5.0V + 10%, Vsg =0V, Ta= -20 to 70°C) Operating Frequency Ta= -10~70°C [| — | 2.75 | Mrz | SCP Pulse Width town tom | Sd 80 — os SCP Rise /Fall Time a a [cP Set-up Time | tugy | | 150290 | ns LP Hold Time a FR Delay Time [tp 80 | CDATA Set-up Time [tsp | a0 [850 | CDATA Hold Time [cup 450-950 [ns] 1997-04-07 29/46
@ Switching Characteristics (2) Bus Timing Ce D0 to 07 b+ ton D0 to D7 tacc TEST CONDITIONS (Unless otherwise noted, Vpp =5.0V + 10%, Vss =0V, Ta= —20 to 75°C) C/D Set-up Time A C/D Hold Time | tcon ft = os | CE, RD, WR Pulse Width tce tro twr [80 | = ns [Data Setup Time | ts PT 8 | = os Data Hold Time | tn PT = Ts | [Access Time | tact PT = OT ns Output Hold Time Pton et 50 ns | sss <9 97-04-07 30/46
@ Switching Characteristics (3) (1) External RAM Read mode CLOCK (x1) ad0 to adt5 tat tat ee ta2 tw rlw d0 to d7 tos tDH (2) External RAM Write mode oe YT o» +4 1997-04-07 31/46
TEST CONDITIONS (Unless otherwise noted, Vpp =5.0V + 10%, Vsg =0V, Ta= -20 to 70°C) ITEM SYMBOL TEST CONDITIONS [min | ax | UNIT Address Delay Time Pota P = 250 Ts ce Fall Delay Time (Read) | tga | | = 80 ns | ce Rise Delay Time (Read) | tga, | | = 180 ns | [Data Setup Time | ts PT = os | [Data Hold Time | to P80 | Ts | ce Fall Delay Time (Write) | tag | | = | 200 Ts | ce Rise Delay Time (Write) [tas | | = 200 | ns r/w Fall Delay Time | tg PT = 180 Ts | iw Rise Delay Time [tg P= 180 Ts Data Stable Time [tg PT = 50 ns [Data Hold Time | td = 200 ns
T6963C EXAMPLE OF APPLICATION CIRCUIT The T6963C can be directly connected to a TMPZ84CO0A (Z80 (Note 1) CMOS). The T6963C can be used with a TMPZ84CO0A as shown in the following application circuit. @ MPU memory address mapping Data is transferred to the T6963C using a memory request signal. DATA G70) Command / Status XXXX + 1H AIS 1 * H | {> = i & [= ~7 Address | — || : 2 =haal yy — cp TMPZ84CO0P T6963C 7 ¢ o7 1 ns 1 i o i H = ' 1 x 1 _ PE] | ; wi |] >> wR RD tg {> RD (Note 1) Z80 is a trademark of Zilog Inc. 1997-04-07 33/46
@ MPU I/O addressing Data is transferred to the T6963C using an |/O request signal. Command / Status Als : 2 H = {> e i o H = AS a7 : H z i £ Address ' = i Decoder | T6963C i o AO c/D TMPZ84CO0P o7 2 b7 H o i i Fa i 1 x i D0 v D0 TORQ eee +— WR wD Lg q> wD 1997-04-07 34/46
@ When using PPI LSI (TMP82C55) The T6963C can be connected to a PPI LSI. The port A connects to the data bus. The port C connects to the control bus. (C/D, CE, WR, RD) ats ; vo Je Hi S pce Pye i z es] ' 5 ca w 1 bd Address G { “ Decoder ' = TMP82C55 T6963C ' + o KK" a0 a0 TMPZ84COOP 7 ” oy PAT o7 1 . 1 fl 1 i o i t t i Fs H Hl H i N ' ifoa ft D0 e D0 PAO 00 7oRG }- 2g» WR RD i RD 1997-04-07 35/46
APPLICATION CIRCUIT (1) MEMORY FOR UaRR Bisboay AO~12 nw a 8 | | He Sa oor} 4 [ono AA rte tt LL H LOWER DISPLAY camseeasera] [oamvaeacery cw = 7 Saaae$058| |Sacae S055 ps do~d7 -—J > AO~12 a a {roa all 0 mW T5565 £101 e102 | e101 E102 i aatsye Lo cer T6A39 T6A39 MD3 HSCP| ez f 84cO0P TTF coata | ve se T6963C LTT uns OA40 | Leo + Rar [for 068 __ Hout 15 OR fe ae 64x320det aie q > RD Lscp spoT — a0 (ecmll ce ®) T6A39 T6A39 — camo dann camto denn Reset aaaaEsRaeS | [Saaalessass 1? il ptt dl u uo RESET Vss_ Vpp 1997-04-07 36/46
APPLICATION CIRCUIT (2)
3 EXTERNAL MEMORY
AO~12 ly TC5565
5 Vro1~s
Do~D7 Do~p78do~ 982} w 0s sonar t} moo mot ia mp2 TMPZ f ae 84cOOP +H fs1—CDATA id re 6 bel FR FR on T6963C TT uaF OA40 | Leo +H za [Ion oss —_ 1 buat 1sw TORO Fea ll WR 64x 160dot wi [|
0 Heil c/o &D T6A39 T6A39
A1~A7 b aporess p- e DECODER LH E101 im E102 £101 4 E102 A x0 TTT Ty HTT] | ppd u oo RESET Vss Vpp 1997-04-07 37/46
; * *T6963C SAMPLE PROGRAM VO.01 30: ; SOURCE PROGRAM for TMPZ84COOP 4: 3 1991- 2-15 ; : ; Display Size : 20 Column x 8 Lines ; : ; Character Font : 8 Dots Mode 9: TXHOME EQU 40H ;SET TXT HM ADD 10: TXAREA EQU 41H ;SET TXT AREA 11: GRHOME EQU 42H ;SET GR HM ADD 120: GRAREA EQU 43H ;SET GR AREA 130: OFFSET EQU 22H ;SET OFFSET ADD 140: ADPSET EQU 24H ;SET ADD PTR 15: AWRON EQU OBOH ;SET AUTO WRITE MODE 16: AWROFF EQU 0B2H ;RESET AUTO WRITE MODE 17: CMDP EQU 01H ;CMD PORT 18: DP EQU OOH ;DATA PORT 19: STACK EQU OFFFH ;STACK POINTER BASE ADDRESS 20: : 21: ORG 0000H 22: START: 230: LD SP, STACK 24: t 25: 3 SET TEXT HOME ADDRESS 26: : 27: LD HL, 0000H ; TEXT HOME ADDRESS 0000H 28: CALL DT2 29: LD A, TXHOME 30: CALL CMD 31: : 320: 3 SET GRAPHIC HOME ADDRESS 330: 5 34: LD HL,0200H ; GRAPHIC HOME ADDRESS 0200H 35: CALL DT2 36: LD A,GRHOME 37: CALL CMD 38: 5 1997-04-07 38/46
39: 3 SET TEXT AREA 40: : 4: LD HL,0014H 3 TEXT AREA 20 Columns 42: CALL DT2 43: LD A, TXAREA 44: CALL CMD 45: : 46: 3 SET GRAPHIC AREA 47: : 48: LD HL,0014H ; GRAPHIC AREA 20 Columns 49: CALL DT2 50: LD A,GRAREA 61: CALL CMD 62: : 63: ; MODE SET (OR MODE, Internal Character Generater MODE) 54: : 55: LD A,80H 66 : CALL CMD 57: : 58: 3 SET OFFSET REGISTER (00010 10000000 000=1400H CG RAM START ADDRESS) 59: 3 CHARACTER CODE 80H 60 : LD HL,0002H 61 : CALL DT2 62 : LD A, OFFSET 63: CALL CMD 64 : : 65 : 3 DISPLAY MODE 66: 3 (TEXT ON,GRAPHICS OFF ,CURSOR OFF) 67 : : 68 : LD A,94H 69 : CALL CMD 70: : 71: 3 WRITE TEXT BLANK CODE 720: : 73: LD HL, 0000H ; SET Address Pointer 0000H 74: CALL DT2 ; (TEXT HOME ADDRESS) 75: LD A, ADPSET 76: CALL CMD 77: 78: LD A, AWRON 3 SET DATA AUTO WRITE 4997-04-07 39/46
79: CALL CMD 3 80: 81: LD BC, 0OA0H ; 20 Columns x 8Lines (160=A0H) 82: TXCR: 83: LD A,00H ; WRITE DATA 00H 84: CALL ADT ; (WRITE BLANK CODE) 85: 86: DEC BC 87: LD A,B 88: OR c 89: JR NZ,TXCR 90 : 91: LD A, AWROFF ; AUTO RESET 92: CALL CMD 93: 94: : 95 : ; WRITE EXTERNAL CHARACTER GENERATOR DATA 96 : 3 97: LD DE, EXTCG ; CG data address in Program 98 : LD HL,1400H ; CG RAM Start Address (1400H) 99 : CALL DT2 100: LD A, ADPSET 101: CALL CMD 102: 3 103: LD A, AWRON 3 SET DATA AUTO WRITE 104: CALL CMD 105: 106: LD B,40H ; 8 Character x 8 byte (64=40H) 107: EXCG: 108 : LD A, (DE) ; WRITE DATA TO EXTERNAL RAM 109: CALL ADT 3 110: INC HL 111: INC DE 112: DJNZ EXCG 113: 114: LD A, AWROFF ; AUTO RESET 115 : CALL CMD 116: 3 117: ; WRITE TEXT DISPLAY DATA (INTERNAL CG) 118: 3 1997-04-07 40/46
119: LD HL, 0040H ; Address Pointer 3Line,4Column 120: CALL DT2 121: LD A,ADPSET 122: CALL CMD 123: 124: LD A, AWRON ; SET DATA AUTO WRITE 125 : CALL CMD 126: 127: LD B,ODH 3 13 Character 128: LD DE, TXPRT 129: TXLP1: 130 : LD A, (DE) ; WRITE DATA 131: CALL ADT 132: INC DE 133: DJNZ TXLP1 134: 135: LD A, AWROFF ; AUTO RESET 136: CALL CMD 137: 3 138: ; WRITE TEXT DISPLAY DATA (EXTERNAL CG upper part) 139: : 140: LD HL, 006CH ; Address Pointer 5Line,8Column 141: CALL DT2 142: LD A,ADPSET 143: CALL CMD 144: 145: LD A, AWRON ; SET DATA AUTO WRITE 146: CALL CMD 147: 148: LD B,06H 3 6 Character 149: LD DE,EXPRT1 150 : TXLP2: 151: LD A, (DE) ; WRITE DATA 152: CALL ADT 153: INC DE 154: DJNZ TXLP2 155: 156: LD A, AWROFF ; AUTO RESET 157: CALL CMD 158 : : 4997-04-07 41/46
159 : ; WRITE TEXT DISPLAY DATA (EXTERNAL CG lower part) 160 : 3 161: LD HL, 0080H ; Address Pointer 6Line,8Column 162: CALL DT2 163: LD A,ADPSET 164: CALL CMD 165: 166: LD A, AWRON ; SET DATA AUTO WRITE 167: CALL CMD 168 : 169 : LD B,06H 3 6 Character 170: LD DE, EXPRT2 171: TXLP3: 172: LD A, (DE) ; WRITE DATA 173: CALL ADT 174: INC DE 175: DUNZ TXLP3 176: 177: LD A, AWROFF ; AUTO RESET 178 : CALL CMD 179 : PEND: 180: JP PEND ; PROGRAM END 181: 3 182: ;Subroutine start 183: : 184: 3 COMMAND WRITE ROUTINE 185: 3 186: CMD: 187: PUSH AF 188: CMD1: IN A,(CMDP) 189: AND 03H 190 : cP 03H 3 STATUS CHECK 191: JR NZ,CMD1 192: POP AF 193: OUT (CMDP) ,A ; WRITE COMMAND 194: RET 195: 3 196: ; DATA WRITE (1 byte) ROUTINE 197: 3 198 : DT1: 4997-04-07 42/46
199: PUSH AF 200: DT11: IN A, (CMDP) 201: AND 03H 202: cP 03H ; STATUS CHECK 203: JR NZ,DT11 204: PoP AF 205 : ouT (DP),A ; WRITE DATA 206 : RET 207: : 208 : ; DATA WRITE (2 byte) ROUTINE 209: : 210: DT2: 211: IN A, (CMDP) 212: AND 03H 213: cP 03H ; STATUS CHECK 214: JR NZ,DT2 215: LD AL 216: ouT (DP) ,A ; WRITE DATA (D1) 217: ~~ ~DT21: 218: IN A, (CMDP) 219: AND 03H 220 : cP 03H ; STATUS CHECK 221: JR NZ,DT21 222: 223: LD AH 224: ouT (DP) ,A ; WRITE DATA (D2) 225: RET 226: : 227. : — ; AUTO WRITE MODE ROUTINE 228: : 229°: ADT: 230: PUSH AF 231: ADT1: IN A, (CMDP) 232: AND 08H 233: cP 08H ; STATUS CHECK 234: JR NZ,ADT1 235: POP AF 236: ouT (DP),A ; WRITE DATA 237: RET 238: : 8997-04-07 43/46
239: ;Subroutine end 240: t 241: 3 TEXT DISPLAY CHARACTER CODE 242: 3 2430: TXPRT: 244: DEFB 34H, OOH, 2FH, OOH, 33H, OOH ; INTERNAL CG CODE 245: DEFB 28H, OOH, 29H, OOH, 22H, OOH, 21H 246: EXPRT1: 247: DEFB 80H, 81H, OOH, OOH, 84H, 85H ; EXTERNAL CG CODE 248 : EXPRT2: 249: DEFB 82H, 83H, 00H, OOH, 86H, 87H 250 : : 251 : 3 EXTERNAL CG FONT DATA 252: 3 253: EXTCG: 254 : 3 255: ; "Hu upper/left CHARACTER CODE 80H 256: DEFB O1H, O1H,OFFH, 01H, 3FH, 21H, 3FH, 21H 257: 258 : ; "HRs upper/right CHARACTER CODE 81H 259: DEFB OOH, OOH,OFFH, OOH,OFCH, 04H,OFCH, 04H 260 : 261 : 3 "Hu lower/left CHARACTER CODE 82H 262: DEFB 21H, 3FH, O5H, ODH, 19H, 31H,OE1H, 01H 263: 264: 3; THI lower/right CHARACTER CODE 83H 265 : DEFB 04H,OFCH, 40H, 60H, 30H, 1CH, 07H, OOH 266 : 267: ; 21 upper/left CHARACTER CODE 84H 268 : DEFB O8H, O8H,OFFH, 08H, 09H, 01H, 01H, 7FH 269: 270 : ; 21 upper/right CHARACTER CODE 85H 271: DEFB 10H, 10H,OFFH, 10H, 10H, OOH, OOH,OFCH 272: 273: 3 "1 lower/left CHARACTER CODE 86H 274: DEFB OOH, OOH, OOH, 01H, 07H, 3CH,OE7H, OOH 275: 276 : 3 "1 lower/right CHARACTER CODE 87H 277: DEFB 18H, 30H, 60H,OCOH, OOH, OOH,OEOH, 3FH 278 : 3 279: END 1997-04-07 44/46
“Coos AT BA CECE CEE ore SEG8000;:- 20. SCEPC RR CECE PCe PRC CECE Cee eee TTT ~i'F297-04-07 45/46
QFP67-P-1420-0.80 Unit : mm 24.120.4 20.040.2 2.0TYP 1.2TyP. & 54 33 § HOP MEA UREA Odeo “ (TT TE Et z
55 Ss 2
— 3 —- ==> 32 = aS a t 2 bard —| = + oS — = oa} = = zy = ee = == s Py at r= a 67 = 29 HOA HOD UUW TU OUD OUM OOO d oY 1 21 2.0TYP 0.30.1 2.0TYP aq —iea fl FATT = N . oS beta} a ‘ oO 1.3520.2 Weight : 1.2g (Typ.) 1997-04-07 46/46