Velleman 4-Digit Display Datasheet-2

LED Drive Control Special Circuit TM1637
4
©Titan Micro Electronics www.titanmec.com
V2.4
2 Write SRAM data in address auto increment 1 mode.
CLK
Command1 Command2
DIO
start
start
stop
ACK
Data1
ACK
DataN
ACK
Command3
ACK
stop
ACK
start
Command1: Set data
Command2: Set address
Data1~N: Transfer display data
Command3: Control display
3 Write SRAM data in a fixed address mode
CLK
Command1 Command2 Data1
DIO
start
start
stop
stop start
Command2 DataN
stop
Command3
stop
start
ACK ACK ACK ACK ACK ACK
Command1Set data
Command2Set data
Data1~N: Transfer display data
Command3: Control display
Data command
Command is used to set the display mode and the LED driver status.
The first byte input from DIO at CLK failing edge acts as a command. The highest B7 and B6 bytes after decoding
are used to distinguish different commands.
B7
B6
Command
0
1
Data command setting
1
0
Display and control command setting
1
1
Address command setting
When STOP command is sent during command or data transfer, serial communication is initialized and command
or data transferring becomes invalid (Command or data transferred before remain effective.).
1 Data command setting
This command is to set data write and data read. 01 and 11 are not permitted to set for B1 and B0 bits.
MSB LSB
B7
B6
B5
B4
B3
B2
B1
B0
Function
Description
0
1
Zero should
be inserted
for
irrelevant
items.
0
0
Data write and read
mode setting
Write data to display
register
0
1
1
0
Read key scan data
0
1
0
Address adding
mode setting
Automatic address adding
0
1
1
Fix address
0
1
0
Test mode setting
(for internal)
Normal mode
0
1
1
Test mode