Sie sind auf Seite 1von 22

HT1632C 328 & 2416 LED Driver

Features
Operating voltage: 2.4V~5.5V Multiple LED display - 32 ROW /8 COM and Integrated 256kHz RC oscillator Serial MCU interface - CS, RD, WR, DATA Data mode & command mode instruction Cascading function for extended applications Selectable NMOS open drain output driver and

24 ROW & 16 COM


Integrated display RAM - select 32 ROW &

8 COM for 644 display RAM, or select 24 ROW & 16 COM for 964 display RAM
16-level PWM brightness control

PMOS open drain output driver for commons


52-pin QFP package

Applications
Industrial control indicator Digital clock, thermometer, counter, voltmeter Instrumentation readouts Other consumer application LED Displays

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 D A T A

L E D _ V D D C O M 0 C O M 7

C o n a n T im C ir c

tro l d in g u it

L E D

D r iv e r

R O W 0 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 L E D _ V S S

O S C S Y N C

T im in g G e n e ra to r

P W M

C o n tro l

Rev. 1.00

November 25, 2008

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 2
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 2 3 4 5 6 7 8 9 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

1 3

1 4

1 5

1 6

1 7

1 8

1 9

2 0

2 1

2 2

2 3

1 5

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

1 1 W 9 W 8 W 6 D D W 5 W 4 W 3 W 2 W 1 W 0 W 7 1 0

3 9 3 8 3 7 3 6 3 5

H T 1 6 3 2 C 5 2 Q F P -A

3 4 3 3 3 2 3 1 3 0 2 9 2 8 2 7

R O L E R O L E R O R O R O R O R O C O C O C O C O

W D _ W D _ W W W W W M M M M 7 6 5 4

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

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 3 _ V S S 2 A C 0 1

Pin Description
Pad Name ROW0~ROW23 ROW24/COM15~ ROW31/COM8 COM0~COM7 SYNC I/O O O O I/O Description Line drivers. These pins drive the LEDs. Drive LED outputs or common outputs. Each COM pin is double bonded. Common outputs. Each COM pin is double bonded. 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. 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. Serial data input or output with pull-high resistor 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. 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. 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. Positive power supply for driver circuit. Each LED_VDD pin is double bonded. Negative power supply for driver circuit, ground. Each LED_VSS pin is double bonded. Negative power supply for logic circuit, ground. Positive power supply for logic circuit.

OSC

I/O

DATA WR

I/O I

RD

CS

LED_VDD LED_VSS VSS VDD

Rev. 1.00

November 25, 2008

HT1632C
Absolute Maximum Ratings
Supply Voltage ...........................VSS-0.3V to VSS+6.0V Input Voltage.............................VSS-0.3V to VDD+0.3V Storage Temperature ............................-50C to 125C Operating Temperature...........................-40C to 85C

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 VDD IDD ISTB VIL VIH IOL1 IOH1 IOL2 IOH2 IOL3 IOH3 RPH Parameter Operating Voltage Operating Current Standby Current Input Low Voltage Input High Voltage OSC, SYNC, DATA OSC, SYNC, DATA ROW Sink Current ROW Source Current COM Sink Current COM Source Current Pull-high Resistor VDD 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V

VDD=2.4V~5.5V, Ta=25C (Unless otherwise specified) Test Conditions Conditions No load, LED ON, on-chip RC oscillator No load, power down mode DATA, WR, CS, RD DATA, WR, CS, RD VOL=0.5V VOH=4.5V VOL=0.5V VOH=4.5V VOL=0.5V VOH=4.5V DATA, WR, CS, RD Min. 2.4 0 0.7VDD 10 -5 10 -40 250 -40 10 Typ. 5.0 0.5 1 20 -10 30 Max. 5.5 1.0 5 0.3VDD 5 60 Unit V mA mA V V mA mA mA mA mA mA kW

Rev. 1.00

November 25, 2008

HT1632C
A.C. Characteristics
Symbol fSYS fLED fCLK1 fCLK2 tCS Parameter System Clock LED Duty Cycle & Frame Frequency Serial Data Clock (WR pin) Serial Data Clock (RD pin) Serial Interface Reset Pulse Width WR, RD Input Pulse Width Rise/Fall Time Serial Data Clock Width (Figure 1) Setup Time for DATA to WR, RD Clock Width (Figure 2) Hold Time for DATA to WR, RD, Clock Width (Figure 2) Setup Time for CS to WR, RD, Clock Width (Figure 3) Hold Time for CS to WR, RD, Clock Width (Figure 3) VDD 5V 5V 5V 5V 5V 5V Read mode tr, tf tsu th tsu1 th1 1.0 50 100 200 50 VDD=2.4V~5.5V, Ta=25C (Unless otherwise specified) Test Conditions Conditions On-chip RC oscillator 1/8 duty 1/16 duty Duty cycle 50% Duty cycle 50% CS Write mode Min. 230 250 0.5 Typ. 256 fSYS/2624 fSYS/2624 50 100 200 300 100 Max. 282 1 500 100 Unit kHz Hz Hz MHz kHz ns ms ns ns ns ns ns

tCLK

tf W R , R D C lo c k 9 0 % 5 0 % 1 0 % tC

tr V tC
L K

D D

V a lid D a ta D A T A 5 0 % ts
u

V th

D D

L K

G N D

G N D V
D D

Figure 1

W R , R D C lo c k

5 0 %

G N D

Figure 2

tC
S

C S

5 0 % ts
u 1

D D

th
1

G N D
V
D D

W R , R D C lo c k

5 0 % F ir s t C lo c k L a s t C lo c k

G N D

Figure 3

Rev. 1.00

November 25, 2008

HT1632C
Functional Description
Display Memory - RAM The static display memory (RAM) is organized into 644 bits or 964 bits and is used to store the display data. If 32 ROW & 8 COM is selected, the RAM size is 644 bits. If 24 ROW & 16 COM is selected, the RAM size is 964 bits. The contents of the RAM are directly mapped to the contents of the LED driver. If the data in RAM is COM7 ROW0 ROW1 ROW2 ROW3 ROW4 ROW5 ROW6 ROW7 ROW8 ROW9 ROW10 ROW11 ROW12 ROW13 ROW14 ROW15 ROW16 ROW17 ROW18 ROW19 ROW20 ROW21 ROW22 ROW23 ROW24 ROW25 ROW26 ROW27 ROW28 ROW29 ROW30 ROW31 D3 D2 D1 D0 COM6 COM5 COM4 01H 03H 05H 07H 09H 0BH 0DH 0FH 11H 13H 15H 17H 19H 1BH 1DH 1FH 21H 23H 25H 27H 29H 2BH 2DH 2FH 31H 33H 35H 37H 39H 3BH 3DH 3FH Addr. Data D3 D2 D1 D0 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:

COM3

COM2

COM1

COM0 00H 02H 04H 06H 08H 0AH 0CH 0EH 10H 12H 14H 16H 18H 1AH 1CH 1EH 20H 22H 24H 26H 28H 2AH 2CH 2EH 30H 32H 34H 36H 38H 3AH 3CH 3EH Addr. Data

32 ROW & 8 COM for 644 Display RAM Rev. 1.00 5 November 25, 2008

HT1632C
COM15 COM14 COM13 COM12 ROW0 ROW1 ROW2 ROW3 ROW4 ROW5 ROW6 ROW7 ROW8 ROW9 ROW10 ROW11 ROW12 ROW13 ROW14 ROW15 ROW16 ROW17 ROW18 ROW19 ROW20 ROW21 ROW22 ROW23 D3 D2 D1 D0 03H 07H 0BH 0FH 13H 17H 1BH 1FH 23H 27H 2BH 2FH 33H 37H 3BH 3FH 43H 47H 4BH 4FH 53H 57H 5BH 5FH Addr. Data ......... D3 D2 D1 D0 ......... ......... COM3 COM2 COM1 COM0 00H 04H 08H 0CH 10H 14H 18H 1CH 20H 24H 28H 2CH 30H 34H 38H 3CH 40H 44H 48H 4CH 50H 54H 58H 5CH Addr. Data

24 ROW & 16 COM for 964 Display RAM

Rev. 1.00

November 25, 2008

HT1632C
System Oscillator 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 E x te r n a l C lo c k S o u r c e O n - c h ip R C O s c illa to r 2 5 6 k H z S y s te m C lo c k

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 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. Name LED OFF LED ON Command Code Function

10000000010X Turn off LED outputs 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 common option Commons 1000010abXXX ab=10: P-MOS open Option drain output and 8 common option ab=11: P-MOS open drain output and 16 common option 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. Command Format

System Oscillator Configuration 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.

LED Driver The HT1632C has a 256 (328) and 384 (2416) pattern LED driver. It can be configured in a 328 or 2416 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

L E D

T u rn O n 0 .2 5 s

T u rn O ff 0 .2 5 s B lin k O n B lin k O ff

Example of Waveform for Blinker

Rev. 1.00

November 25, 2008

HT1632C
The following are the data mode ID and the command mode ID: Operation Read Write Read-Modify-Write Command Mode Data Data Data Command ID 110 101 101 100 Interfacing 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

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 )

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

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 )

Rev. 1.00

November 25, 2008

HT1632C
WRITE Mode - Command Code = 1 0 1
C S

W R

D A T A

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 )

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 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 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 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 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 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 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 )

Rev. 1.00

November 25, 2008

HT1632C
Command Mode - Command Code = 1 0 0
C S

W R

D A T A

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 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 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

Rev. 1.00

10

November 25, 2008

HT1632C
Application Circuits
Low Power LED Application (Direct Drive)
32 ROW 8 COM example
C S W R R D D A T A M C U R O W 0 ~ R O W 3 1 H T 1 6 3 2 C C S W R R D D A T A R R R

R O W 0 R O W 1 R O W 2

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 ~ C O M 7

L E D

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 W R R D D A T A M C U

C S W R R D D A T A

R O W 0 R O W 1 R O W 2 R R

R O W 0 ~ R O W 2 3 H T 1 6 3 2 C R R R

R O W 2 1 R O W 2 2 R O W 2 3

O S C

C O M 0 ~ C O M 1 5

L E D

M a tr ix

Note: Values of the R resistors are selected depending on the power consumption of the LEDs.

Rev. 1.00

11

November 25, 2008

HT1632C
Middle Power LED Application (COM with Transistor Buffer)
32 ROW 8 COM example

C S W R R D D A T A M C U

C S W R R D D A T A

R O W 0 R O W 1 R O W 2 R R

R O W 0 ~ R O W 3 1 R O W 2 9 H T 1 6 3 2 C R O W 3 0 R O W 3 1 R R R

O S C

C O M 0 C O M 1 C O M 0 ~ C O M 7 C O M 6 C O M 7 L E D 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 W R R D D A T A M C U

C S W R R D D A T A

R O W 0 R O W 1 R O W 2 R R

R O W 0 ~ R O W 2 3 R O W 2 1 H T 1 6 3 2 C R O W 2 2 R O W 2 3 R R R

O S C

C O M 0 C O M 1 C O M 0 ~ C O M 1 5 C O M 1 4 C O M 1 5 L E D M a tr ix

Note: Values of the R resistors are selected depending on the power consumption of the LEDs.

Rev. 1.00

12

November 25, 2008

HT1632C
High Power LED Application (ROW & COM with Transistor Buffer)
32 ROW 8 COM example
V C O M 0 C S W R R D D A T A M C U C O M 0 ~ C O M 7 C S W R R D D A T A C O M 2 C O M 3 C O M 4 C O M 5 C O M 6 C O M 7 O S C R R O W 0 R R O W 1 R O M 0 ~ R O W 3 1 R R O W 3 0 R R O W 3 1 L E D M a tr ix C O M 1
D D

H T 1 6 3 2 C

Note: Values of the R resistors are selected depending on the power consumption of the LEDs.
24 ROW 16 COM example
V
D D

C S W R R D D A T A M C U

C O M 0 C S W R R D D A T A C O M 1 C O M 2

C O M 0 ~ C O M 1 5 C O M 1 3 C O M 1 4 C O M 1 5 O S C R R O W 0 R R O W 1 R O W 0 ~ R O W 2 3 R R O W 2 2 R R O W 2 3 L E D M a tr ix

H T 1 6 3 2 C

Note: Values of the R resistors are selected depending on the power consumption of the LEDs.

Rev. 1.00

13

November 25, 2008

HT1632C
Cascade Function
32 ROW 8 COM example (direct drive)
C S 1 C S 2 C S 3 W R R D D A T A M C U

C S W R R D D A T A O S C S Y N C

R O W 0 R O W 0 ~ R O W 3 1 H T 1 6 3 2 C (M a s te r) C O M 0 ~ C O M 7 8 C O M D r iv e r s C O M 0 C O M 7 3 2 R O W D r iv e r s R O W 3 1 R

L E D M a tr ix

C S W R R D D A T A O S C S Y N C

R O W 0 R O W 0 ~ R O W 3 1 H T 1 6 3 2 C (S la v e ) C O M 0 ~ C O M 7 8 C O M D r iv e r s C O M 0 C O M 7 3 2 R O W D r iv e r s R O W 3 1 R

L E D M a tr ix

C S W R R D D A T A

R O W 0 R O W 0 ~ R O W 3 1 H T 1 6 3 2 C (S la v e ) C O M 0 ~ C O M 7 8 C O M D r iv e r s C O M 0 C O M 7 3 2 R O W D r iv e r s R O W 3 1 R

L E D M a tr ix

O S C S Y N C

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.00

14

November 25, 2008

HT1632C
32 ROW 8 COM example (COM with transistor buffer)
C S 1 C S 2 C S 3 W R R D D A T A M C U

C S W R R D D A T A O S C S Y N C

C O M 0 ~ C O M 7 H T 1 6 3 2 C (M a s te r) R O W 0 ~ R O W 3 1

8 C O M D r iv e r s

C O M 0

C O M 7

L E D M a tr ix R

3 2 R O W D r iv e r s

R O W 0 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 3 2 R O W D r iv e r s R O W 0 R O W 3 1 R R L E D M a tr ix

C S W R R D D A T A H T 1 6 3 2 C (S la v e ) R O W 0 ~ R O W 3 1 3 2 R O W D r iv e r s R O W 0 R O W 3 1 R R L E D M a tr ix

O S C S Y N C

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.00

15

November 25, 2008

HT1632C
24 ROW 16 COM example (direct drive)
C S 1 C S 2 C S 3 W R R D D A T A M C U

C S W R R D D A T A O S C S Y N C

R O W 0 R O W 0 ~ R O W 2 3 H T 1 6 3 2 C (M a s te r) C O M 0 ~ C O M 1 5 1 6 C O M D r iv e r s C O M 0 C O M 1 5 2 4 R O W D r iv e r s R O W 2 3 R

L E D M a tr ix

C S W R R D D A T A O S C S Y N C

R O W 0 R O W 0 ~ R O W 2 3 H T 1 6 3 2 C (S la v e ) C O M 0 ~ C O M 1 5 1 6 C O M D r iv e r s C O M 0 C O M 1 5 2 4 R O W D r iv e r s R O W 2 3 R

L E D M a tr ix

C S W R R D D A T A

R O W 0 R O W 0 ~ R O W 2 3 H T 1 6 3 2 C (S la v e ) C O M 0 ~ C O M 1 5 1 6 C O M D r iv e r s C O M 0 C O M 1 5 2 4 R O W D r iv e r s R O W 2 3 R

L E D M a tr ix

O S C S Y N C

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.00

16

November 25, 2008

HT1632C
24 ROW 16 COM example (COM with transistor buffer)
C S 1 C S 2 C S 3 W R R D D A T A M C U

C S W R R D D A T A O S C S Y N C

C O M 0 ~ C O M 1 5 H T 1 6 3 2 C (M a s te r) R O W 0 ~ R O W 2 3

1 6 C O M D r iv e r s

C O M 0

C O M 1 5

L E D M a tr ix R

2 4 R O W D r iv e r s

R O W 0 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 2 4 R O W D r iv e r s R O W 0 R O W 2 3 R R L E D M a tr ix

C S W R R D D A T A H T 1 6 3 2 C (S la v e ) R O W 0 ~ R O W 2 3 2 4 R O W D r iv e r s R O W 0 R O W 2 3 R R L E D M a tr ix

O S C S Y N C

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.00

17

November 25, 2008

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.00

18

November 25, 2008

HT1632C
Command Summary
Name READ WRITE READ-MODIFYWRITE SYS DIS SYS EN LED Off LED On BLINK Off BLINK On SLAVE Mode ID Command Code D/C D D D C C C C C C C Function Read data from the RAM Write data to the RAM Read and Write data to the RAM Turn off both system oscillator and LED duty Yes cycle generator Turn on system oscillator Turn off LED duty cycle generator Turn on LED duty cycle generator Turn off blinking function Turn on blinking function Set slave mode and clock source from external clock, the system clock input from OSC pin and synchronous signal input from SYN pin Set master mode and clock source from on-chip RC oscillator, the system clock outYes put to OSC pin and synchronous signal output to SYN pin Set master mode and clock source from external clock, the system clock input from OSC pin and synchronous signal output to SYN pin 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 PWM 1/16 duty PWM 2/16 duty PWM 3/16 duty PWM 4/16 duty PWM 5/16 duty PWM 6/16 duty PWM 7/16 duty PWM 8/16 duty PWM 9/16 duty PWM 10/16 duty PWM 11/16 duty PWM 12/16 duty PWM 13/16 duty PWM 14/16 duty PWM 15/16 duty PWM 16/16 duty Yes Yes Def. 1 1 0 A6A5A4A3A2A1A0D0D1D2D3 1 0 1 A6A5A4A3A2A1A0D0D1D2D3 1 0 1 A6A5A4A3A2A1A0D0D1D2D3 1 0 0 0000-0000-X 1 0 0 0000-0001-X 1 0 0 0000-0010-X 1 0 0 0000-0011-X 1 0 0 0000-1000-X 1 0 0 0000-1001-X 1 0 0 0001-0XXX-X

RC Master Mode

1 0 0 0001-10XX-X

EXT CLK Master Mode

1 0 0 0001-11XX-X

COM Option

1 0 0 0010-abXX-X

ab =00

1 0 0 101X-0000-X 1 0 0 101X-0001-X 1 0 0 101X-0010-X 1 0 0 101X-0011-X 1 0 0 101X-0100-X 1 0 0 101X-0101-X 1 0 0 101X-0110-X 1 0 0 101X-0111-X PWM Duty 1 0 0 101X-1000-X 1 0 0 101X-1001-X 1 0 0 101X-1010-X 1 0 0 101X-1011-X 1 0 0 101X-1100-X 1 0 0 101X-1101-X 1 0 0 101X-1110-X 1 0 0 101X-1111-X

C C C C C C C C C C C C C C C C

Rev. 1.00

19

November 25, 2008

HT1632C
Note: X: Dont care A6~A0: RAM addresses D3~D0: RAM data D/C: Data/command mode Def.: 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.00

20

November 25, 2008

HT1632C
Package Information
52-pin QFP (14mm14mm) Outline Dimensions

C D 3 9 2 7 G H

I 4 0 2 6 F A B E

5 2

1 4 K J 1 1 3

Symbol A B C D E F G H I J K a

Dimensions in mm Min. 17.3 13.9 17.3 13.9 2.5 0.73 0.1 0 Nom. 1.0 0.4 0.1 Max. 17.5 14.1 17.5 14.1 3.1 3.4 1.03 0.2 7

Rev. 1.00

21

November 25, 2008

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. (Shanghai Sales Office) G Room, 3 Floor, No.1 Building, No.2016 Yi-Shan Road, Minhang District, Shanghai, China 201103 Tel: 86-21-5422-4590 Fax: 86-21-5422-4705 http://www.holtek.com.cn Holtek Semiconductor Inc. (Shenzhen Sales Office) 5F, Unit A, Productivity Building, Gaoxin M 2nd, Middle Zone Of High-Tech Industrial Park, ShenZhen, China 518057 Tel: 86-755-8616-9908, 86-755-8616-9308 Fax: 86-755-8616-9722 Holtek Semiconductor Inc. (Beijing Sales Office) Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031 Tel: 86-10-6641-0030, 86-10-6641-7751, 86-10-6641-7752 Fax: 86-10-6641-0125 Holtek Semiconductor Inc. (Chengdu Sales Office) 709, Building 3, Champagne Plaza, No.97 Dongda Street, Chengdu, Sichuan, China 610016 Tel: 86-28-6653-6590 Fax: 86-28-6653-6591 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 2008 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. Holteks 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.00

22

November 25, 2008

Das könnte Ihnen auch gefallen