HOLTEK HT1632C

HT1632C
32´8 & 24´16 LED Driver
Features
· Operating voltage: 2.4V~5.5V
· Integrated 256kHz RC oscillator
· Multiple LED display - 32 ROW /8 COM and
· Serial MCU interface - CS, RD, WR, DATA
24 ROW & 16 COM
· Data mode & command mode instruction
· Integrated display RAM - select 32 ROW &
· Cascading function for extended applications
8 COM for 64´4 display RAM, or select
24 ROW & 16 COM for 96´4 display RAM
· Selectable NMOS open drain output driver and
PMOS open drain output driver for commons
· 16-level PWM brightness control
· 52-pin QFP package
Applications
· Industrial control indicator
· Other consumer application
· Digital clock, thermometer, counter, voltmeter
· LED Displays
· Instrumentation readouts
General Description
The HT1632C is a memory mapping LED display controller/driver, which can select a number of ROW and commons. These are 32 ROW & 8 commons and 24 ROW &
16 commons. The device supports 16-gradation LEDs
for each out line using PWM control with software instructions. A serial interface is conveniently provided for the
command mode and data mode. Only three or four lines
are required for the interface between the host controller
and the HT1632C. The display can be extended by cascading the HT1632C for wider applications.
Block Diagram
V D D
V S S
D is p la y R A M
2
C S
R D
W R
C o n
a n
T im
C ir c
L E D _ V D D
C O M 0
tro l
d
in g
u it
C O M 7
L E D
D r iv e r
R O W 0
D A T A
R O W 2 3
R O W 2 4 /C O M 1 5
R O W 3 1 /C O M 8
2
O S C
S Y N C
Rev. 1.20
T im in g
G e n e ra to r
P W M
1
L E D _ V S S
C o n tro l
June 28, 2011
HT1632C
Pin Assignment
R O W 2 4 /C O M
R O W
R O W
R O W
R O W
R O W
R O W
R O W
R O W
R O W
R O W
R O W
R O W
1 5
2 3
2 2
2 1
2 0
1 9
1 8
1 7
1 6
1 5
1 4
1 3
1 2
R O W
R O W
R O
R O
R O
R O
L E D _ V
R O
R O
R O
R O
R O
R O
5 2 5 1 5 0 4 9 4 8 4 7 4 6 4 5 4 4 4 3 4 2 4 1 4 0
1 1
1
3 8
W 9
2
3
3 7
1 0
W 8
3 6
4
W 7
5
6
W 4
9
3 5
W 6
D D
H T 1 6 3 2 C
5 2 Q F P -A
7
W 5
W 3
W 2
W 1
W 0
3 9
8
1 0
1 1
1 2
1 3
1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 2 6
3 4
3 3
3 2
3 1
3 0
2 9
2 8
2 7
R O W
L E D _
R O W
L E D _
R O W
R O W
R O W
R O W
R O W
C O M
C O M
C O M
C O M
7
2 5
V D
2 6
V S
2 7
2 8
2 9
3 0
3 1
/C O
D
/C O
S
/C O
/C O
/C O
/C O
/C O
M 1 4
M 1 3
M 1 2
M 1 1
M 1 0
M 9
M 8
6
5
4
C O M
L E D
C O M
C O M
C O M
V D D
S Y N
C S
R D
W R
D A T
O S C
V S S
C
1
0
3
_ V S S
2
A
Pin Description
Pad Name
I/O
Description
ROW0~ROW23
O
Line drivers. These pins drive the LEDs.
ROW24/COM15~
ROW31/COM8
O
Drive LED outputs or common outputs. Each COM pin is double bonded.
COM0~COM7
O
Common outputs. Each COM pin is double bonded.
SYNC
I/O
If the RC Master Mode or EXT CLK Master Mode command is programmed, the synchronous signal is output to SYN pin.
If the Slave Mode command is programmed, the synchronous signal is input from SYN pin.
OSC
I/O
If the RC Master Mode command is programmed, the system clock source is from on-chip
RC oscillator and system clock is output to OSC pin.
If the Slave Mode or EXT CLK Master Mode command is programmed, the system clock
source is input from external clock via the OSC pin.
DATA
I/O
Serial data input or output with pull-high resistor
WR
I
WRITE clock input with pull-high resistor Data on the DATA lines are latched into the
HT1632C on the rising edge of the WR signal.
RD
I
READ clock input with pull-high resistor. The HT1632C RAM data is clocked out on the
falling edge of the RD signal. The clocked out data will appear on the DATA line. The host
controller can use the next rising edge to latch the clocked out data.
I
Chip select input with pull-high resistor When the CS line is high, the data and command
read from or written to the HT1632C is disabled, and the serial interface circuit is also reset. If CS is low, the data and command transmission between the host controller and the
HT1632C are all enabled.
CS
LED_VDD
¾
Positive power supply for driver circuit. Each LED_VDD pin is double bonded.
LED_VSS
¾
Negative power supply for driver circuit, ground. Each LED_VSS pin is double bonded.
VSS
¾
Negative power supply for logic circuit, ground.
VDD
¾
Positive power supply for logic circuit.
Rev. 1.20
2
June 28, 2011
HT1632C
Absolute Maximum Ratings
Supply Voltage ...........................VSS-0.3V to VSS+6.0V
Storage Temperature ............................-50°C to 125°C
Input Voltage.............................VSS-0.3V to VDD+0.3V
Operating Temperature...........................-40°C to 85°C
Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maximum Ratings² may
cause substantial damage to the device. Functional operation of this device at other conditions beyond those listed
in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability.
D.C. Characteristics
Symbol
Parameter
VDD=2.4V~5.5V, Ta=25°C (Unless otherwise specified)
Test Conditions
VDD
Conditions
¾
Min.
Typ.
Max.
Unit
2.4
5.0
5.5
V
VDD
Operating Voltage
¾
IDD
Operating Current
5V
No load, LED ON,
on-chip RC oscillator
¾
0.3
0.6
mA
ISTB
Standby Current
5V
No load, power down mode
¾
1.5
3.0
mA
VIL
Input Low Voltage
5V
DATA, WR, CS, RD
0
¾
0.3VDD
V
VIH
Input High Voltage
5V
DATA, WR, CS, RD
0.7VDD
¾
5
V
IOL1
OSC, SYNC, DATA
5V
VOL=0.5V
18
25
¾
mA
IOH1
OSC, SYNC, DATA
5V
VOH=4.5V
-10
-13
¾
mA
IOL2
ROW Sink Current
5V
VOL=0.5V
12
16
¾
mA
IOH2
ROW Source Current
5V
VOH=4.5V
-50
-70
¾
mA
IOL3
COM Sink Current
5V
VOL=0.5V
250
350
¾
mA
IOH3
COM Source Current
5V
VOH=4.5V
-45
-60
¾
mA
RPH
Pull-high Resistor
5V
DATA, WR, CS, RD
18
27
40
kW
Rev. 1.20
3
June 28, 2011
HT1632C
A.C. Characteristics
Symbol
VDD=2.4V~5.5V, Ta=25°C (Unless otherwise specified)
Test Conditions
Parameter
VDD
Conditions
Min.
Typ.
Max.
Unit
230
256
282
kHz
fSYS
System Clock
5V
On-chip RC oscillator
fLED
LED Duty Cycle & Frame
Frequency
5V
1/8 duty
¾
fSYS/2624
¾
Hz
5V
1/16 duty
¾
fSYS/2624
¾
Hz
fCLK1
Serial Data Clock (WR pin)
5V
Duty cycle 50%
¾
¾
1
MHz
fCLK2
Serial Data Clock (RD pin)
5V
Duty cycle 50%
¾
¾
500
kHz
tCS
Serial Interface Reset Pulse
Width
¾
CS
250
¾
¾
ns
tCLK
Write mode
0.5
WR, RD Input Pulse Width
5V
¾
¾
Read mode
1.0
¾
¾
ms
tr, tf
Rise/Fall Time Serial Data
Clock Width (Figure 1)
¾
¾
¾
50
100
ns
tsu
Setup Time for DATA to WR,
RD Clock Width (Figure 2)
¾
¾
50
100
¾
ns
th
Hold Time for DATA to WR, RD,
Clock Width (Figure 2)
¾
¾
100
200
¾
ns
tsu1
Setup Time for CS to WR, RD,
Clock Width (Figure 3)
¾
¾
200
300
¾
ns
th1
Hold Time for CS to WR, RD,
Clock Width (Figure 3)
¾
¾
100
200
¾
ns
tod
Data Output Delay Time
(Figure 4)
¾
¾
¾
100
200
ns
tf
W R , R D
C lo c k
9 0 %
5 0 %
1 0 %
tr
tC
V
tC
L K
V a lid D a ta
D D
D A T A
G N D
L K
ts
W R
C lo c k
Figure 1
V
D D
5 0 %
G N D
th
u
V
D D
5 0 %
G N D
Figure 2
tC
C S
V
th
u 1
G N D
V
L a s t C lo c k
V
G N D
d
V
R D
D D
D D
5 0 %
to
1
5 0 %
F ir s t C lo c k
D A T A
D D
5 0 %
ts
W R , R D
C lo c k
S
D D
G N D
G N D
Figure 4
Figure 3
Rev. 1.20
4
June 28, 2011
HT1632C
Functional Description
set to ²1², the corresponding LED will be lighted. Data in
the RAM can be accessed by the READ, WRITE, and
READ-MODIFY-WRITE commands. The contents of
the RAM can be read or written from bit 0 of the specific
address. The following is a mapping from the RAM to
the LED pattern:
Display Memory - RAM
The static display memory (RAM) is organized into 64´4
bits or 96´4 bits and is used to store the display data. If
32 ROW & 8 COM is selected, the RAM size is 64´4
bits. If 24 ROW & 16 COM is selected, the RAM size is
96´4 bits. The contents of the RAM are directly mapped
to the contents of the LED driver. If the data in RAM is
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
ROW0
01H
00H
ROW1
03H
02H
ROW2
05H
04H
ROW3
07H
06H
ROW4
09H
08H
ROW5
0BH
0AH
ROW6
0DH
0CH
ROW7
0FH
0EH
ROW8
11H
10H
ROW9
13H
12H
ROW10
15H
14H
ROW11
17H
16H
ROW12
19H
18H
ROW13
1BH
1AH
ROW14
1DH
1CH
ROW15
1FH
1EH
ROW16
21H
20H
ROW17
23H
22H
ROW18
25H
24H
ROW19
27H
26H
ROW20
29H
28H
ROW21
2BH
2AH
ROW22
2DH
2CH
ROW23
2FH
2EH
ROW24
31H
30H
ROW25
33H
32H
ROW26
35H
34H
ROW27
37H
36H
ROW28
39H
38H
ROW29
3BH
3AH
ROW30
3DH
3CH
ROW31
3FH
3EH
D3
D2
D1
D0
Addr.
Data
D3
D2
D1
D0
Addr.
Data
32 ROW & 8 COM for 64´4 Display RAM
Rev. 1.20
5
June 28, 2011
HT1632C
COM15 COM14 COM13 COM12
.........
COM3
COM2
COM1
COM0
ROW0
03H
00H
ROW1
07H
04H
ROW2
0BH
08H
ROW3
0FH
0CH
ROW4
13H
10H
ROW5
17H
14H
ROW6
1BH
18H
ROW7
1FH
1CH
ROW8
23H
20H
ROW9
27H
24H
ROW10
2BH
28H
ROW11
2FH
ROW12
33H
.........
2CH
30H
ROW13
37H
34H
ROW14
3BH
38H
ROW15
3FH
3CH
ROW16
43H
40H
ROW17
47H
44H
ROW18
4BH
48H
ROW19
4FH
4CH
ROW20
53H
50H
ROW21
57H
54H
ROW22
5BH
58H
ROW23
5FH
D3
D2
D1
D0
.........
Addr.
Data
5CH
D3
D2
D1
D0
Addr.
Data
24 ROW & 16 COM for 96´4 Display RAM
Rev. 1.20
6
June 28, 2011
HT1632C
System Oscillator
LED OFF command turns the LED display off by disabling the LED duty cycle generator. The LED ON command, on the other hand, turns the LED display on by
enabling the LED duty cycle generator.
The HT1632C system clock is used to generate the time
base clock frequency, LED-driving clock. The clock may
be sourced from an on-chip RC oscillator (256kHz), or
an external clock using the S/W setting. The configuration of the system oscillator is as shown. After the SYS
DIS command is executed, the system clock will stop
and the LED duty cycle generator will turn off. This command is, however, available only for the on-chip RC oscillator. Once the system clock stops, the LED display
will become blank, and the time base will also lose its
function. The LED OFF command is used to turn the
LED duty cycle generator off. After the LED duty cycle
generator switches off by issuing the LED OFF command, using the SYS DIS command reduces power
consumption, serving as a system power down command. But if the external clock source is chosen as the
system clock, using the SYS DIS command can neither
turn the oscillator off nor execute the power down mode.
The crystal oscillator option can be applied to connect
an external frequency source to the OSC pin. In this
case, the system fails to enter the power down mode,
similar to the case in the external clock source operation. At the initial system power on, the HT1632C is in
the SYS DIS state.
O S C
Function
LED OFF
10000000010X Turn off LED outputs
LED ON
10000000011X Turn on LED outputs
ab=00: N-MOS open
drain output and 8 common option
ab=01: N-MOS open
drain output and 16
Commons
common option
1000010abXXX
Option
ab=10: P-MOS open
drain output and 8 common option
ab=11: P-MOS open
drain output and 16
common option
Cascade Operation
For the cascade operation, the first IC is set to master
mode and its SYNC and OSC pins are set to output pins.
The second IC is set to slave mode and its SYNC and
OSC pins are set to input pins which are connected to
the the master IC. Please refer to the ²Cascade control
flow chart² for detail settings.
E x te r n a l C lo c k S o u r c e
S y s te m
C lo c k
O n - c h ip R C O s c illa to r
2 5 6 k H z
Command
Code
Name
Blinker
The HT1632C has display blinking capabilities. The blink
function generates all LED blinking. The blink rates is
0.25s LED on and 0.25s LED off for one blinking period .
This blinking function can be effectively performed by
setting the BLINK ON or BLINK OFF command.
System Oscillator Configuration
LED Driver
The HT1632C has a 256 (32´8) and 384 (24´16) pattern
LED driver. It can be configured in a 32´8 or 24´16 pattern and common pad N-MOS open drain output or
P-MOS open drain output LED driver using the S/W configuration. This feature makes the HT1632C suitable for
multiple LED applications. The LED-driving clock is derived from the system clock. The driving clock frequency
is always 256kHz, an on-chip RC oscillator frequency, or
an external frequency. The LED corresponding commands are summarized in the table. The bold form of 1 0
0, namely 1 0 0, indicates the command mode ID. If successive commands have been issued, the command
mode ID except for the first command will be omitted. The
Command Format
The S/W setting can configure the HT1632C. There are
two mode commands to configure the HT1632C resources and to transfer the LED display data. The configuration mode of the HT1632C is knows as the command
mode,with a command mode ID of 1 0 0. The command
mode consists of a system configuration command, a
system frequency selection command, a LED configuration command, and an operating command. The data
mode, on the other hand, includes READ, WRITE, and
READ-MODIFY-WRITE operations.
L E D
T u rn O n
T u rn O ff
0 .2 5 s
0 .2 5 s
B lin k O n
B lin k O ff
Example of Waveform for Blinker
Rev. 1.20
7
June 28, 2011
HT1632C
LED Driver Mode output Waveform
· N-MOS open drain of 32x8 driver mode
3 20* tC LK
8 *tCLK
~
ROW0 ~ROW31
ON
OFF
32 4*tCLK
OFF
COM0
ON
4* tCLK
OFF
COM1
ON
OFF
COM2
ON
~
OFF
COM5
ON
OFF
COM6
ON
OFF
COM7
ON
1 /2 *tCLK
SYNC
1 Fr ame = 8*3 28* tCLK
Note: tCLK=1/fSYS
· P-MOS open drain of 24x16 driver mode: (COM pin with Transistor Buffer)
1 60* tC LK
4 *tCLK
ROW0 ~ROW23
~
ON
OFF
16 2*tCLK
ON
COM0
OFF
2* tCLK
ON
COM1
OFF
ON
COM2
OFF
~
ON
R OW26 /COM1 3
OFF
ON
R OW25 /COM1 4
OFF
ON
R OW24 /COM1 5
OFF
1 /2 *tCLK
SYNC
1 Frame = 1 6*1 64* tC LK
Note: tCLK=1/fSYS
Rev. 1.20
8
June 28, 2011
HT1632C
Digital Dimming
The Display Dimming capabilities of the HT1632 are very versatile. The whole display can be dimmed using pulse
width modulation techniques for the ROW driver with the Dimming command. The relationship between ROW and
COM digital dimming duty time are shown as below:
OFF
COM
ON
ROW
1/16 Duty
ROW
2/16 Duty
ROW
3/16 Duty
ROW
4/16 Duty
ON
1*T
OFF
ON
2*T
OFF
ON
3*T
OFF
ON
4*T
ROW
5/16 Duty
ROW
6/16 Duty
ROW
7/16 Duty
ROW
8/16 Duty
ROW
9/16 Duty
ROW
10/16 Duty
ROW
11/16 Duty
OFF
ON
5*T
OFF
ON
6*T
OFF
ON
7*T
OFF
ON
8*T
OFF
ON
9*T
OFF
ON
10*T
OFF
ON
11*T
ROW
12/16 Duty
ROW
13/16 Duty
ROW
14/16 Duty
ROW
15/16 Duty
ROW
16/16 Duty
Note:
OFF
ON
12*T
OFF
ON
13*T
OFF
ON
14*T
OFF
ON
15*T
OFF
ON
16*T
OFF
(1) T=20 x tCLK(32x8 driver mode)
(2) T=10 x tCLK(24x16 driver mode)
(3) tCLK=1/fSYS
Rev. 1.20
9
June 28, 2011
HT1632C
Interfacing
The following are the data mode ID and the command
mode ID:
Operation
Read
Mode
ID
Data
110
Write
Data
101
Read-Modify-Write
Data
101
Command
100
Command
Only four lines are required to interface to the HT1632C.
The CS line is used to initialise the serial interface circuit
and to terminate the communication between the host
controller and the HT1632C. If the CS pin is set to 1, the
data and command issued between the host controller
and the HT1632C are first disabled and then initialised.
Before issuing a mode command or mode switching, a
high level pulse is required to initialise the serial interface of the HT1632C. The DATA line is the serial data input/output line. Data to be read or written or commands
to be written have to be passed through the DATA line.
The RD line is the READ clock input. Data in the RAM is
clocked out on the falling edge of the RD signal, and the
clocked out data will then appear on the DATA line. It is
recommended that the host controller reads in the correct data during the interval between the rising edge and
the next falling edge of the RD signal. The WR line is the
WRITE clock input. The data, address, and command
on the DATA line are all clocked into the HT1632 on the
rising edge of the WR signal.
The mode command should be issued before the data
or command is transferred. If successive commands
have been issued, the command mode ID, namely 1 0 0,
can be omitted. While the system is operating in the
non-successive command or the non-successive address data mode, the CS pin should be set to ²1² and the
previous operation mode will be reset also. Once the CS
pin returns to ²0², a new operation mode ID should be issued first.
Timing Diagrams
READ Mode - Command Code = 1 1 0
C S
W R
R D
D A T A
1
1
0
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3
M e m o ry A d d re s s 1 (M A 1 ) D a ta (M A 1 )
1
1
0
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3
M e m o ry A d d re s s 2 (M A 2 ) D a ta (M A 2 )
READ Mode - Successive Address Reading
C S
W R
R D
D A T A
Rev. 1.20
1
1
0
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0
M e m o ry A d d re s s (M A )
D a ta (M A )
D a ta (M A + 1 ) D a ta (M A + 2 ) D a ta (M A + 3 )
10
June 28, 2011
HT1632C
WRITE Mode - Command Code = 1 0 1
C S
W R
D A T A
1
0
1
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3
M e m o ry A d d re s s 1 (M A 1 ) D a ta (M A 1 )
1
0
1
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3
M e m o ry A d d re s s 2 (M A 2 ) D a ta (M A 2 )
WRITE Mode - Successive Address Writing
C S
W R
1
D A T A
0
1
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0
M e m o ry A d d re s s (M A )
D a ta (M A )
D a ta (M A + 1 ) D a ta (M A + 2 ) D a ta (M A + 3 )
READ-MODIFY-WRITE Mode - Command Code = 1 0 1
C S
W R
R D
D A T A
1
0
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3
M e m o ry A d d re s s 1 (M A 1 ) D a ta (M A 1 )
D a ta (M A 1 )
1
1
0
1
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3
M e m o ry A d d re s s 2 (M A 2 ) D a ta (M A 2 )
READ-MODIFY-WRITE Mode - Successive Address Accessing
C S
W R
R D
D A T A
Rev. 1.20
1
0
1
A 6 A 5 A 4 A 3 A 2 A 1 A 0 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0 D 1 D 2 D 3 D 0
M e m o ry A d d re s s (M A )
D a ta (M A )
D a ta (M A )
D a ta (M A + 1 ) D a ta (M A + 1 ) D a ta (M A + 2 )
11
June 28, 2011
HT1632C
Command Mode - Command Code = 1 0 0
C S
W R
D A T A
1
0
0
C 8 C 7 C 6 C 5 C 4 C 3 C 2 C 1 C 0
C 8 C 7 C 6 C 5 C 4 C 3 C 2 C 1 C 0
C o m m a n d 1
C o m m a n d ...
C o m m a n d i
C o m m a n d
o r
D a ta M o d e
Mode - Data and Command Mode
C S
W R
D A T A
C o m m a n d
o r
D a ta M o d e
Rev. 1.20
A d d re s s a n d D a ta
C o m m a n d
o r
D a ta M o d e
12
A d d re s s a n d D a ta
C o m m a n d
o r
D a ta M o d e
A d d re s s a n d D a ta
June 28, 2011
HT1632C
Application Circuits
Low Power LED Application (Direct Drive)
· 32 ROW ´ 8 COM example
C S
C S
W R
W R
R D
R D
D A T A
D A T A
M C U
R O W 0
R
R O W 1
R
R O W 2
R
R O W 0 ~
R O W 3 1
H T 1 6 3 2 C
R O W 2 9 R
R O W 3 0 R
R O W 3 1 R
O S C
C O M 0 ~
L E D
C O M 7
M a tr ix
Note: Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
· 24 ROW ´ 16 COM example
C S
C S
W R
W R
R D
R D
D A T A
R O W 0
R
R O W 1
R
R O W 2
R
R O W 2 1
R
R O W 2 2
R
R O W 2 3
R
D A T A
M C U
R O W 0 ~
R O W 2 3
H T 1 6 3 2 C
O S C
C O M 0 ~
L E D
C O M 1 5
M a tr ix
Note: Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
Rev. 1.20
13
June 28, 2011
HT1632C
Middle Power LED Application (COM with Transistor Buffer)
· 32 ROW ´ 8 COM example
C S
C S
W R
W R
R D
R D
D A T A
R O W 0
R
R O W 1
R
R O W 2
R
R O W 2 9
R
R O W 3 0
R
R O W 3 1
R
D A T A
M C U
R O W 0 ~
R O W 3 1
H T 1 6 3 2 C
O S C
C O M 0
C O M 1
L E D
C O M 0 ~
C O M 7
M a tr ix
C O M 6
C O M 7
Note: Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
· 24 ROW ´ 16 COM example
C S
C S
W R
W R
R D
R D
D A T A
R O W 0
R
R O W 1
R
R O W 2
R
R O W 2 1
R
R O W 2 2
R
R O W 2 3
R
D A T A
M C U
R O W 0 ~
R O W 2 3
H T 1 6 3 2 C
O S C
C O M 0
C O M 1
L E D
C O M 0 ~
C O M 1 5
M a tr ix
C O M 1 4
C O M 1 5
Note: Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
Rev. 1.20
14
June 28, 2011
HT1632C
High Power LED Application (ROW & COM with Transistor Buffer)
· 32 ROW ´ 8 COM example
V
D D
C O M 0
C S
C S
W R
W R
R D
R D
D A T A
C O M 1
D A T A
C O M 2
M C U
C O M 3
C O M 0 ~
C O M 4
C O M 7
C O M 5
C O M 6
H T 1 6 3 2 C
C O M 7
O S C
R
R O W 0
R
R O W 1
L E D
R O M 0 ~
R
R O W 3 1
M a tr ix
R O W 3 0
R
R O W 3 1
Note: Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
· 24 ROW ´ 16 COM example
V
C O M 0
C S
C S
W R
W R
R D
R D
D A T A
D D
C O M 1
D A T A
C O M 2
M C U
C O M 0 ~
C O M 1 5
C O M 1 3
C O M 1 4
H T 1 6 3 2 C
C O M 1 5
O S C
R
R O W 0
R
R O W 1
R O W 0 ~
R
R O W 2 3
L E D
M a tr ix
R O W 2 2
R
R O W 2 3
Note: Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
Rev. 1.20
15
June 28, 2011
HT1632C
Cascade Function
· 32 ROW ´ 8 COM example (direct drive)
C S 1
C S 2
C S 3
W R
M C U
R D
D A T A
C S
W R
R D
D A T A
O S C
S Y N C
C S
W R
R D
D A T A
O S C
S Y N C
C S
W R
R D
D A T A
O S C
S Y N C
Note:
R
R O W 0
R O W 0 ~
R O W 3 1
3 2 R O W
D r iv e r s
R O W 3 1
R
H T 1 6 3 2 C
(M a s te r)
C O M 0 ~
C O M 7
C O M 0
L E D
M a tr ix
8 C O M
D r iv e r s
C O M 7
R
R O W 0
R O W 0 ~
R O W 3 1
3 2 R O W
D r iv e r s
R O W 3 1
R
H T 1 6 3 2 C
(S la v e )
C O M 0 ~
C O M 7
C O M 0
L E D
M a tr ix
8 C O M
D r iv e r s
C O M 7
R
R O W 0
R O W 0 ~
R O W 3 1
3 2 R O W
D r iv e r s
R O W 3 1
R
H T 1 6 3 2 C
(S la v e )
C O M 0 ~
C O M 7
C O M 0
8 C O M
D r iv e r s
L E D
M a tr ix
C O M 7
1. It also can set cascade mode by software. User must set the Master in master mode and Slaves in slave
mode with command. The CS pin must be connected to MCU individually for independent read and write.
2. Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
Rev. 1.20
16
June 28, 2011
HT1632C
· 32 ROW ´ 8 COM example (COM with transistor buffer)
C S 1
C S 2
C S 3
W R
M C U
R D
D A T A
C S
W R
R D
D A T A
C O M 0 ~
C O M 7
C O M 0
8 C O M
D r iv e r s
C O M 7
H T 1 6 3 2 C
(M a s te r)
O S C
R O W 0 ~
S Y N C
R O W 3 1
L E D
M a tr ix
R
R O W 0
3 2 R O W
D r iv e r s
R O W 3 1
R
C S
W R
R D
D A T A
O S C
S Y N C
L E D
M a tr ix
H T 1 6 3 2 C
(S la v e )
R O W 0 ~
R O W 3 1
R
R O W 0
3 2 R O W
D r iv e r s
R O W 3 1
R
C S
W R
R D
D A T A
O S C
S Y N C
H T 1 6 3 2 C
(S la v e )
R O W 0 ~
R O W 3 1
L E D
M a tr ix
R
R O W 0
3 2 R O W
D r iv e r s
R O W 3 1
R
Note:
1. It also can set cascade mode by software. User must set the Master in master mode and Slaves in slave
mode with command. The CS pin must be connected to MCU individually for independent read and write.
2. Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
Rev. 1.20
17
June 28, 2011
HT1632C
· 24 ROW ´ 16 COM example (direct drive)
C S 1
C S 2
C S 3
W R
M C U
R D
D A T A
C S
W R
R D
D A T A
O S C
S Y N C
C S
W R
R D
D A T A
O S C
S Y N C
C S
W R
R D
D A T A
O S C
S Y N C
Note:
R
R O W 0
R O W 0 ~
R O W 2 3
2 4 R O W
D r iv e r s
R O W 2 3
R
H T 1 6 3 2 C
(M a s te r)
C O M 0 ~
C O M 1 5
C O M 0
L E D
M a tr ix
1 6 C O M
D r iv e r s
C O M 1 5
R
R O W 0
R O W 0 ~
R O W 2 3
2 4 R O W
D r iv e r s
R O W 2 3
R
H T 1 6 3 2 C
(S la v e )
C O M 0 ~
C O M 1 5
C O M 0
L E D
M a tr ix
1 6 C O M
D r iv e r s
C O M 1 5
R
R O W 0
R O W 0 ~
R O W 2 3
2 4 R O W
D r iv e r s
R O W 2 3
R
H T 1 6 3 2 C
(S la v e )
C O M 0 ~
C O M 1 5
C O M 0
1 6 C O M
D r iv e r s
L E D
M a tr ix
C O M 1 5
1. It also can set cascade mode by software. User must set the Master in master mode and Slaves in slave
mode with command. The CS pin must be connected to MCU individually for independent read and write.
2. Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
Rev. 1.20
18
June 28, 2011
HT1632C
· 24 ROW ´ 16 COM example (COM with transistor buffer)
C S 1
C S 2
C S 3
W R
M C U
R D
D A T A
C S
W R
R D
D A T A
C O M 0 ~
C O M 1 5
C O M 0
1 6 C O M
D r iv e r s
C O M 1 5
H T 1 6 3 2 C
(M a s te r)
O S C
R O W 0 ~
S Y N C
R O W 2 3
L E D
M a tr ix
R
R O W 0
2 4 R O W
D r iv e r s
R O W 2 3
R
C S
W R
R D
D A T A
O S C
S Y N C
L E D
M a tr ix
H T 1 6 3 2 C
(S la v e )
R O W 0 ~
R O W 2 3
R
R O W 0
2 4 R O W
D r iv e r s
R O W 2 3
R
C S
W R
R D
D A T A
O S C
S Y N C
H T 1 6 3 2 C
(S la v e )
R O W 0 ~
R O W 2 3
L E D
M a tr ix
R
R O W 0
2 4 R O W
D r iv e r s
R O W 2 3
R
Note:
1. It also can set cascade mode by software. User must set the Master in master mode and Slaves in slave
mode with command. The CS pin must be connected to MCU individually for independent read and write.
2. Values of the ²R² resistors are selected depending on the power consumption of the LEDs.
Rev. 1.20
19
June 28, 2011
HT1632C
Cascade Control Flow
P o w e r o n
S Y S D IS
( M a s te r , S la v e )
C O M O p tio n
( M a s te r , S la v e )
M a s te r M o d e
(M a s te r)
S la v e M o d e
( S la v e )
S Y S O N
( M a s te r , S la v e )
L E D O N
( M a s te r , S la v e )
W r ite R A M D a ta
( M a s te r , S la v e )
U p d a te R A M D a ta
( M a s te r , S la v e )
Rev. 1.20
20
June 28, 2011
HT1632C
Command Summary
Name
ID
Command Code
D/C
Function
Default
READ
1 1 0 A6A5A4A3A2A1A0D0D1D2D3
D
Read data from the RAM
WRITE
1 0 1 A6A5A4A3A2A1A0D0D1D2D3
D
Write data to the RAM
READ-MODIFYWRITE
1 0 1 A6A5A4A3A2A1A0D0D1D2D3
D
Read and Write data to the RAM
SYS DIS
1 0 0 0000-0000-X
C
Turn off both system oscillator and LED duty
cycle generator
SYS EN
1 0 0 0000-0001-X
C
Turn on system oscillator
LED Off
1 0 0 0000-0010-X
C
Turn off LED duty cycle generator
LED On
1 0 0 0000-0011-X
C
Turn on LED duty cycle generator
BLINK Off
1 0 0 0000-1000-X
C
Turn off blinking function
BLINK On
1 0 0 0000-1001-X
C
Turn on blinking function
SLAVE Mode
1 0 0 0001-0XXX-X
C
Set slave mode and clock source from external clock, the
system clock input from OSC pin and synchronous signal
input from SYN pin
RC Master
Mode
1 0 0 0001-10XX-X
C
Set master mode and clock source from on-chip RC oscillator, the system clock output to OSC pin and synchronous signal output to SYN pin
EXT CLK
Master Mode
1 0 0 0001-11XX-X
C
Set master mode and clock source from external clock,
the system clock input from OSC pin and synchronous
signal output to SYN pin
1 0 0 0010-abXX-X
C
ab=00: N-MOS open drain output and
8 COM option
ab=01: N-MOS open drain output and
16 COM option
ab=10: P-MOS open drain output and
8 COM option
ab=11: P-MOS open drain output and
16 COM option
1 0 0 101X-0000-X
C
PWM 1/16 duty
1 0 0 101X-0001-X
C
PWM 2/16 duty
1 0 0 101X-0010-X
C
PWM 3/16 duty
1 0 0 101X-0011-X
C
PWM 4/16 duty
1 0 0 101X-0100-X
C
PWM 5/16 duty
1 0 0 101X-0101-X
C
PWM 6/16 duty
1 0 0 101X-0110-X
C
PWM 7/16 duty
1 0 0 101X-0111-X
C
PWM 8/16 duty
1 0 0 101X-1000-X
C
PWM 9/16 duty
1 0 0 101X-1001-X
C
PWM 10/16 duty
1 0 0 101X-1010-X
C
PWM 11/16 duty
1 0 0 101X-1011-X
C
PWM 12/16 duty
1 0 0 101X-1100-X
C
PWM 13/16 duty
1 0 0 101X-1101-X
C
PWM 14/16 duty
1 0 0 101X-1110-X
C
PWM 15/16 duty
1 0 0 101X-1111-X
C
PWM 16/16 duty
COM Option
Yes
Yes
Yes
Yes
ab
=00
PWM Duty
Rev. 1.20
21
Yes
June 28, 2011
HT1632C
Note:
X: Don¢t care
A6~A0: RAM addresses
D3~D0: RAM data
D/C: Data/command mode
Default: Power on reset default
All the bold forms, namely 1 1 0, 1 0 1, and 1 0 0, are mode commands. Among these, 1 0 0 indicates the command mode ID. If successive commands have been issued, the command mode ID except for the first command will be omitted. The source of the tone frequency and of the time base clock frequency can be derived
from an on-chip RC oscillator or an external clock. Calculation of the frequency is based on the system frequency sources as stated above. It is recommended that the host controller should initialize the HT1632C after
power on reset, for power on reset may fail, which in turn leads to the malfunction of the HT1632C
Rev. 1.20
22
June 28, 2011
HT1632C
Package Information
52-pin QFP (14mm´14mm) Outline Dimensions
C
H
D
3 9
G
2 7
I
2 6
4 0
F
A
B
E
1 4
5 2
K
J
1
Symbol
A
Dimensions in inch
Min.
Nom.
Max.
0.681
¾
0.689
B
0.547
¾
0.555
C
0.681
¾
0.689
D
0.547
¾
0.555
E
¾
0.039
¾
F
¾
0.016
¾
G
0.098
¾
0.122
H
¾
¾
0.134
I
¾
0.004
¾
J
0.029
¾
0.041
K
0.004
¾
0.008
a
0°
¾
7°
Symbol
A
Rev. 1.20
1 3
Dimensions in mm
Min.
Nom.
Max.
17.30
¾
17.50
B
13.90
¾
14.10
C
17.30
¾
17.50
D
13.90
¾
14.10
E
¾
1.00
¾
F
¾
0.40
¾
G
2.50
¾
3.10
H
¾
¾
3.40
I
¾
0.10
¾
J
0.73
¾
1.03
K
0.10
¾
0.20
a
0°
¾
7°
23
June 28, 2011
HT1632C
Holtek Semiconductor Inc. (Headquarters)
No.3, Creation Rd. II, Science Park, Hsinchu, Taiwan
Tel: 886-3-563-1999
Fax: 886-3-563-1189
http://www.holtek.com.tw
Holtek Semiconductor Inc. (Taipei Sales Office)
4F-2, No. 3-2, YuanQu St., Nankang Software Park, Taipei 115, Taiwan
Tel: 886-2-2655-7070
Fax: 886-2-2655-7373
Fax: 886-2-2655-7383 (International sales hotline)
Holtek Semiconductor Inc. (Shenzhen Sales Office)
5F, Unit A, Productivity Building, No.5 Gaoxin M 2nd Road, Nanshan District, Shenzhen, China 518057
Tel: 86-755-8616-9908, 86-755-8616-9308
Fax: 86-755-8616-9722
Holtek Semiconductor (USA), Inc. (North America Sales Office)
46729 Fremont Blvd., Fremont, CA 94538
Tel: 1-510-252-9880
Fax: 1-510-252-9885
http://www.holtek.com
Copyright Ó 2011 by HOLTEK SEMICONDUCTOR INC.
The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used
solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable
without further modification, nor recommends the use of its products for application that may present a risk to human life
due to malfunction or otherwise. Holtek¢s products are not authorized for use as critical components in life support devices
or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information,
please visit our web site at http://www.holtek.com.tw.
Rev. 1.20
24
June 28, 2011