Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
I. Overview
TM1640 is a LED (Light Emitting Diode Display) drive control circuit integrating MCU
digital interface, digital latch, LED high voltage drive circuit, etc. The product has excellent
performance and reliable quality, and is mainly applied in display drive for electronic scales
and other small home appliances. In addition, it adopts the SOP28 packaging mode.
II. Features
Ø Power CMOS technique
Ø Display mode (8 sections × 16 bits) supports common cathode digital tube output
Ø Brightness adjusting circuit (duty cycle adjustable among 8 levels)
Ø Dual-line serial interface (CLK, DIN)
Ø Mode of oscillation: built-in RC oscillation (450KHz+5%)
Ø Built-in power-on reset circuit
Ø Built-in auto blanking circuit
Ø Mode of packaging: SOP28
-1-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
IV. Functions of the pins
Sign Name No. Description
Output
SG1-SG8 9-16 Section output, P tube open drain output
(section)
GRID1-GRID11 18-28
Output (bit) Bit output, N tube open drain output
GRID12-GRID16 1-5
Logic power
VDD 17 5V±10%
supply
Logic
VSS 6 Connect to system grounding
grounding
V. Electrical parameters
Limit parameters (Ta = 25℃, Vss = 0 V)
-2-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
Normal work condition (Ta = -40 to +85℃, Vss = 0 V)
Test
Parameters Sign Min. Typical Max. Unit
condition
Logic power voltage VDD 5 V -
GRID1~GRID16,
Ioh1 -20 -25 -40 mA
High level output Vo = vdd-2V
current
GRID1~GRID16,
Ioh2 -20 -30 -50 mA
Vo = vdd-3V
-3-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
Switching characteristics (Ta = -40 to +85℃, VDD = 4.5 to 5.5 V)
Parameters Sign Min. Typical Max. Unit Test condition
-4-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
DIN becomes low from high; the ending condition is: when CLK is high, the DIN becomes
high from low.
Transmission process of command data is shown in the following figure:
SCLK
Start End
Figure 2: Command data transmission format
Co m man d1 Co mm an d2 da ta 1 da ta N Co mman d3
-5-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
B7 B6 Command
0 1 Data command setting
1 0 Display control command setting
1 1 Address command setting
Table 7: Command setting classification
0 1 0 Address auto + 1
0 1 Fill in 0 for 1 Fill in 0 for Fixed address
0 1 items not 0 items not Normal mode
applicable applicable
Testing mode
0 1 1
(internal use)
1 1 0 0 0 0 00H
1 1 0 0 0 1 01H
1 1 0 0 1 0 02H
1 1 0 0 1 1 03H
1 1 0 1 0 0 04H
1 1 0 1 0 1 05H
1 1 Fill in 0 0 1 1 0 06H
1 1for items 0 1 1 1 07H
1 1 not 1 0 0 0 08H
1 applicable
1 1 0 0 1 09H
1 1 1 0 1 0 0AH
1 1 1 0 1 1 0BH
1 1 1 1 0 0 0CH
1 1 1 1 0 1 0DH
1 1 1 1 1 0 0EH
1 1 1 1 1 1 0FH
Table 8: Display address command setting
When power-on, the default address is set as 00H.
-6-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
The relationships between display data, chip pins and display addresses are shown in the
following table:
B7 B6 B5 B4 B3 B2 B1 B0
Display control:
MSB LSB
B7 B6 B5 B4 B3 B2 B1 B0 Function Description
1 0 1 0 0 0 Set pulse width to 1/16
1 0 1 0 0 1 Set pulse width to 2/16
1 0 1 0 1 0 Extinction Set pulse width to 4/16
1 0 1 0 1 1 Number setting Set pulse width to 10/16
1 0 Fill in 0 for 1 1 0 0 (brightness Set pulse width to 11/16
items not setting)
1 0 applicable 1 1 0 1 Set pulse width to 12/16
1 0 1 1 1 0 Set pulse width to 13/16
1 0 1 1 1 1 Set pulse width to 14/16
1 0 0 X X X Display switch Display off
1 0 1 X X X setting Display on
Table 10: Display mode control command
-7-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
VIII. Display cycle
-8-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
IX. Hardware connection diagram
Digital tubes shown in the diagram are common cathode digital tubes:
U1
VCC VCC 1 28
GRID12 GRID11
2 27
GRID13 GRID10
3 26
C1 C2 R1 R2 GRID14 GRID9
+ 4 25
104 100uF 10K 10K GRID15 GRID8
5 24
GRID16 GRID7
6 23 GRID6
VSS GRID6
MCU_DO 7 22 GRID5
DIN GRID5
8 21 GRID4
SCLK GRID4
MCU_SCLK SEG1 9 20 GRID3
SEG1 GRID3
SEG210 19 GRID2
SEG2 GRID2
SEG311 18 GRID1
SEG3 GRID1
SEG412 17 VCC
SEG4 VDD
SEG513 16 SEG8
SEG5 SEG8
SEG614 15 SEG7
SEG6 SEG7
TM1640
-9-
©Titan Micro Electronics www.titanmec.com
V1.0
LED Drive Control Circuit TM1640
X. IC Packing drawing: (SOP28)
l All specs and applications shown above subject to change without prior notice.
- 10 -
©Titan Micro Electronics www.titanmec.com
V1.0