LED Drive and Keyboard Control Chip CH455: English Datasheet of Ch455 1
LED Drive and Keyboard Control Chip CH455: English Datasheet of Ch455 1
LED Drive and Keyboard Control Chip CH455: English Datasheet of Ch455 1
1. Introduction
CH455 is LED display drive and keyboard scan control chip. It sets clock surge circuit internally to drive four bits number LED or thirty two LEDs dynamically. And at the same time it can scan 28-key. CH455 exchanges data with MCU via two wires serial interface of SCL and SDA.. SCL SDA SEG6 ! CH455 MCU etc INT# (broken line is optional) 7 4 matrix 28 keys board
DIG3!DIG0
2. Features
Set display current drive layer internally, the current of segment is no less than 25mA, the current of word is no less than 160mA. Display scan control dynamically, support 8 4 or 7 4, directly drive four bits number LED or thirty two LEDs. Internal limit current, set eight level light control via space percentage. Set 28-key keyboard control, based on 7 4 matrix scan.. Set pull-down resistor internal while key-press, glitter removable. Supply keyboard interrupt active with low-level, and supply key-press release token to check the key is pressed or release. High speed two wires serial interface, the speed of clock varies from 0 to 4MHz, compatible with I2C bus, save pins. Set turn on power to reset, 2.7V~5V power. Support low exhaust sleep mode to save energy, awoke via press key or command. Set clock surge circuit internally, the external clock or surge equipment is not necessary, resister to be disturbed. Supply DIP18, SOP18 and SOP16 package without lead, compatible with RoHS, the function and pins are part compatible with CH450 .
3. Package
Instruction of package Dual in-line package of 18-pin Small outline package of 18-pin Small outline package of 16-pin
4. Pins
Pin No. DIP18/SOP18 11 4 9,10 12,13 14,15 16 SOP16 14 8 12,13 15,16 1,2 3 Pin Name VCC GND Type POWER POWER Tri-state Output Input Description Positive power, the persistent current is no less than 150mA Public ground, the persistent current is no less than 150mA Segment driver of LEDs, active with high level, Keyboard scan input, active with high level, with pull-down resistor Radix point segment output of LED, active with high level, Key-board interrupt output in 7-segment mode, active with low level Word diver of LED, active with low level, Key-board scan output, active with high level
SEG0 !SEG6
17
SEG7
Output
1,5 6,7
5,9 10,11
DIG0 !DIG3
SDA
Data input and output of 2-wire serial interface, With pull-up resister
2 18
6 No
SCL INT#
Data clock of 2-wire serial interface, With pull-up resister Key-board interrupt output, active with
low-level
Adjust the upper limit of segment current, NC. Means the default setting
5. Function description
5.1. General description
The data in this manual has three types. Binary numbers are followed by a ! B". Hexadecimal numbers are followed by an ! H". Numbers without annotations are decimals. X stands for any value. MCU (DSP, microprocessor etc. controller) controls CH455 chip via 2-wire serial interface. The numeric display driver is independent of keyboard scan control, so the MCU can start, close, set the two functions separately. The 2-wire serial interface of CH455is achieved by hardware, and the MCU can high-speed operate on the serial interface frequently, the efficient of CH455 has no influence.
SEG6 SEG0+SEG1
37H 3FH
36H 3EH
35H 3DH
34H 3CH
6. Operation command
The operation command of CH455 is divided as three groups. The start command, stop command, acknowledge 1 and acknowledge 2 are the same, the difference are the output byte 1, byte 2, the transfer direction of byte 2.
keyboard scan. When SLEEP is 1, CH455 enter into low-power exhaust sleep state to save power. CH455 can be woken by one of the two affairs: one is checked the key-press of SEG0~SEG3, the efficient key-press code id from 44H to 5FH; the other is received the next operation command from MCU. When CH455 has been woken up, the SLEEP will automatic clear as 0. The operation of sleep and awake has no influence on CH455$s other work sate. If ENA is 1, awake and then generate key-press interrupt; if ENA is 0, awake and don$t generate key-press interrupt. When 7SEG is 1, responding to 7-segment mode, display scan is 7 4, don$t support radix point. SEG7 used as key-press interrupt output, the same efficient with INT#. When 7SEG is 0, responding to 8-segment mode, display scan is 8 4, support radix point. This bit is used to CH455G to start key-board scan function without INT# pin. The display light INTENS via 3 bits data to control. 001B to 111B and 000B set the display drive space rate is 1/8 to 7/8 and 8/8, the default value is 8/8. For example, byte 2 00000001B indicates the mode is 8-segment, display space rate is 8/8; byte 2 01000001B indicates the mode is 8-segment, display space rate is 4/8; byte 2 00001001B indicates the mode is 7-segment, display space rate is 8/8; byte 2 00000100B indicates enter into low-power sleep mode, woke up by press key or command operation, SLEEP clear as 0.
7. Parameter
7.1. Absolute maximum rating (Stresses above those listed can cause permanent damage to
the device. Exposure to maximum rated conditions can affect device operation and reliability.) Name Ambient operating temperature Parameter note ISET connects to ground, connect limit current resistor Don$t connect limit current resistor, using internal limit current Min. -40 -40 Max. 85 70 Units
TA
Storage temperature Voltage source (VCC connects to power, GND to ground) The voltage of input or output pin Sequential driven current of signal DIG pin Sequential driven current of signal SEG The total of all SEG pins sequential driven current
7.4. Interface sequence parameter (test conditions: TA=25 ,VCC=5V, consult the
following image)
(note: the unit is 10-9 mainly, the max value which is not given clear indication is infinite in the abstract.)
Name TSSTA THSTA TSSTO THSTO TCLOW TCHIG TSDA THDA TAA TDH Rate
Parameter note Start signal set up time when SDA is falling edge Start signal keep time when SDA is falling edge Stop signal set up time when SDA is rising edge Stop signal keep time when SDA is rising edge Low-level width of SCL clock signal High-level width of SCL clock signal SDA input data for SCL rising edge set up time SDA input data for SCL rising edge keep time SDA output data efficient for SCL falling edge delay time SDA output data inefficient for SCL falling edge delay time Average data transform speed
Typical
Max.
Units nS nS nS nS nS nS nS nS
30 40 4M
nS bps
8. Application
8.1. Numeric LEDs driver and key-board scan (following image)
CH455 connects to the external MCU via two wires serial interface SCL and SDA. Capacitance C1 and C2 are laying next to power pin, used to power decoupling decrease the disturb generated by driven large current. CH455 can directly drive four common cathodes dynamically. The same segment pin (segment A~G and radix point) of all the number LED parallel connect, then connect to SEG0~SEG7 of CH453 via serial connect limited current resistor R1. The public cathode of each number LED is driven by DIG0~DIG3 of CH455. ISET pin connects to ground, close internal limited current, so connect R1 to limit and balance segment driver current. On the 5V power, usually serial connects 200& resistor is corresponding to 13mA segment current. The value of limited current resistor is more larger, the segment current is more smaller, the display light is more darker. The value of R1 is between 50& and 1K&, when the power voltage is lower ( such as VCC=3.3V), don$t need limited resistor. While the other condition is the same, select the large value resistor at priority to reduce consume of CH455. CH455 has key-board scan function with 28-key. If only need few key-press, get rid of any key-press in 7 4 matrix. In order to avoid influence on display because of the short circuit of SEG and DIG signal wire after key-press, serial connect limit current resistor R11-R14 between DIG0~DIG3 and keyboard matrix, the value is from 1K& to 10K&. When use keyboard function,
the INT# of CH455 can connect to input pin or common I/O pin of MCU. In the image, the MCU U2 via CH455 drives four common cathode numeric LEDs and scan twenty eight keys. Because some numeric LED has reverse creepage when the voltage is high, make a mistake for CH455 that there is one key is pressed for a long time, recommend to use diode D1-D4, and enhance input signal level of SEG0~SEG6 when keyboard scan. When source voltage is low (such as 3.3V), get rid of these diodes to avoid influence on the display light.
After adding reversers in DIG0~DIG3 word pins, CH455 can drive common anticathode numeric LEDs. In the image, the reversers are composed of four PNP audions T1~T4 (type of 9012 or 8550) and four resistors R3 (1K& to 3K&), drive four common anticathode numeric. The SEG segment is converse drive in this connection, so the word data in load word data command
10
must be opposite by bit, when the data bit is 0, light; when the data bit is 1, extinguish. There is no current limit in the chip when reverse drive. If want to drive large size numeric LEDs with high voltage or add drive current to enhance light, consult the detail of CH452.
11
12