AX6963 AsLicMicroelectronics
AX6963 AsLicMicroelectronics
Data Sheet
AX6963
Dot Matrix LCD CONTROL LSI
FEATURES
iDisplay 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 6 MHz. (See Fig.2)
iCharacter 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 fre-
quency does not change with the font selection.
iDisplay duty : 1/16 to 1/128
iA 128-word character generator ROM (code 0101) AX6963-0101 is built in as standard.
iExternal 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.
iRead or Write operations from the CPU do not disturb the display.
iA 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 k (typ.)
iExternal display RAM must be static RAM. The AX6963 cannot refresh D-RAM.
iThe attribute functions can only be used in Text mode.They cannot be used in Graphic or
Combination character mode.
BLOCK DIAGRAM
CDATA, LP, FR, HSCP, LSCP ED, HOD, LOD ad0 to ad15 (TO SRAM) d0 to d7 (TO / FROM SRAM)
LCD TIMING LCD DATA TEXT GRAPHIC ADDRESS CG RAM RAM DATA RAM DATA
GENERATOR CONTROL POINT POINT POINT POINT BUFFER LATCH
SERIALIZER
GRAPHIC ADDRESS
DATA LATCH CONTROL
DISPLAY
SELECTOR
CG ROM CHARACTER CODE
LATCH
TEXT
DATA LATCH
CURSOR
CONTROL
COPY CONTROL
INSTRUCTION
STATUS INTERNAL DATA LATCH
DECODE
WR RD CE C/D
D0 to D7 (TO / FROM CPU )
Version 3.0 2
ASLIC AX6963
PIN ASSIGNMENT
DUAL
HSCP
HOD
ad15
ad14
ad13
ad12
ad11
ad10
ad9
ad8
ad7
ad6
ad5
ad4
ad3
ad2
ad1
ce1
ce0
ad0
ED
54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
LP 55
CDATA 56
FR 57 32 ce
CH1 58 31 r/w
CH2 59 30 d7
DSOPN 60 29 d6
VDD 61 AX6963 d5
28
SDSEL 62 27 VDD
VSS 63 26 d4
T2 64 25 d3
T1 65 24 d2
XI 66 23 d1
XO 67 22 d0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
FS0
WR
HALT
RESET
CE
MDS
RD
C/D
MD0
MD1
MD2
MD3
FS1
D1
D0
D2
D3
D4
D5
D6
D7
PIN FUNCTIONS
PIN NAME I/O FUNCTIONS
MD2 H L H L
MD2 Input Pins for selection of number of columns MD3 H H L L
MD3
Columns 32 40 64 80
FS0 H L H L
FS0 FS1 H H L L
Input Pins for selection of font
FS1
Font 5*8 6*8 7*8 8*8
D0 to D7 I/O Data I/O pins between CPU and AX6963 (D7 is MSB)
CE Input Chip Enable for AX6963.CE must be L when CPU communicates with AX6963.
C/D Input WR=L ...... C/D = H : Command Write C/D=L : Data Write
RD =L ...... C/D = H : Status Read C/D=L : Data Read
HALT Input H ...... Normal, L ...... Stops the oscillation of the clock
ce0 ce0 at DUAL=H Chip enable pin for display memory in the address range 0000h to
Output 07FFH
(LOD) LOD at DUAL=L Serial data output for odd columns in lower area of LCD
ce1 ce1 at DUAL=H Chip enable pin for display memory in the address range 0800h to
Output 0FFFH
(LSCP) LSCP at DUAL=L Shift clock pulse output for column drivers in lower area of LCD
SDSEL=H : Data output for even columns in both upper and lower areas of LCD
ED Output
SDSEL=L : Date output for columns in both upper and lower areas of LCD
HOD Output Date output for odd columns in upper area of LCD
HSCP Output Shift clock pulse for column driver of upper area of LCD
LP Output Latch pulse for column driver.Shift clock pulse for row driver
FUNCTIONAL DEFINITION
iAfter power on, it is necessary to reset. RESET is kept L between 5 clocks up (oscillation clock).
iWhen HALT =L, the oscillation stops.The power supply for the LCD must now be turned off, to protect
the LCD from DC bias.
iThe HALT function includes the RESET function.
iThe column/line counter and display register are cleared by RESET.(Other registers are not cleared.)
Disable the display using the clear-display register.
iThe 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.
iSTA0 and STA1 must be checked at the same time. When a command is executed, data transmission
errors may occur.
iThe AX6963 can only handle one byte per machine cycle (16 clocks).It is impossible to send more than
two data in a machine cycle.
iWhen using a command with operand data, it important to send the data first, and then execute the
command.
iThe character codes used by the AX6963 are different from ASCII codes.
D0 toD7 F F
do to d7 F F
r/w H H
ce H (Note1) H (Note1)
HSCP L L
LP L L
CDATA H H
FR H H
CH1 L K0
CH2 L VEND
DSPON L L
XO H OSC clock
H : Level H
L : Level L
F : Floating (high impedance)
K0 : 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
iThe 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)
fR : Frequency of Frame
M : Number of characters on one line (number of dots on one line = 8M)
For all font sizes (e.g. 7*8, 6*8, 5*8) the oscillation frequency remains constant.
N : Number of rows (duty = 1/8N)
8M 1
--------- × 8N = ----
fscp fR
-
fOSC = fR*64*2*M*N
(fR = 60Hz)
Unit : [MHz]
N M 32 40 64 80 Duty
Lower
iRAM 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, LCD I is allocated to 0000H to 7FFFH (32 KB max) , LCD II is allocated to 8000H to
FFFFH (32 KB max).Text data,graphic data and external CG date can be freely allocated in LCD I.In
LCD II, the same addresses must be allocated as in LCD I, except ad15.ad15 determines selection of
LCD I or LCD II.
It can be use the address decoded signals ce0 (0000 to 07FFH), ce1 (0800 to0FFFH) within 4 KB.
ce0 and ce1 allow decoding of addresses in the ranges (0000 to 07FFH) and (0800 to 0FFFH)
respectively within a 4-KB memory space.
(Example)
(1) Single-Scan (2) Dual-Scan
MSB LSB
STA7 STA6 STA5 STA4 STA3 STA2 STA1 STA0
D7 D6 D5 D4 D3 D2 D1 D0
0 : Disable
STA0 Check command execution capability 1 : enable
0 : Disable
STA1 Check data read / write capability 1 : enable
STA2 Check Auto mode data read capability 0 : Disable
1 : enable
0 : Disable
STA3 Check Auto mode data write capability 1 : enable
STA4 Not used
(*1)
STA2=1 (Read)
or
STA0=1 (*1)
NO STA3=1 (Write)
STA1=1 NO
YES YES
RETURN RETURN
(Note 4) : When using the MSB=0 command, a Status Read must be performed.
If a status check is not carried out, the AX6963 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 AX6963 during this period, the AX6963 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.
Command write
END
(Note) : When sending more than two data,the last datum (or last two data ) is valid.
AsLic Microelectronics Corporation
Version 3.0
10
ASLIC AX6963
FUNCTIONAL DEFINITION
COMMAND CODE D1 D2 FUNCTION
* : invalid
iSetting registers
CODE HEX. FUNCTION D1 D2
a)Single-Scan b)Dual-Scan
X ADRS 00 to 4 FH X ADRS 00H to 4 FH
MSB LSB
ad15 ad14 ad13 ad12 ad11 ad10 ad9 ad8 ad7 ad6 ad5 ad4 ad3 ad2 ad1 ad0
AX6963 assign External character generator, when character code set 80H to FFH in using inernal charac
ter 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 7 FH rep
resent 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 repre
sent 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 07FFH
00001 0800 to 0FFFH
00010 1000 to 17FFH
(Example 1)
Offset register 02H
Character code 80H
Character generator RAM start address 0001 0100 0000 0000
1 4 0 0 H
(address) (data)
1400H 00H
1401H 0EH
1402H 11H
1403H 11H
1404H 1FH
1405H 11H
1406H 11H
1407H 00H
(Example 2) The relationship between display RAM data and display characters.
83H γ
24H D
25H E
86H ζ
Display character
Status check
Status check
END
01000000 40H Set Text Home Address Low address High address
The home address and column size are defined by this command.
TH+(n-1)TA TH+(n-1)TA+CL
(Example)
Text home address : 0000H
Text area : 0020H
MD2 = H, MD3 = H : 32columns
DUAL = H, MDS = L, MD0 = L, MD1 = H : 4 lines
GH GH+CL
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
(Example)
Graphic home address : 0000H
Graphic area : 0020H
MD2 = H, MD3 = H : 32columns
DUAL = H, MDS = L, MD0 = H, MD1 = H : 2 lines
LCD
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.
i Mode set
CODE FUNCTION OPERAND
1000*000 OR Mode _
1000*001 EXOR Mode _
1000*011 AND Mode _
1000*100 TEXT ATTRIBUTE Mode _
10000*** Internal Character Generator Mode _
10001*** External Character Generator Mode _ * : 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)
GRAPHIC TEXT
(Note) : Attribute functions can only be applied to text display, since the attribute data is placed in the
graphic RAM area.
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.
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 * : invalid
iDisplay mode
CODE FUNCTION OPERAND
10010000 Display off -
1001**10 Cursor on, blink off -
1001**11 Cursor on, blink off -
100101** Text on, graphic off -
100110** Text off, graphic on -
100111** Text on, graphic on - * : invalid
1 0 0 1 D3 D2 D1 D0
(Note) : It is necessary to turn on "Text dispaly" and "Graphic display" in the following cases.
a) Combination of text / graphic display
b) Attribute function
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.
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 AX6963
cannot accept any other commands.
The Auto Reset command must be sent to the AX6963 after all data has been sent, to clear Auto mode.
END END
Status check 1
YES YES
Status check 1
END
iData 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.
(Example)
Set Address Pointer Address pointer = 1000H
(Example)
Set write data
Data = AAH
Status check 1
END
iScreen Peek
CODE HEX. FUNCTION OPERAND
11100000 E0H Screen Peek -
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.
No
(*) (*) Status check STA6 = 0?
Yes
Status check 1
Data access
END
(Note) : This command is available when hardware column number and software column mumber 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.
The data read command must be performed after screen peek command.
iScreen 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 AX6963 cannot separate the
upper screen data and lower screen data).
Refer to the following flowchart.
YES
(*1) (*1) Status check STA6 = 1
NO (*2) Status check STA0/1 = 1
NO
(*2)
YES
END
(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.
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.
Bit Set/Reset
Status check 1
END
Version 3.0
Character Code Map
The relation between character codes and character pattern (CG ROM TYPE 0101)
LSB
0 1 2 3 4 5 6 7 8 9 A B C D E F
MSB
26
3
27
2
7
AX6963
ASLIC AX6963
ELECTRICAL CHARACTERISTICS
DC CHARACTERISTICS
TEST CONDITIONS (Unless otherwise noted, VSS = 0V, VDD = 5.0 10%, Ta = -20 to 75 )
Test
Item Symbol Cir- Test Condition Min Typ. Max Unit Pin Name
cuit
Input Pull-up
RPU _ _ 50 100 200 k (Note 1)
Resistance
Current Consumption
IDD(2) _ VDD = 5.0V _ _ 3 A VDD
(Halt)
Ac Characteristics
iSwitching Characteristics (1)
tCWH
SCP
tr tf tCWH tDHD
tLHD tDSU
tLSU
LP
DATA
td
FR
C/D
tCDS tCDH
CE
RD, WR
tDS
D0 to D7
(WRITE)
tDH
D0 to D7
(READ)
tACC tOH
CLOCK (XI)
ad0 to ad15
td1 td1
ce
td2
td3
r/w
d0 to d7
tDS tDH
CLOCK (XI)
ad0 to ad15
td1 td1
ce
td4 td5
r/w
td6
td7
d0 to d7
td8
td9
Test Conditions (Unless Otherwise Noted, VDD = 3.0, VSS = 0V, Ta = -20 to 70 )
Item Symbol Test Conditions Min Max Unit
A15 TC74HC244
----------
Address CE
Decoder
A0 C/D
TMPZ84C00P AX6963
TC74HC245
D7 D7
-----
-----
D0 D0
MREQ WR
WR
RD RD
36
ASLIC AX6963
A15
TC74HC244
----------
CE
A8
TMPZ84C00P AX6963
A7
TC74HC244
----------
Address
Decoder
A0 C/D
TC74HC245
D7 D7
-----
-----
8
D0 D0
IORQ WR
WR
RD RD
37
ASLIC AX6963
A15
TC74HC244
PC7 CE
----------
PC6 C/D
PC5 WR
PC4 RD
A8
CS
Decoder
----------
A1
A0 A0
TC74HC245
D7 D7 PA7 D7
-----
-----
-----
-----
8 8
D0 D0 PA0 D0
IORQ
WR
WR
RD RD
38
ASLIC AX6963
SDI
SDI
P/S
CP
P/S
DI1
DI2
LOAD
DI3
DI1
DI2
DI3
CP
M
LOAD
M
AX6963
CDI CDO CDI CDO
HALT
AX6940 AX6940
DUAL HSCP
IORQ O1....O80 O1....O80
WR CDATA
WR
RD DIO1
RD LP CP
O1
AX6942
....
LOAD
XI XO
SDI
SDI
DI1
DI2
DI3
DI2
DI3
DI1
P/S
P/S
CP
CP
M
AX6963
HALT
DUAL
IORQ WR CDATA
WR
RD DIO1
RD LP CP
O1
AX6942
....
LOAD
XI XO
SDI
SDI
DI1
DI2
DI3
DI2
DI3
DI1
P/S
P/S
CP
CP
M
Package Dimensions
3.8TYP.
b 0.20 0.30 0.40
55
D 24.10 BASIC
32
D1 20.00 BASIC
E1
E
e 0.8 BASIC
E 18.10 BASIC
E1 14.00 BASIC
67
22
1
b 21 L1 2.5 REF.
2.0TYP.
e 2.0TYP.
θ° 0 3.5 7
UNT: mm
NOTES:
A2 A 1.JEDEC:N/A.
2.DATUM PLANE H IS LOCATED AT THE BOTTOM
A1 OF THE MOLD PARTING LINE COINCIDENT WITH
0.076 MAX WHERE THE LEAD EXITS THE BODY.
3.DIMENSIONS D1 AND E1 DO NOT INCLUDE MOLD
PROTRUSION.ALLOWABLE PROTRUSION IS 0.25 mm
PER SIDE.DIMENSIONS D1 AND E1 DO INCLUDE MOLD
MISMATCH AND ARE DETERMINED AT DATUM
PLANE H .
4.DIMENSION b DOES NOT INCLUDE DAMBAR
GAGE PLANE
SEATING PLANE PROTRUSION.
0.25 L
L1