深圳市天微电子有限公司
SHENZHEN TI TAN M I CRO ELECTRONI CS CO. , LTD.
MSB
LSB
0 1 - - b3 b2 b1 b0
No Relevant
Mode Setting:
0: Normal Operation
1: Test Mode
Data Write/Read Mode Settings
00 : Write Data to DisplayMode
10 : Read Key data
Address Increment Mode setting (Display Mode):
0: Increment address after data has been written
1: Fixed Address
TM1628 KEY MATRIX & KEY INPUT DATA STORAGE RAM
TM1628 Key Matrix consists of 8 x 2 array as shown below:
K1
K2
Each data entered by each key is stored as follows and read by a READ
Command, starting from the last significant bit. When the most significant
bit of the data (b0) has been read, the least significant bit of the next data (b7)
is read.
K1 K2
K1 K2
SG1/KS1
SG2/KS2
x
SG3/KS3
SG4/KS4
x
SG5/KS5
SG6/KS6
x
SG7/KS7
SG8/KS8
x
b0 b1 b2
b3 b4 b5 b6 b7
Note: b6 and b7 do not care.
Command 3: Address Setting Commands
Address Setting Commands are used to set the address of the display
memory. The address is considered valid if it has a value of 00H to 0DH. If
the address is set to 0EH or higher, the data is ignored until a valid address is
Add:522,5/F,Bldg. No.4,Keji Central Road 2, Software Park,High-Tech Industrial Park,Shenzhen
Tel:86-755-86185092
Fax: 86-755-86185093
Web: www.titanmec.com
4