Special circuit for LED drive control TM1638

Similar documents
FEATURES APPLICATIONS BLOCK DIAGRAM. PT6311 VFD Driver/Controller IC

VFD Driver/Controller IC

FEATURES DESCRIPTION APPLICATION BLOCK DIAGRAM. PT6311 VFD Driver/Controller IC

ABOV SEMICONDUCTOR 10 SEGMENT X 7 GRID LED DRIVER WITH KEYSCAN MC2102. Data Sheet (Ver. 1.21)

MOS INTEGRATED CIRCUIT

深圳市天微电子有限公司 LED DRIVER

ABOV SEMICONDUCTOR 11 SEGMENT X 7 GRID LED DRIVER WITH KEYSCAN MC2302. Data Sheet (Ver. 1.20)

VFD Driver/Controller IC

LED Driver IC IK2108A TECHNICAL DATA. Description

M66004SP/FP M66004SP/FP MITSUBISHI DIGITAL ASSP ASSP 16-DIGIT 5X7-SEGMENT VFD CONTROLLER 16-DIGIT 5 7-SEGMENT VFD CONTROLLER

HT9B92 RAM Mapping 36 4 LCD Driver

MOS INTEGRATED CIRCUIT

S6B CH SEGMENT DRIVER FOR DOT MATRIX LCD

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

EMERGING DISPLAY CUSTOMER ACCEPTANCE SPECIFICATIONS 32F00(CCFL TYPES) EXAMINED BY : FILE NO. CAS ISSUE : FEB.16,2000 TOTAL PAGE : 10

WORLDSEMI CO., LIMITED WS2813. Intelligent control integrated LED light source. Dual-signal wires version Signal break-point continuous transmission

WS2815 Intelligent control LED integrated light source

64CH SEGMENT DRIVER FOR DOT MATRIX LCD

NT Output LCD Segment/Common Driver NT7701. Features. General Description. Pin Configuration 1 V1.0

LM16X21A Dot Matrix LCD Unit

Nuvoton Touch Key Series NT086D Datasheet

ADC0804C, ADC BIT ANALOG-TO-DIGITAL CONVERTERS WITH DIFFERENTIAL INPUTS

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems datasheet is still valid. Contact information:

Vorne Industries. 2000B Series Buffered Display Users Manual Industrial Drive Itasca, IL (630) Telefax (630)

high performance needs great design.

Photodiode Detector with Signal Amplification

NT7108. Neotec Semiconductor Ltd. 新德科技股份有限公司 NT7108 LCD Driver. Copyright: NEOTEC (C)

SDA 3302 Family. GHz PLL with I 2 C Bus and Four Chip Addresses

AS1100 Serially Interfaced, 8-Digit LED Driver. +5V k 18 ISET VDD DIFG0-DIG3 AS DIN LOAD CLK GND SEG A-G SEP DP GND

NT Output LCD Segment/Common Driver. Features. General Description. Pin Configuration 1 V1.0 NT7702

1 Watt, MHz, SMT Tunable Band Pass Filter (MINI-ERF ) 1.75 x 2.40 x 0.387

WS2812B Intelligent control LED integrated light source

WS2815B-V3 Intelligent control LED integrated light source

LCD Segment Drivers Standard Segment Drivers BU9795AKV,BU9795AFV,BU9795AGUW,BU9794AKV,BU97950FUV Rev.A 1/14

2-Wire Interfaced, 7-, 14-, and 16-Segment Alphanumeric Vacuum-Fluorescent Display Controller

SMPTE-259M/DVB-ASI Scrambler/Controller

Obsolete Product(s) - Obsolete Product(s)

KS0108B 64CH SEGMENT DRIVER FOR DOT MATRIX LCD INTRODUCTION 100 QFP

HCF4054B 4 SEGMENT LIQUID CRYSTAL DISPLAY DRIVER WITH STROBED LATCH FUNCTION

DOT MATRIX PRINTER MECHANICAL CONTROL LSI FOR DP910 SERIES MODEL CBM-909PC SERIES

WS Intelligent control LED integrated light source

Part Number Terminals LCD Mode LED Color. * Simultaneous RGB illumination achieves infinite colors. Forward Current I F 20mA Power Dissipation P d mw

ST2225A. LED Display Driver. Version : A.025 Issue Date : 2001/11/26 File Name Total Pages : 12. : SP-ST2225A-A.025.doc

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

MBI5152 Application Note

64CH SEGMENT DRIVER FOR DOT MATRIX LCD INTRODUCTION FEATURES 100 QFP-1420C

DEM N1 TMH-PW-N

DEM B SBH-PW-N (A-TOUCH)

SN54273, SN54LS273, SN74273, SN74LS273 OCTAL D-TYPE FLIP-FLOP WITH CLEAR

PHYS 3322 Modern Laboratory Methods I Digital Devices

SC75823E/W. Silan Semiconductors 1/3 DUTY GENERAL-PURPOSE LCD DRIVER HANGZHOU SILAN MICROELECTRONICS CO.,LTD DESCRIPTION FEATURES ORDERING INFORMATION

MT8814AP. ISO-CMOS 8 x 12 Analog Switch Array. Features. -40 to 85 C. Description. Applications

MBI5050 Application Note

EM6126 EM MICROELECTRONIC - MARIN SA. Digitally programmable 65 and 81 multiplex rate LCD Controller and Driver. Features. Typical Applications

WS2812S Intelligent control LED integrated light source

LM8562. Digital Alarm Clock. Package Dimensions. Overview. Features. Specifications 3029A-DIP28S. Absolute Maximum Ratings at Ta = 25 C, V SS =0V

MT8812 ISO-CMOS. 8 x 12 Analog Switch Array. Features. Description. Applications

3.3V CMOS DUAL J-K FLIP-FLOP WITH SET AND RESET, POSITIVE-EDGE TRIG- GER, AND 5 VOLT TOLERANT I/O DESCRIPTION:

DEM A VMH-PW-N 5 TFT

SmartSwitch TM. Wide View LCD 36 x 24 Pushbutton DISTINCTIVE CHARACTERISTICS PART NUMBER & DESCRIPTION

Sitronix ST CH Segment Driver for Dot Matrix LCD. !"Dot matrix LCD driver with two 40 channel

3-Channel 8-Bit D/A Converter

FM25F01 1M-BIT SERIAL FLASH MEMORY

ZLNB101 DUAL POLARISATION SWITCH TWIN LNB MULTIPLEX CONTROLLER ISSUE 1- JANUARY 2001 DEVICE DESCRIPTION FEATURES APPLICATIONS

GDM12864A LCM User s Guide - Réf. : User s Guide GDM12864A LCM. (Liquid Crystal Display Module)

HD66766 Rev. 1.0 / 30 November 2001 HD (132 x 176-dot Graphics LCD Controller/Driver for 65K Colors)

Compact Size Perfect for rack mount router and other applications with space limitations.

82C55A CHMOS PROGRAMMABLE PERIPHERAL INTERFACE

SSD1305. Advance Information. 132 x 64 Dot Matrix OLED/PLED Segment/Common Driver with Controller

HCF4027B DUAL J-K MASTER SLAVE FLIP-FLOP

Complete 14-Bit, 56 MSPS Imaging Signal Processor AD9941

Features TEMP. RANGE ( C) ICM7245AIM44Z ICM7245 AIM44Z -25 C to +85 C 44 Ld MQFP Q44.10x10

Thiscontrolerdatasheetwasdownloadedfrom htp:/ SSD1331. Advance Information

DS2176 T1 Receive Buffer

Using the HT1628 for Washing Machine Panel Display

TIL311 HEXADECIMAL DISPLAY WITH LOGIC

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

ELE2120 Digital Circuits and Systems. Tutorial Note 7

MC54/74F568 MC54/74F569 4-BIT BIDIRECTIONAL COUNTERS (WITH 3-STATE OUTPUTS) 4-BIT BIDIRECTIONAL COUNTERS (WITH 3-STATE OUTPUTS)

MACH220-10/12/15/20. Lattice Semiconductor. High-Density EE CMOS Programmable Logic DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM

DEM A SBH-PW-N

16 Stage Bi-Directional LED Sequencer

Data Sheet March Features. ICM7218AIJI -40 to Ld CERDIP F28.6 Common Anode. ICM7218BIJI -40 to Ld CERDIP F28.

WS2812B-V4 Intelligent control LED integrated light source

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems datasheet is still valid. Contact information:

MACH130-15/20. Lattice/Vantis. High-Density EE CMOS Programmable Logic

description SCAS668A NOVEMBER 2001 REVISED MARCH 2003 Copyright 2003, Texas Instruments Incorporated

ICM Digit LED Microprocessor-Compatible Multiplexed Display Decoder Driver. Features. Related Literature FN Data Sheet February 15, 2007

Maintenance/ Discontinued

HCF40193B PRESETTABLE UP/DOWN COUNTERS (DUAL CLOCK WITH RESET) BINARY TYPE

Specification of Vacuum Fluorescent Display NORITAKE ITRON CORPORATION Sheet 1/19 DS25402

Maintenance/ Discontinued

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

LM8562. Digital Alarm Clock. Package Dimensions. Overview. Features. Specifications

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

ACE25QA512G 512K BIT SPI NOR FLASH

SmartSwitch. Wide View LCD 36 x 24 Pushbuttons & Display DISTINCTIVE CHARACTERISTICS PART NUMBERS & DESCRIPTIONS

DESCRIPTION FEATURES APPLICATIONS. LTC7543/LTC8143 Improved Industry Standard Serial 12-Bit Multiplying DACs TYPICAL APPLICATION

ECE 4510/5530 Microcontroller Applications Week 3 Lab 3

ICM7218A COMMON ANODE ICM7218C COMMON ANODE ICM7218B COMMON CATHODE ICM7218D COMMON CATHODE ID0-ID7 ID4-ID7 MODE WRITE ID0-ID3 INPUT

Transcription:

I. Introduction TM1638 is an IC dedicated to LED (light emitting diode display) drive control and equipped with a keypad scan interface. It integrates MCU digital interface, data latch, LED drive, and keypad scanning circuit. This product is reliable in quality, stable in performance and strong in interference resistance. It is mainly used for household electrical appliances (smart water heaters, microwave ovens, washing machines, air conditioners, electric stove), set-top boxes, electronic scale, smart meters and other digital tube or LED display devices. II. Features CMOS technology 10 segments 8 bits display Keypad scanning (8 3 bits) Brightness adjustment circuit (8-level adjustable duty ratio) Serial interfaces (CLK, STB, DIO) Oscillation mode: RC oscillation Built-in power-on reset circuit Package type: SOP28 III. Pin definition: V1.3-1 -

IV. Pin function: Symbol Pin Name Pin ID Description DIO Data input and output 26 Input serial data at rising edge of the clock, starting from lower bits. Output serial data at falling edge of the clock, starting from lower bits. During output, this is a PMOS open drain output. CLK Clock input 27 Read serial data at rising edge and output data at falling edge. STB K1~K3 SGE1/KS1~ SEG8/KS8 Chip selection input keypad scanning signal input Output (segment) 28 1~3 5~12 Initialize the serial interface at falling edge, then wait to receive instructions. The first byte after STB becomes low is considered as an instruction. When an instruction is being processed, other current processes are terminated. When STB is high, CLK is ignored. The data input into this pin is latched at the end of display cycle Segment output (also used as keypad scanning output). This is a PMOS open-drain output GRID1~ GRID8 Output (bit) 24~19 17~16 Bit output. This is an NMOS open-drain output. SEG9 ~ SEG10 Output (segment) 13~14 Segment output. This is a PMOS open drain output. VDD Logic Supply 4,15 Power + GND Logic GND 18,25 System GND Note: When DIO outputs data, it is an NMOS open drain output. To read the keypad, an external pull-up resistor should be provided to connect 1K-10K. The Company recommends a 10K pull up resistor. At falling edge of the clock, DIO controls the operation of NMOS, at which point, the reading is unstable until rising edge of the clock. V1.3-2 -

V. Description of Instructions: The first byte input by DIO after the falling edge of STB is considered as an instruction. After decoding, obtain the topmost B7 and B6 bits to distinguish different instructions. B7 B6 Instruction 0 1 Setting of Data Command 1 0 Setting of Display Control Command 1 1 Setting of Address Command If STB is set high during instruction or data transmission, serial communication is initialized, and the instruction or data being transmitted is invalid (but the instruction or data transmitted before remains active.) 5.1 Setting of Data Command This instruction is used to set data writing and reading. Bits B1 and B0 cannot set to 01 or 11. MSB LSB B7 B6 B5 B4 B3 B2 B1 B0 Function Description Write data to the 0 1 0 0 Setting of data display register read-write Read key scanning 0 1 1 0 mode data 0 1 Unrelated 0 Sett address Auto increment 0 1 item, fill 0 increment 1 mode Fixed address 0 1 0 Test mode Normal mode 0 1 1 setting (for internal use) Test mode 5.2 Setting of Address Command MSB LSB B7 B6 B5 B4 B3 B2 B1 B0 Display address 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 0 1 1 0 06H 1 1 Unrelated 0 1 1 1 07H 1 1 item, fill 0 1 0 0 0 08H 1 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 V1.3-3 -

This instruction is used to set the address of the display register. If the address is 10H or higher, data will be ignored until a valid address is set. On power-up, the address is set to 00H by default. 5.3 Display control MSB LSB B7 B6 B5 B4 B3 B2 B1 B0 Function Description 1 0 0 0 0 Set the pulse width to 1/16 1 0 0 0 1 Set the pulse width to 2/16 1 0 0 1 0 Set the pulse width to 4/16 Set the pulse width to 1 0 0 1 1 Set the 10/16 number of Set the pulse width to 1 0 Unrelated 1 0 0 extinction 11/16 item, fill 0 Set the pulse width to 1 0 1 0 1 12/16 1 0 1 1 0 Set the pulse width to 13/16 1 0 1 1 1 Set the pulse width to 14/16 1 0 0 Setting of Display Off 1 0 1 display switch Display ON VI. Address of display register: The register stores data transmitted through the serial interface from an external device to TM1638, or, to the address of 16 bytes ranging from 00H-0FH, each corresponding to the LEDs connected with the chip SEG and GRID pins, as assigned below: LED display data are written in an ascending order of both display address and data byte. SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 X X X X X X xxhl (low four) xxhu (high four) xxhl (low four) xxhu (high four) B0 B1 B2 B3 B4 B5 B6 B7 B0 B1 B2 B3 B4 B5 B6 B7 00HL 00HU 01HL 01HU GRID1 02HL 02HU 03HL 03HU GRID2 04HL 04HU 05HL 05HU GRID3 06HL 06HU 07HL 07HU GRID4 08HL 08HU 09HL 09HU GRID5 0AHL 0AHU 0BHL 0BHU GRID6 0CHL 0CHU 0DHL 0DHU GRID7 V1.3-4 -

0EHL 0EHU 0FHL 0FHU GRID8 Figure (2) Note: The moment the display register of the chip is powered on, the values stored inside may be random, at which point, customers may directly send a command to turn on the screen. Messy codes are likely to appear. Considering that, the company advise customers to clear the display register upon power-on, i.e., writing 0x00 into all the 16-byte memory addresses (00H-0FH). V1.3-5 -

VII. Display 1.Driving common cathode LEDs: Special circuit for LED drive control TM1638 Figure (7) Figure 7 is a diagram for the wiring of common cathode LEDs. To display 0 off the LED segment display, customers only need to write 0x3F to the 00H (GRID1) address starting from lower bits, at which point, 00H corresponds to the data in SEG1-SEG8 as shown in the table below. SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 0 0 1 1 1 1 1 1 GRID1(00H) B7 B6 B5 B4 B3 B2 B1 B0 2. Driving common anode LEDs: Figure (8) Figure 8 is a diagram for the wiring of common anode LEDs. To display 0 off the LED segment display, customers only need to write O1H into 00H (GRID1), 02H (GRID2), 04H (GRID3), 06H (GRID4), 08H (GRID5),and 0AH (GRID6), and 00H into 0CH (GRID7) and 0EH (GRID8). SEG1-SEG8 correspond to the data table below. SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 0 0 0 0 0 0 0 1 GRID1(00H) 0 0 0 0 0 0 0 1 GRID2(02H) 0 0 0 0 0 0 0 1 GRID3(04H) 0 0 0 0 0 0 0 1 GRID4(06H) 0 0 0 0 0 0 0 1 GRID5(08H) V1.3-6 -

K3 K2 K1 Special circuit for LED drive control TM1638 0 0 0 0 0 0 0 1 GRID6(0AH) 0 0 0 0 0 0 0 0 GRID7(0CH) 0 0 0 0 0 0 0 0 GRID8(0EH) B7 B6 B5 B4 B3 B2 B1 B0 Note: To drive common cathode LEDs or common anode LEDs, SEG pins can only be connected with LED anode, and GRID, only with LED cathode. Do not connect them in reverse direction. VIII. Keypad scanning and key combination: The keypad scanning matrix is 3 8bit, as shown in Figure (3) below: Figure (3) The storage address for keypad data is shown in (4). Upon a key reading command, the device starts to read key data BYTE1-BYTE4. Data already read will be output starting from lower bits. When a key corresponding to a pin of chips K and KS is pressed, the BIT corresponding to the byte is 1. B0 B1 B2 B3 B4 B5 B6 B7 K3 K2 K1 X K3 K2 K1 X KS1 KS2 BYTE1 KS3 KS4 BYTE2 KS5 KS6 BYTE3 KS7 KS8 BYTE4 Figure (4) Note: 1, TM1638 can be read up to four bytes only. 2. Data are read in order from BYTE1to BYTE4 without skipping any byte. For example: When the key corresponding to K2 and KS8 on a hardware, it is impossible to know the data unless and until the data from the key is read down to the fifth BIT of the forth byte. When two keys corresponding to K1 and KS8 as well as K2 and KS8 respectively are pressed simultaneously, the data read from B5 and B6 are 1 at BYTE4. 3. A combination key can only be formed on the same KS pins and different K pins. It is impossible to from a combination key on the same K pin but different KS pins. Keypad scan and combination keys: KS1 KS2 KS3 KS4 KS5 KS6 KS7 KS8 V1.3-7 -

(1) Keypad scan: keypad scanning is automatically done by TM1638 without user control. Users only need to read key codes according to time sequence. It takes a display cycle to scan keypad and a display cycle takes about T = 4.7ms. During this 4.7ms, if two different keys are pressed, the key code read in both times is the one of the key pressed first. (2) Combination keys Unusual problems with combination keys: SEG1/KS1-SEG8/KS8 are for combined use for display and keypad scanning. Take Figure (12) for example,to turn D1 on and D2 off, we have make sure SEG1 is in the status of "0" and SEG2, the status of "1". If S1 and S2 are pressed simultaneously, it is to the effect that SEG1 and SEG2 are short-circuited, then D1 and D2 are turned on. SGE1/KS1 S1 SGE2/KS2 S2 1D1 1D2 GRID1 Figure (12) Solution: 1. In terms of hardware, it is advisable to arrange the keys to be pressed at the same time on different K line, as shown in Figure (13). SGE1/KS1 1D1 1D2 S1 S2 K1 GRID1 GRID2 K1 K2 Figure (13) 2. Series diodes are shown in Figure (14). SGE1/KS1 S1 SGE2/KS2 S2 1D1 1D2 GRID1 Figure (14) K1 Note: It is recommend to form combination keys on the same KS but different Ks. V1.3-8 -

IX. Transmission format of serial data: a BIT is read and received at rising edge of the clock. Data reception (write data) CLK Special circuit for LED drive control TM1638 DIO B0 B1 B2 B3 B4 B5 B6 B7 STB Data reading (read data) Figure (5) CLK DIO B0 B1 B2 B3 B4 B5 B6 B7 B0 B1 B2 B3 B4 STB Send发读按键命令 key reading Twait Read 读取按键数据 key data command Figure (6) Note: 1. When data is read, it takes a waiting time Twait (minimum 2μS) from instruction setting at the eighth rising edge of the serial clock CLK to data reading at falling edge of the CLK. See the Timing Characteristics table for specific parameters. V1.3-9 -

X. Transmission of serial data in application (1) Address increment mode If address automatically increments by 1, the essence of address setting is to set the starting address where a data stream transmitted is stored. After the command word of the Starting Address has been sent, "STB" does not need to be set high to transmit data immediately thereafter, given 16 BYTEs at most. It is advisable to set STB high after data transmission. Command1: Set data command Command2: Set display address Data1~n: Transmit display data to the Command3 address and the following addresses (16 bytes at most) Command3: Set display control command (2) Fixed Address Mode If fixed address mode is adopted, the essence of address setting is to set the address where 1 BYTE data to be transmitted is stored. After transmission of address, it is not necessary to set "STB" high to transmit 1BYTE data immediately thereafter. It is advisable to set STB high after data transmission. Then users may set the address where the second data is stored. After transmission of date up to 16 BYTES at most, "STB" is set high. Command1: Set data command Command2: Set display address1 Data1: Transmit display data 1 to Command3 address Command3: Set display address 2 Data2: Transmit display data 2 to Command4 address Command4: Set display control command (3) Timing for key reading CLK DIO Command1 Data1 Data2 Data3 Data4 STB Command1: Set key reading command Data1 ~ 4: read key data - V1.3-10

(4) Flowchart for program design in the modes of auto address increment by 1 and fixed address: Flowchart for program design in the mode of auto address increment by 1: Start Initialization Set command for writing data into display memory, in the mode of auto address increment by 1(40H) Set data commend for key reading (42H) No Read the contents of 1 byte Save the key value into the register of MCU No Set starting address (0C0H) Transmit Transmit data data Has 4 bytes been read? Y e s Have the 16-byte data been transmitted? Is any key pressed? Y e s Y e s Key processing program N o Transmit the display control command to set maximum brightness (8FH) End - V1.3-11

Flowchart for program design in the mode of fixed address: Start Transmit the display control command to set maximum brightness (8FH) Initialization Set data commend for key reading (42H) Set command for writing data into display memory, in the mode of fixed address (44H) No Read the contents of 1 byte Set starting address (0C0H) Save the key value into the register of MCU Transmit 1 byte data Has 4 bytes been read? Set a new address (0C1H)) Y e s Transmit 1 byte data Is any key pressed? Transit the rest data Key processing program End - V1.3-12

XI. Application Circuit: Hardware circuit diagram for TM1638 to drive a common cathode LED screen MCU - V1.3-13

Hardware circuit diagram for TM1638 to drive a common anode LED screen MCU Note: 1. During PCB board wiring, the filter capacitor between VDD and GND shall be placed as close as possible to TM1638 to strengthen the filtering effect. 2. The three 100P capacitors connected to the three communication ports, DIO, CLK, and STB will reduce interference with the communication ports. 3. Considering the turn-on voltage drop of blue digital led display is about 3V, the power supply for TM1638 should be 5V. - V1.3-14

XII Electrical Parameters: Limit parameter (Ta = 25, Vss = 0 V) Parameter Symbol Scope Unit Logic Supply Voltage VDD -0.5~+7.0 V Logic input voltage VI1-0.5 ~ VDD + 0.5 V LED Seg drives output current LED Grid drives output current IO1-50 ma IO2 +200 ma Power loss PD 400 mw Operating temperature Topt -40 ~ +80 Storage temperature Tstg -65~+150 Normal operating range (Ta = -20 ~ + 70, Vss = 0 V) Parameter Symbol Minimum Typical Maximum Unit Test Conditions Logic Supply Voltage VDD 5 V - High-level input voltage VIH 0.7 VDD - VDD V - Low-level input voltage VIL 0-0.3 VDD V - Electrical Characteristics (Ta = -20 ~ + 70, VDD = 4.5 ~ 5.5 V, Vss = 0 V Parameter Symbol Minimum Typical Maximum Unit Test Conditions SEG drives current draw Ioh1 20 25 40 ma Ioh2 20 30 50 ma SGE1~SEG10 Vo = VDD-2V SGE1~SEG10 Vo = VDD-3V GRID drives sink current IOL1 80 140 - ma GRID1-GRID8 Vo=0.3V - V1.3-15

Output pull-down resistance RL 10 KΩ K1~K3 Input current II - - ±1 μa VI = VDD / VSS High-level input voltage Low-level input voltage VIH 0.7 VDD - V CLK,DI0,STB VIL - - 0.3 VDD V CLK,DI0,STB Lagging voltage VH - 0.35 - V CLK,DI0,STB Dynamic current loss IDDdyn - - 5 ma No load, Display Off Switching Characteristics (Ta = -20~ + 70, VDD = 4.5 ~5.5 V) Parameter Symbol Minimum Typical Maximum Unit Test Conditions Oscillation frequency Transmission delay time fosc - 500 - KHz R = 16.5 KΩ tplz - - 300 ns CLK DIO tpzl - - 100 ns CL = 15pF, RL = 10K Ω Rise Time TTZH 1 - - 2 μs CL = 300p F SEG1 ~ SEG10 Fall Time TTHZ - - 120 μs CL = 300pF,SEGN, GRIDN Maximum clock frequency Input capacitance Fmax - - 1 MHz Duty ratio=50% CI - - 15 pf - - V1.3-16

Timing Characteristics (Ta = -20 ~ + 70, VDD = 4.5 ~ 5.5 V) Parameter Symbol Minimum Typical Maximum Unit Test Conditions Clock pulse width Strobing pulse width Data setup time Data Hold Time CLK STB time PWCLK 400 - - ns - PWSTB 1 - - μs - tsetup 100 - - ns - thold 100 - - ns - tclk STB 1 - - μs CLK STB Waiting time twait 1 - - μs CLK CLK Timing Waveforms: - V1.3-17

XIII. Package size Package size for SOP28 : Special circuit for LED drive control TM1638 A1 D b e E E1 A2 A C L θ Symbol Unit: mm Unit: Inch Minimum Maximum Minimum Maximum A 2.350 2.65 0.093 0.104 A1 0.10 0.3 0.004 0.012 A2 2.290 2.5 0.090 0.098 b 0.330 0.51 0.013 0.020 c 0.204 0.33 0.008 0.013 D 17.70 18.10 0.697 0.713 E 7.40 7.70 0.291 0.303 E1 10.21 10.61 0.402 0.418 e 1.270(BSC) 0.050(BSC) L 0.4 1.27 0.016 0.050 θ 0 8 0 8 All specs and applications shown above are subject to change without prior notice. - V1.3-18