19-3179; Rev 0; 1/04 17MAX6964 ________________________________ ♦ 400kbps, 2- I2CTM 1750mA . 7V LED . ♦ 8- 7V . 4- PWM LED 14 4- PWM LED 16 16 — 50mA ( ) ♦ 7V ♦ . (1.2µA ( ♦ ( BLINK . BLINK 1kHz) ) 3.3µA ( 4mm x 4mm, 0.8mm )) QFN ♦ -40°C~+125°C ________________________________ LED (GPI) . 2- LED ♦ RST . . LED MAX6964 I2C ♦ 2♦ . 16 8 . , 5.5V ♦ 2V~3.6V . 8 MAX6964 ________________________________ LED /GPO I2C PART TEMP RANGE MAX6964ATG -40°C to +125°C 24 Thin QFN 4mm x 4mm x 0.8mm MAX6964AEG -40°C to +125°C 24 QSOP ,4 . ________________________________ LCD RGB LED LED PIN-PACKAGE ________________________ 7V 3.3V _________________________________ 0.047µF 23 22 21 20 SCL SDA V+ O16 AD0 RST 24 19 18 BLINK O0 1 17 O15 O1 2 O0 V+ µC TOP VIEW O1 SDA SDA O2 SCL SCL O3 I/O BLINK I/O RST O4 O5 O6 O7 MAX6964 O8 O9 AD0 O10 16 O14 O2 3 O11 RELAY O12 MAX6964 O13 O3 4 15 O13 O4 5 14 O12 O14 GND 5V 3.3V 6V RELAY O15 O16 RELAY OUTPUT 13 O11 O7 GND 10 11 12 O10 9 O9 8 O8 7 O6 O5 6 QFN Pin Configurations continued at end of data sheet. OUTPUT I 2C I 2C Maxim Integrated Products I 2C . I 2C . ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com. 1 17- LED MAX6964 /GPO ABSOLUTE MAXIMUM RATINGS Voltage (with respect to GND) V+ .............................................................................-0.3V to +4V SCL, SDA, AD0, BLINK, RST ...................................-0.3V to +6V O0–O16 ....................................................................-0.3V to +8V DC Current on O0 to O16 ...................................................55mA DC Current on SDA.............................................................10mA Maximum GND Current ....................................................350mA Continuous Power Dissipation (TA = +70°C) 24-Pin QSOP (derate 9.5mW/°C over +70°C)..............761mW 24-Pin QFN (derate 20.8mW/°C over +70°C) ............1666mW Operating Temperature Range .........................-40°C to +125°C Junction Temperature ......................................................+150°C Storage Temperature Range .............................-65°C to +150°C Lead Temperature (soldering, 10s) .................................+300°C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. ELECTRICAL CHARACTERISTICS (Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA = +25°C.) (Note 1) PARAMETER Operating Supply Voltage Output Load External Supply Voltage Standby Current (Interface Idle, PWM Disabled) Supply Current (Interface Idle, PWM Enabled) Supply Current (Interface Running, PWM Disabled) Supply Current (Interface Running, PWM Enabled) SYMBOL MAX UNITS V+ 2.0 3.6 V VEXT 0 7 V I+ I+ I+ I+ Input High Voltage SDA, SCL, AD0, BLINK, RST VIH Input Low Voltage SDA, SCL, AD0, BLINK, RST VIL Input Leakage Current SDA, SCL, AD0, BLINK, RST IIH, IIL Input Capacitance SDA, SCL, AD0, BLINK, RST 2 CONDITIONS SCL and SDA at V+; other digital inputs at V+ or GND; PWM intensity control disabled TA = +25°C SCL and SDA at V+; other digital inputs at V+ or GND; PWM intensity control disabled TA = +25°C fSCL = 400kHz; other digital inputs at V+ or GND; PWM intensity control enabled TA = +25°C fSCL = 400kHz; other digital inputs at V+ or GND; PWM intensity control enabled MIN TYP 1.2 2.3 TA = -40°C to +85°C 2.6 TA = TMIN to TMAX 3.3 8.5 15.1 TA = -40°C to +85°C 16.5 TA = TMIN to TMAX 17.2 50 TA = -40°C to +85°C 99.2 102.4 57 µA 110.2 TA = -40°C to +85°C 117.4 TA = TMIN to TMAX 122.1 0.7 x V+ 0 ≤ input voltage ≤ 5.5V µA 95.3 TA = TMIN to TMAX TA = +25°C µA µA V -0.2 8 _______________________________________________________________________________________ 0.3 x V+ V +0.2 µA pF 17- LED /GPO (Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA= + 25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TA = +25°C V+ = 2V, ISINK = 20mA VOL V+ = 2.5V, ISINK = 20mA MAX 0.15 0.26 TA = -40°C to +85°C 0.3 TA = TMIN to TMAX 0.32 TA = +25°C Output Low Voltage O0–O16 TYP 0.13 TA = -40°C to +85°C Output Low-Voltage SDA PWM Clock Frequency VOLSDA V 0.28 TA = +25°C V+ = 3.3V, ISINK = 20mA V 0.23 0.26 TA = TMIN to TMAX UNITS 0.12 0.23 TA = -40°C to +85°C 0.24 TA = TMIN to TMAX 0.26 ISINK = 6mA 0.4 fPWM 32 V V kHz TIMING CHARACTERISTICS (Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS 400 kHz Serial Clock Frequency fSCL Bus Free Time Between a STOP and a START Condition tBUF 1.3 µs Hold Time, Repeated START Condition tHD, STA 0.6 µs Repeated START Condition Setup Time tSU, STA 0.6 µs STOP Condition Setup Time tSU, STO Data Hold Time tHD, DAT 0.6 µs Data Setup Time tSU, DAT 180 ns SCL Clock Low Period tLOW 1.3 µs SCL Clock High Period tHIGH 0.7 (Note 2) 0.9 µs µs Rise Time of Both SDA and SCL Signals, Receiving tR (Notes 3, 4) 20 + 0.1Cb Fall Time of Both SDA and SCL Signals, Receiving tF (Notes 3, 4) 20 + 0.1Cb 300 ns tF.TX (Notes 3, 5) 20 + 0.1Cb 250 ns Fall Time of SDA Transmitting Pulse Width of Spike Suppressed tSP (Note 6) 50 300 ns ns _______________________________________________________________________________________ 3 MAX6964 ELECTRICAL CHARACTERISTICS (continued) 17- LED TIMING CHARACTERISTICS (continued) (Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA = +25°C.) (Note 1) PARAMETER SYMBOL Capacitive Load for Each Bus Line Cb RST Pulse Width tW Output Data Valid tDV CONDITIONS MIN TYP (Note 3) MAX UNITS 400 pF 1 ns Figure 10 5 ns Note 1: All parameters tested at TA = +25°C. Specifications over temperature are guaranteed by design. Note 2: A master device must provide a hold time of at least 300ns for the SDA signal (referred to VIL of the SCL signal) to bridge the undefined region of SCL’s falling edge. Note 3: Guaranteed by design. Note 4: Cb = total capacitance of one bus line in pF. tR and tF measured between 0.3 x VDD and 0.7 x VDD. Note 5: ISINK ≤ 6mA. Cb = total capacitance of one bus line in pF. tR and tF measured between 0.3 x VDD and 0.7 x VDD. Note 6: Input filters on the SDA and SCL inputs suppress noise spikes less than 50ns. ___________________________________________________________________ (TA = +25°C, unless otherwise noted.) 7 6 V+ = 2V 20 V+ = 3.6V V+ = 2.7V V+ = 2V -40 -25 -10 5 20 35 50 65 80 95 110 125 -40 -25 -10 5 20 35 50 65 80 95 110 125 -40 -25 -10 5 20 35 50 65 80 95 110 125 TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C) PORT OUTPUT LOW VOLTAGE WITH 50mA LOAD CURRENT vs. TEMPERATURE PORT OUTPUT LOW VOLTAGE WITH 20mA LOAD CURRENT vs. TEMPERATURE PWM CLOCK FREQUENCY vs. TEMPERATURE 0.5 V+ = 2.7V V+ = 2V 0.3 V+ = 3.6V 0.1 0.6 PORT OUTPUT LOW VOLTAGE VOL (V) MAX6964 toc04 0.6 ALL OUTPUTS LOADED 0.5 0.4 0.3 V+ = 2V 0.2 0.1 V+ = 2.7V V+ = 3.6V 0 0 4 30 0 0 0.2 V+ = 2.7V 10 1 0.4 40 70 65 60 55 50 45 40 35 30 25 20 15 10 5 0 1.050 1.025 MAX6964 toc06 2 V+ = 3.6V PWM CLOCK FREQUENCY (kHz) 3 V+ = 2V PWM ENABLED V+ = 2.7V V+ = 3.6V PWM ENABLED PWM V+ = 2V V+ = 2.7V PWM DISABLED PWM DISABLED DISABLED 50 MAX6964 toc05 4 60 SUPPLY CURRENT (µA) 8 5 70 MAX6964 toc02 V+ = 3.6V PWM ENABLED SUPPLY CURRENT (µA) STANDBY CURRENT (µA) 9 MAX6964 toc01 10 SUPPLY CURRENT vs. TEMPERATURE (PWM ENABLED; fSCL = 400kHz) MAX6964 toc03 SUPPLY CURRENT vs. TEMPERATURE (PWM DISABLED; fSCL = 400kHz) STANDBY CURRENT vs. TEMPERATURE PORT OUTPUT LOW VOLTAGE VOL (V) MAX6964 /GPO V+ = 3.6V 1.000 0.975 V+ = 2.7V V+ = 2V 0.950 0.925 0.900 NORMALIZED TO V+ = 3.3V, TA = 25°C -40 -25 -10 5 20 35 50 65 80 95 110 125 -40 -25 -10 5 20 35 50 65 80 95 110 125 -40 -25 -10 5 20 35 50 65 80 95 110 125 TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C) _______________________________________________________________________________________ 17- LED /GPO ( ) SCOPE SHOT OF OUTPUT PORTS SINK CURRENT vs. VOL MAX6964 toc08 MAX6964 toc07 0.35 MASTER INTENSITY SET TO 1/15 MASTER INTENSITY SET TO 14/15 ONLY ONE OUTPUT LOADED OUTPUT 1 2V/div OUTPUT 1, 2V/div 0.30 VOL (V) OUTPUT 2, 2V/div 0.20 V+ = 2.7V V+ = 3.3V 0.15 V+ = 3.6V OUTPUT 2 2V/div 0.10 OUTPUT 2 INDIVIDUAL INTENSITY SET TO 15/16 OUTPUT 2 INDIVIDUAL INTENSITY SET TO 14/15 V+ = 2V 0.25 OUTPUT 1 INDIVIDUAL INTENSITY SET TO 1/16 OUTPUT 1 INDIVIDUAL INTENSITY SET TO 1/16 MAX6964 toc09 SCOPE SHOT OF OUTPUT PORTS 0.05 0 2ms/div 2ms/div 10 0 20 30 40 50 SINK CURRENT (mA) _____________________________________________________________________________ QSOP QFN 1, 4–11, 13–20 1–8, 10–17, 22 O0-O16 . 7V, 50mA 2 24 RST 3 23 AD0 . 4 . GND 12 9 GND 21 18 BLINK 22 19 SCL 23 20 SDA 24 21 V+ — Pad Exposed Pad . 2- . . . . GND, V+, SCL, SDA 1 . 350mA . . . I2C I2C I/O . 0.047µF . GND V+ GND . . _______________________________________________________________________________________ 5 MAX6964 ______________________________________________________________ (TA = +25°C, unless otherwise noted.) 17- LED MAX6964 /GPO ) ________________________________ MAX6964 (GPO) O0-O16 17 MAX6964 50mA 350mA 20mA . ( . . MAX6964 MAX6964 ) , ( ) I 2 C- 0 ( 1 17 . 17 1 . 4). O16 , ( 2 16 4). BLINK ( 4). BLINK . ) (GPI LED 0 O0-O15 6). ( PWM 16 MAX6964 LED 32kHz PWM . PWM MAX6964 . 1 ( 7). PWM LED ( 8). PWM (BLINK MAX6964 DATA FROM SHIFT REGISTER OUTPUT PORT REGISTER D Q PWM CK 4( 4- 11 12). 416 PWM 4- PWM OUTPUT PORT REGISTER DATA I/O PIN FF WRITE PULSE . . Q2 Q 15/16 1/15 . PWM PWM GND , ( 1. 8 240 11). I/O SDA tSU,STA tSU,DAT tLOW tBUF tHD,STA tSU,STO tHD,DAT tHIGH SCL tHD,STA tR START CONDITION 2. 6 tF REPEATED START CONDITION STOP CONDITION 2- _______________________________________________________________________________________ START CONDITION . 15/15 , 1/16 172 RAM __________________________ , ( 2). 0xFF RST ( MAX6964 I2C 2. 3). (SDA) (SCL) . (idle) MAX6964 ) PWM ( PWM . I2C ( MAX6964 SCL . PWM (active) MAX6964 RAM MAX6964 LED /GPO 2). MAX6964 SDA MAX6964 . SDA . 2- . 4.7kΩ SCL SCL . 4.7kΩ 3), ( SDA MAX6964 SCL S P START CONDITION STOP CONDITION ( 7 , 1 R/W , , . 3) 3. SCL SDA SCL START(S) SDA . SCL STOP(P) SDA . ( 3). SCL . SDA DATA LINE STABLE; CHANGE OF DATA DATA VALID ALLOWED 4. . SDA 4). ( SDL CLOCK PULSE FOR ACKNOWLEDGE START CONDITION SCL 1 2 9 8 ( 9 SDA BY TRANSMITTER SDA BY RECEIVER 5). 9 . 9 SDA SDA MAX6964 S . 5. SDA A6 MSB 1 0 0 A2 0 0 R/W ACK LSB SCL 6. _______________________________________________________________________________________ 7 17- LED MAX6964 /GPO 1. MAX6964 DEVICE ADDRESS PIN AD0 A6 A5 A4 A3 A2 A1 A0 SCL 1 1 0 0 0 0 0 SDA 1 1 0 0 1 0 0 GND 0 1 0 0 0 0 0 V+ 0 1 0 0 1 0 0 2. REGISTER ADDRESS CODE (hex) AUTOINCREMENT ADDRESS Blink phase 0 outputs O7–O0 0x02 0x03 Blink phase 0 outputs O15–O8 0x03 0x02 User RAM0 0x06 0x07 User RAM1 0x07 0x06 Blink phase 1 outputs O7–O0 0x0A 0x0B Blink phase 1 outputs O15–O8 0x0B 0x0A Master and global/O16 intensity 0x0E — Configuration 0x0F — Outputs intensity O1, O0 0x10 0x11 Outputs intensity O3, O2 0x11 0x12 Outputs intensity O5, O4 0x12 0x13 Outputs intensity O7, O6 0x13 0x14 Outputs intensity O9, O8 0x14 0x15 Outputs intensity O11, O10 0x15 0x16 Outputs intensity O13, O12 0x16 0x17 Outputs intensity O15, O14 0x17 0x10 . MAX6964 4 . MAX6964 . MAX6964 MAX6964 6). 7- 7- ( 8 R/ W R/W . , MAX6964 0 . R/W , MAX6964 1 . MAX6964 . MAX6964 6 (A1), (A0) A6 A2 AD0 GND, V+, SDA, MAX6964 4 8 2 (A4), 4 (A3), 1, 0, 0, 0, 0 . AD0 . SCL . ( 1). ( MAX6964 (A5), 3 . . _______________________________________________________________________________________ 2). 17- S SLAVE ADDRESS D15 0 A D14 D13 D12 D11 D10 D9 D8 COMMAND BYTE A R/W MAX6964 COMMAND BYTE IS STORED ON RECEIPT OF STOP CONDITION ACKNOWLEDGE FROM MAX6964 LED /GPO P ACKNOWLEDGE FROM MAX6964 7. ACKNOWLEDGE FROM MAX6964 HOW COMMAND BYTE AND DATA BYTE MAP INTO MAX6964's REGISTERS D15 D14 D13 D12 D11 D10 D9 ACKNOWLEDGE FROM MAX6964 D8 D7 D6 D5 D4 D3 D2 D1 D0 ACKNOWLEDGE FROM MAX6964 SLAVE ADDRESS S 0 A COMMAND BYTE A DATA BYTE A P 1 BYTE AUTOINCREMENT MEMORY ADDRESS R/W 8. ACKNOWLEDGE FROM MAX6964 HOW COMMAND BYTE AND DATA BYTE MAP INTO MAX6964's REGISTERS D15 D14 D13 D12 D11 D10 D9 ACKNOWLEDGE FROM MAX6964 D8 D7 D6 D5 D4 D3 D2 D1 D0 ACKNOWLEDGE FROM MAX6964 S SLAVE ADDRESS 0 A COMMAND BYTE A DATA BYTE A P N BYTE AUTOINCREMENT MEMORY ADDRESS R/W 9. n WRITE TO OUTPUT PORTS REGISTERS (BLINK PHASE 0 REGISTERS/BLINK PHASE 1 REGISTERS) SCL 1 2 3 4 5 6 7 8 9 SDA S A6 A5 A4 A3 A2 A1 A0 0 A SLAVE ADDRESS START CONDITION COMMAND BYTE 0 0 0 0 0 0 0 1 R/W ACKNOWLEDGE FROM SLAVE A MSB DATA1 ACKNOWLEDGE FROM SLAVE LSB A MSB LSB A DATA2 ACKNOWLEDGE FROM SLAVE O7–O0 P STOP CONDITION DATA1 VALID tDV O15– O8 DATA2 VALID tDV 10. ( MAX6964 8). ( MAX6964 ( 1 ) 2). MAX6964 MAX6964 . ( . 0 10 2). _______________________________________________________________________________________ 9 17- LED MAX6964 /GPO MAX6964 ( 7). 0 n MAX6964 . ) read-after-writer ( 2). MAX6964 . ( 4). LED 1 ( 1 ( B) 2MAX6964 MAX6964 . 0xFF 0 2). . MAX6964 E ( 4). BLINK EXOR , 0 1 MAX6964 ( E ( 4). 0 . MAX6964 ( 3). START 5). 11 2). ( RST PWM LED . RST BLINK LED BLINK . MAX6964 2 2 1 1 (BLINK . . BLINK ( MAX6964 . (GPI) 4). BLINK . BLINK ________________________________ ( GPI E 4). RST MAX6964 ( 0 ( 3). (O0-O15) ( 1 PWM ) ( . RST LED ( 16 6). ) 7). , . . . PWM , O16 . , BLINK ( 4). 17 O16 2 16 . 10 ______________________________________________________________________________________ , 17- LED /GPO REGISTER FUNCTION ADDRESS CODE (hex) POWER-UP CONDITION REGISTER DATA D7 D6 D5 D4 D3 D2 D1 D0 Blink phase 0 outputs O7–O0 High-impedance outputs 0x02 1 1 1 1 1 1 1 1 Blink phase 0 outputs O15–O8 High-impedance outputs 0x03 1 1 1 1 1 1 1 1 User RAM0 0xFF 0x06 1 1 1 1 1 1 1 1 User RAM1 0xFF 0x07 1 1 1 1 1 1 1 1 Blink phase 1 outputs O7–O0 High-impedance outputs 0x0A 1 1 1 1 1 1 1 1 Blink phase 1 outputs O15–O8 High-impedance outputs 0x0B 1 1 1 1 1 1 1 1 Master and global/O16 intensity PWM oscillator is disabled; O16 is static logic output 0x0E 0 0 0 0 1 1 1 1 Configuration O16 is high-impedance output; blink is disabled; global intensity is enabled 0x0F 0 0 1 1 0 1 0 0 Outputs intensity O1, O0 O1, O0 are static logic outputs 0x10 1 1 1 1 1 1 1 1 Outputs intensity O3, O2 O3, O2 are static logic outputs 0x11 1 1 1 1 1 1 1 1 Outputs intensity O5, O4 O5, O4 are static logic outputs 0x12 1 1 1 1 1 1 1 1 Outputs intensity O7, O6 O7, O6 are static logic outputs 0x13 1 1 1 1 1 1 1 1 Outputs intensity O9, O8 O9, O8 are static logic outputs 0x14 1 1 1 1 1 1 1 1 Outputs intensity O11, O10 O11, O10 are static logic outputs 0x15 1 1 1 1 1 1 1 1 Outputs intensity O13, O12 O13, O12 are static logic outputs 0x16 1 1 1 1 1 1 1 1 Outputs intensity O15, O14 O15, O14 are static logic outputs 0x17 1 1 1 1 1 1 1 1 4. 0 1 0 Disable blink — Enable blink — Flip blink register (see text) 0x0F X D3 D2 D1 D0 BLINK ENABLE Write device configuration Read back device configuration D4 BLINK FLIP 0 CONFIGURATION D5 GLOBAL INTENSITY R/W D6 G B E X X X 0 X X X 1 X X X 0 1 X X X 1 1 OUTPUT O16 D7 0 REGISTER DATA BLINK STATUS ADDRESS CODE (hex) REGISTER BLINK O1 O0 X X X X X X X X — X X X — X X X X 0 X = Don’t care. ______________________________________________________________________________________ 11 MAX6964 3. 17- LED ) REGISTER DATA D6 0 CONFIGURATION Write device configuration 0 X Read back device configuration 1 0 Disable global intensity control—intensity is set by registers 0x10–0x17 for ports O0 through O15 when configured as outputs, and by D3–D0 of register 0x0E for output — Enable global intensity control—intensity for all ports configured as outputs is set by D3–D0 of register 0x0E — O16 output is low (blink is disabled) D4 D3 D2 D1 D0 G B E X 0 X X X X 1 X X X 0 0 X X 0 X X 1 0 X X 0 BLINK STATUS R/W D5 BLINK ENABLE D7 BLINK FLIP ADDRESS CODE (hex) REGISTER GLOBAL INTENSITY ( 0 4. OUTPUT O16 MAX6964 /GPO BLINK O1 O0 X X X X X X X — X X O16 output is high impedance (blink is disabled) — X X 0 0x0F O16 output is low during blink phase 0 — X X X 0 0 X X 1 O16 output is high impedance during blink phase 0 — X X X 1 0 X X 1 O16 output is low during blink phase 1 — X X 0 X 0 X X 1 O16 output is high impedance during blink phase 1 — X X 1 X 0 X X 1 Read back BLINK input pin status; input is low 1 X 0 X X X X X X Read back BLINK input pin status; input is high 1 X 1 X X X X X X X = Don’t care. 5. BLINK ENABLE FLAG E BLINK FLIP FLAG B BLINK INPUT PIN BLINK FLIP FLAG EXOR BLINK INPUT PIN BLINK FUNCTION 0 X X X Disabled 0 0 0 0 1 1 1 0 1 1 1 0 1 OUTPUT REGISTERS USED Blink phase 0 Blink phase 0 Enabled Blink phase 1 Blink phase 1 Blink phase 0 X = Don’t care. 12 ______________________________________________________________________________________ 170 REGISTER R/W Write outputs O7–O0 phase 0 0 Read back outputs O7–O0 phase 0 1 Write outputs O15–O8 phase 0 0 Read back outputs O15–O8 phase 0 1 7. ADDRESS CODE (hex) REGISTER DATA D7 D6 D5 D4 D3 D2 D1 D0 0x02 OP7 OP6 OP5 OP4 OP3 OP2 OP1 OP0 0x03 OP15 OP14 OP13 OP12 OP11 OP10 OP9 OP8 1 REGISTER R/W Write outputs O7–O0 phase 1 0 Read back outputs O7–O0 phase 1 1 Write outputs O15–O8 phase 1 0 Read back outputs O15–O8 phase 1 1 ADDRESS CODE (hex) REGISTER DATA D7 D6 D5 D4 D3 D2 D1 D0 0x0A OP7 OP6 OP5 OP4 OP3 OP2 OP1 OP0 0x0B OP15 OP14 OP13 OP12 OP11 OP10 OP9 OP8 8. PWM APPLICATION RECOMMENDED CONFIGURATION All outputs static without PWM Set the master and global intensity register 0x0E to any value from 0x00 to 0x0F. The global intensity G bit in the configuration register is don't care. The output intensity registers 0x10 through 0x17 are don't care. A mix of static and PWM outputs, with PWM outputs using different PWM settings Set the master and global intensity register 0x0E to any value from 0x10 to 0xFF. Clear global intensity G bit to zero in the configuration register to disable global intensity control. For the static outputs, set the output intensity value to 0xF. For the PWM outputs, set the output intensity value in the range 0x0 to 0xE. A mix of static and PWM outputs, with PWM outputs all using the same PWM setting As above. Global intensity control cannot be used with a mix of static and PWM outputs, so write the individual intensity registers with the same PWM value. All outputs PWM using the same PWM setting Set the master and global intensity register 0x0E to any value from 0x10 to 0xFF. Set global intensity G bit to 1 in the configuration register to enable global intensity control. The master and global intensity register 0x0E is the only intensity register used. The output intensity registers 0x10 through 0x17 are don't care. ______________________________________________________________________________________ 13 MAX6964 6. LED /GPO 17- LED MAX6964 /GPO PWM PWM MAX6964 LED PWM 1 32kHz PWM DAC . PWM . PWM 14, ( 13, 4. 1/16 16 MAX6964 MAX6964 15 15) ( 11). . ( 17, 16, PWM 16/16 12). 18 . . 4PWM PWM 12). ( 16/16 . . ( 11). PWM 8 . MAX6964 . PWM PWM PWM 240- PWM ( , 0 15 ( . 16 5) PWM 0 9 ( PWM 12). 0 . 16 6). 1 0 LED 1 LED 15/16 1/16 PWM . 16 . PWM BLINK ENABLE FLAG E ( 5) 0 PWM 7). 1 BLINK FLIP FLAG B 6 ( 0 . LED PWM BLINK PHASE REGISTERS BLINK INPUT x 1 10 / , . 11. BLINK ONE PWM PERIOD IS 240 CYCLES OF THE 32kHz PWM OSCILLATOR; A PWM PERIOD CONTAINS 15 MASTER INTENSITY TIMESLOTS 14 15 15 16 1 1 2 2 3 3 4 5 4 6 7 5 8 6 7 8 9 10 11 12 13 14 15 16 9 1 10 11 12 13 14 15 1 2 EACH MASTER INTENSITY TIMESLOT CONTAINS 16 PWM CYCLES 12. PWM 14 ______________________________________________________________________________________ 2 17PWM ________________________ 4( 11). MAX6964 . 17 PWM . G PWM ( 4). 4- 48 . . CMOS 7V 220kΩ 240 . . PWM . . PWM PWM ( LED 8). LED LED LED 50mA . : 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 RLED = (VSUPPLY - VLED - VOL) / ILED 2 . , 13. 1/15 RLED . 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 VLED . 14. 14/15 . 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 VOL ILED ILED LED (V). MAX6964 5V LED 182Ω (V). (A). 14mA 2.2V RLED = (5 - 2.2 - 0.25) / 0.014 = . 15/15 1 ( 2 3 4 ) 5 6 7 8 9 10 11 12 13 14 15 16 NEXT MASTER INTENSITY TIMESLOT 1 2 3 4 5 1 ( 2 6 7 8 9 10 11 12 13 14 15 16 1/16 MASTER INTENSITY TIMESLOT 17. (V). LED MASTER INTENSITY TIMESLOT 16. (Ω). LED 2 . 15. LED VSUPPLY 3 4 ) 5 6 7 8 9 10 11 12 13 14 15 16 NEXT MASTER INTENSITY TIMESLOT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 8 9 10 11 12 13 14 15 16 15/16 MASTER INTENSITY TIMESLOT CONTROL IS IGNORED 1 18. ( 2 ) 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 16/16 ______________________________________________________________________________________ 15 MAX6964 /O16 O16 LED /GPO 17- LED MAX6964 /GPO 50mA 2V TO 3.6V LED 50mA . 50mA . 6V 330mW 5V 0.047µF 55mA . O0-O7 O8-O15 V+ µC . . O16 . O16 O0 O1 SDA SDA O2 MMTBT4148 SCL SCL O3 I/O BLINK O4 I/O RST O5 . O6 MAX6964 O8 MAX6964 ( O7 O9 AD0 O10 19). O11 . O12 O13 O14 MAX6964 2V~3.6V 0.047µF GND . GND O15 . 19. OUTPUT (OR GLOBAL) INTENSITY SETTING 16 ( ) PWM DUTY CYCLE OUTPUT BLINK PHASE 0 REGISTER BIT = 0 HIGH TIME 1/16 15/16 0x1 2/16 0x2 0x3 PWM DUTY CYCLE OUTPUT BLINK PHASE 0 REGISTER = 1 LOW TIME HIGH TIME 15/16 1/16 14/16 14/16 2/16 3/16 13/16 13/16 3/16 4/16 12/16 12/16 4/16 0x4 5/16 11/16 11/16 5/16 0x5 6/16 10/16 10/16 6/16 0x6 7/16 9/16 9/16 7/16 0x7 8/16 8/16 8/16 8/16 0x8 9/16 7/16 7/16 9/16 6/16 10/16 5/16 11/16 4/16 12/16 0x9 10/16 6/16 0xA 11/16 5/16 0xB 12/16 4/16 Lowest PWM intensity Increasing PWM intensity LOW TIME 0x0 LED BEHAVIOR WHEN OUTPUT BLINK PHASE 0 REGISTER BIT = 0 (LED IS ON WHEN OUTPUT IS LOW) LED BEHAVIOR WHEN OUTPUT BLINK PHASE 0 REGISTER BIT = 1 (LED IS ON WHEN OUTPUT IS LOW) Highest PWM intensity Increasing PWM intensity 9. PWM 0xC 13/16 3/16 3/16 13/16 0xD 14/16 2/16 2/16 14/16 0xE 15/16 1/16 Highest PWM intensity 1/16 15/16 Lowest PWM intensity 0xF Static low Static low Full intensity, no PWM (LED on continuously) Static high impedance Static high impedance LED off continuously ______________________________________________________________________________________ 17- OUTPUT (OR GLOBAL) INTENSITY SETTING ( ) PWM DUTY CYCLE OUTPUT BLINK PHASE X REGISTER BIT = 0 PWM DUTY CYCLE OUTPUT BLINK PHASE X REGISTER = 1 LOW TIME HIGH TIME LOW TIME HIGH TIME 0x0 1/16 15/16 15/16 1/16 0x1 2/16 14/16 14/16 2/16 0x2 3/16 13/16 13/16 3/16 0x3 4/16 12/16 12/16 4/16 0x4 5/16 11/16 11/16 5/16 0x5 6/16 10/16 10/16 6/16 0x6 7/16 9/16 9/16 7/16 0x7 8/16 8/16 8/16 8/16 0x8 9/16 7/16 7/16 9/16 0x9 10/16 6/16 6/16 10/16 0xA 11/16 5/16 5/16 11/16 0xB 12/16 4/16 4/16 12/16 0xC 13/16 3/16 3/16 13/16 0xD 14/16 2/16 2/16 14/16 0xE 15/16 1/16 1/16 15/16 0xF Static low MAX6964 10. PWM LED /GPO Static low Static high Static high impedance impedance EXAMPLES OF LED BLINK BEHAVIOR (LED IS ON WHEN OUTPUT IS LOW) BLINK PHASE 0 REGISTER BIT = 0 BLINK PHASE 1 REGISTER BIT = 1 BLINK PHASE 0 REGISTER BIT = 1 BLINK PHASE 1 REGISTER BIT = 0 Phase 0: LED on at low intensity Phase 1: LED on at high intensity Phase 0: LED on at high intensity Phase 1: LED on at low intensity Output is half intensity during both blink phases Phase 0: LED on at high intensity Phase 1: LED on at low intensity Phase 0: LED on at low intensity Phase 1: LED on at high intensity Phase 0: LED on continuously Phase 1: LED off continuously Phase 0: LED off continuously Phase 1: LED on continuously ______________________________________________________________________________________ 17 17- LED MAX6964 /GPO 11. O16 REGISTER ADDRESS CODE (hex) R/W REGISTER DATA D7 D6 D5 MSB MASTER AND GLOBAL INTENSITY D4 D3 0 Read back master and global intensity 1 Master intensity duty cycle is 0/15 (off); internal oscillator is disabled; all outputs will be static with no PWM D1 LSB MSB MASTER INTENSITY Write master and global intensity D2 D0 LSB O16 INTENSITY M3 M2 M1 M0 G3 G2 G1 G0 — 0 0 0 0 — — — — Master intensity duty cycle is 1/15 — 0 0 0 1 — — — — Master intensity duty cycle is 2/15 — 0 0 1 0 — — — — Master intensity duty cycle is 3/15 — 0 0 1 1 — — — — — — — — — — — — 1 1 0 1 — — — — — — Master intensity duty cycle is 13/15 — Master intensity duty cycle is 14/15 — 1 1 1 0 — — — — Master intensity duty cycle is 15/15 (full) — 1 1 1 1 — — — — O/16 intensity duty cycle is 1/16 — — — — — 0 0 0 0 O/16 intensity duty cycle is 2/16 — — — — — 0 0 0 1 O/16 intensity duty cycle is 3/16 — — — — — 0 0 1 0 — — — — — — — — — — O/16 intensity duty cycle is 14/16 — — — — — 1 1 0 1 O/16 intensity duty cycle is 15/16 — — — — — 1 1 1 0 O/16 intensity duty cycle is 16/16 (static output, no PWM) — — — — — 1 1 1 1 18 0X0E ______________________________________________________________________________________ 17- LED /GPO REGISTER ADDRESS CODE (hex) R/W REGISTER DATA D7 D6 D5 MSB OUTPUTS O1, O0 INTENSITY D4 OUTPUT O1 INTENSITY Write output O1, O0 intensity 0 Read back output O1, O0 intensity 1 Output O1 intensity duty cycle is 1/16 D3 D2 D1 D0 LSB MSB LSB OUTPUT O0 INTENSITY O1I3 O1I2 O1I1 O1I0 O0I3 O0I2 O0I1 O0I0 — 0 0 0 0 — — — — Output O1 intensity duty cycle is 2/16 — 0 0 0 1 — — — — Output O1 intensity duty cycle is 3/16 — 0 0 1 0 — — — — — — — — — — — — — — Output O1 intensity duty cycle is 14/16 — 1 1 0 1 — — — — Output O1 intensity duty cycle is 15/16 — 1 1 1 0 — — — — 1 1 1 1 — — — — 0X10 Output O1 intensity duty cycle is 16/16 (static logic level, no PWM) — Output O0 intensity duty cycle is 1/16 — — — — — 0 0 0 0 Output O0 intensity duty cycle is 2/16 — — — — — 0 0 0 1 Output O0 intensity duty cycle is 3/16 — — — — — 0 0 1 0 — — — — — — — — — — Output O0 intensity duty cycle is 14/16 — — — — — 1 1 0 1 Output O0 intensity duty cycle is 15/16 — — — — — 1 1 1 0 Output O0 intensity duty cycle is 16/16 (static logic level, no PWM) — — — — — 1 1 1 1 MSB OUTPUTS O3, O2 INTENSITY Write output O3, O2 intensity 0 Read back output O3, O2 intensity 1 0x11 LSB MSB OUTPUT O3 INTENSITY O3I3 O3I2 O3I1 MSB OUTPUTS O5, O4 INTENSITY Write output O5, O4 intensity 0 Read back output O5, O4 intensity 1 0x12 O5I2 O5I1 MSB Write output O7, O6 intensity 0 Read back output O7, O6 intensity 1 0x13 O5I0 O2I2 O2I1 O2I0 LSB OUTPUT O4 INTENSITY O4I3 O4I2 O4I1 O4I0 LSB MSB OUTPUT O7 INTENSITY O7I3 O2I3 LSB MSB OUTPUT O5 INTENSITY O5I3 OUTPUTS O7, O6 INTENSITY O3I0 LSB OUTPUT O2 INTENSITY O7I2 O7I1 O7I0 LSB OUTPUT O6 INTENSITY O6I3 O6I2 O6I1 O6I0 ______________________________________________________________________________________ 19 MAX6964 12. 17- LED MAX6964 /GPO 12. ( ) ADDRESS CODE (hex) R/W REGISTER REGISTER DATA D7 OUTPUTS O9, O8 INTENSITY Write output O9, O8 intensity 0 Read back output O9, O8 intensity 1 0 Read back output O11, O10 intensity 1 O9I3 O9I2 O9I1 0x15 O11I3 O11I2 O11I1 Read back output O13, O12 intensity 1 O13I2 O13I1 MSB 0 Read back output O15, O14 intensity 1 O13I0 O15I3 O15I2 O15I1 O15I0 ____________________________ TOP VIEW O16 1 24 V+ RST 2 23 SDA ADO 3 22 SCL ( ) OUTPUT O8 INTENSITY O8I3 O8I2 O10I3 O10I2 O10I1 19 O14 18 O13 O4 8 17 O12 O5 9 16 O11 O6 10 15 O10 O7 11 14 O9 GND 12 13 O8 O10I0 LSB OUTPUT O12 INTENSITY O12I3 O12I2 O12I1 O12I0 LSB OUTPUT O14 INTENSITY O14I3 O14I2 O14I1 _________________________________ TRANSISTOR COUNT: 25,991 TECHNOLOGY: BiCMOS 20 O15 O3 7 O8I0 LSB QSOP 20 O8I1 OUTPUT O10 INTENSITY 21 BLINK O2 6 D0 LSB See master, 016 register (Table 11). OUTPUT O16 INTENSITY MAX6964AEG D1 LSB MSB OUTPUT O15 INTENSITY 0x17 D2 LSB MSB O13I3 OUTPUTS O15, O14 INTENSITY Write output O15, O14 intensity O11I0 OUTPUT O13 INTENSITY 0x16 D3 LSB MSB MSB 0 O9I0 OUTPUT O11 INTENSITY OUTPUTS O13, O12 INTENSITY Write output O13, O12 intensity D4 LSB MSB MSB Write output O11, O10 intensity O0 4 D5 OUTPUT O9 INTENSITY 0x14 OUTPUTS O11, O10 INTENSITY O1 5 D6 MSB ______________________________________________________________________________________ O14I0 17- LED /GPO www.maxim-ic.com/packages . QSOP.EPS . PACKAGE OUTLINE, QSOP .150", .025" LEAD PITCH 21-0055 E 1 ______________________________________________________________________________________ 1 21 MAX6964 _________________________________________________________________________ 17- LED ____________________________________________________________________ . ( www.maxim-ic.com/packages ) . 24L QFN THIN.EPS MAX6964 /GPO PACKAGE OUTLINE 12, 16, 20, 24L THIN QFN, 4x4x0.8mm 21-0139 22 ______________________________________________________________________________________ C 1 2 17- LED /GPO . ( www.maxim-ic.com/packages ) . PACKAGE OUTLINE 12, 16, 20, 24L THIN QFN, 4x4x0.8mm 21-0139 C 2 2 Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 23 © 2004 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products. MAX6964 ____________________________________________________________________