Files Ver KXM160128A 2.0 LCD MODUEL KXM160128A
1、FEATURES ?Module: 160 x 128 Dots
?Glass Type: STN (Yellow/Green) ?Display Mode: Positive
?Viewing Direction: 6 O?clock ?Polarizer Mode: Tran
?Driving Method: 1/128 Duty, 1/12 Bias ?Dot Size: 0.54mm ? 0.54mm ?Dot Pitch: 0.58mm ? 0.58mm
2、 MECHANICAL CHARACTERISTICS
Item Outline Dimension Viewing area Description 129.0 (L) x102.0 (W) x 12.5 (H) 101(L) x 82.0(W) Unit mm mm
3.Hardware
3.1 PIN ASSIGNMENT
?
Pin No. 1 2 3 4 5 6 7 8
Symbol FG VSS VDD VO VOUT WR RD CE Level 0V 0V 5.0V --- -15V L L L Description Frame ground Ground Supply voltage for logic Input voltage for LCD Output voltage for LCD Write signal Read signal Chip enable signal 1
9 C/D H/L H : Instruction Code, L : Data 10 RST L Reset signal 11 NC 12 DB0 H/L Data bit 0 13 DB1 H/L Data bit 1 14 DB2 H/L Data bit 2 15 DB3 H/L Data bit 3 16 DB4 H/L Data bit 4 17 DB5 H/L Data bit 5 18 DB6 H/L Data bit 6 19 DB7 H/L Data bit 7 20 NC 21 A 0V Ground for LED 22 K 5.0V +5.0V for LED
3.2 Absolute Maximum Ratings Item Symbol Min. Max. Unit Power Supply for Logic Vdd 0 +5.5 V Power supply for LCD Drive Vlcd 0 +7.0 V Input Voltage Vi Vss Vdd V
3.3Electrical Characteristics(Ta=25℃;Vdd=5.0V±5%,otherwise specified) Item Symbol Test Condition Min. Typ. Max. Unit Input “high” voltage Vih -- 0.7Vdd -- Vdd V Input “low” voltage Vil -- 0 -- 0.3Vdd V Output “high” voltage Voh -Ioh=0.2mA Vdd-0.4 -- -- V Output “low” voltage Vol Iol=1.2mA -- -- 0.4 V Power supply current(logic) Idd Vdd=5.0v -- -- -- mA V0-V4 Ta=0℃ -- 12.4 -- V Recommended LCD Duty=1/128 Driving Voltage 12.0 -- V φ=25° Ta=25℃ -- Ta=50℃ -- 11.6 -- V
3.4 AC Characteristics and Input Timing Characteristics 3.4.1 AC characteristics (Vdd=5V±10%,Vss=0V Ta=25℃)
ITEM Symbol Min Normal Max Unit Operating frequency fSCP --- --- 2.75 MHz SCP pulse width tCWH, tCWL 150 --- --- ns SCP rise/fall time tr, tf --- --- 30 ns LP set up time tLSU 150 --- 290 ns LP hold time tLHD 5 --- 40 ns Data set up time tDSU 170 --- --- ns Data hold time tDHD 80 --- --- ns FR delay time td 0 --- 90 ns CDATA set up time tCSU 450 --- 850 ns CDATA hold time tCHD 450 --- 950 ns 3.4.2 Timing Characteristics
2
ITEM` Symbol Min Max Unit C/D set up time tCDS 100 --- ns C/D hold time tCDH 10 --- ns CE, RD, WR pulse width tCE, tRD, tWR 80 --- ns 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
??
4.SOFTWARE??
????? Flowchart of Communications with MPU
? Status Read
Before sending data (Read/Write) command, it is necessary to check the status.
Status check
Status of T6963C can be read from data lines. RD L
3
WR CE C/D D0-D7 T6963C status word format is following. MSB STA7 STA6 STA5 STA4 D7 D6 D5 D4
STA0 STA1 STA2 STA3 STA4 STA5 STA6 STA7 Check capability of command execution Check capability of data read/write Check capability of auto mode data read Check capability of auto mode data write Not use Check capability of controller operation Error flag. Using screen peek/copy command Check the condition blink 0 : Disable 1 : Enable 0 : Disable 1 : Enable 0 : Disable 1 : Enable 0 : Disable 1 : Enable 0 : Disable 1 : Enable 0 : No error 1 : Error 0 : Display off 1 : Normal display H L H Status word STA3 D3 STA2 D2 STA1 D1 LSB STA0 D0
Note 1 : It is necessary to check STA0 and STA1 at the same time. The error is happened by sending data at executing command. Note 2 : The status check will be enough to check STA0/STA1.
Note 3 : STA2/STA3 are valid in auto mode STA0/STA1 are invalid. Status checking flow AUTO MODE STATUS STATUS STA0=1 STA2=1 STA1=1 NO (STA3=1) NO YES YES
RETURN RETURN
Note 4 : It is impossible to save status check in the case of command of MSB0. To have the delay time cannot be save status check. The interrupt of hardware is happened at the end of lines. If command of MSB0 is sent in this period, the command executing is waited. The state of waiting doesn?t be known without to check status. The sending next command or data is disregarded or rewrites data of waiting command. ?
? Data Set
In T6963C, the data have been set and command executes. The order of procedure of command sending
1. The case of 1 data 2. The case of 2 data
COMMAND SEDING COMMAND SEDING
STATUS CHECK STATUS CHECK
DATA WRITE DATA WRITE
STATUS CHECK STATUS CHECK
DATA WRITE COMMAND WRITE
4
END STATUS CHECK