ebook img

ON Semiconductor CAT9532 Datasheet (Rev. D) PDF

2008·0.22 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview ON Semiconductor CAT9532 Datasheet (Rev. D)

CAT9532 2 16-bit Programmable LED Dimmer with I C Interface FEATURES DESCRIPTION (cid:132) 16 LED drivers with dimming control The CAT9532 is a CMOS device that provides 16-bit parallel input/output port expander optimized for LED (cid:132) 256 brightness steps dimming control. The CAT9532 outputs can drive (cid:132) 16 open drain outputs drive 25 mA each directly 16 LEDs in parallel. Each individual LED may (cid:132) 2 selectable programmable blink rates: be turned ON, OFF, or blinking at one of two programmable rates. The device provides a simple – frequency: 0.593Hz to 152Hz solution for dimming LEDs in 256 brightness steps for – duty cycle: 0% to 99.6% backlight and color mixing applications. The CAT9532 (cid:132) I/Os can be used as GPIOs is suitable in I2C and SMBus compatible applications (cid:132) 400kHz I2C bus compatible* where it is necessary to limit the bus traffic or free-up the bus master’s timer. (cid:132) 2.3V to 5.5V operation The CAT9532 contains an internal oscillator and two (cid:132) 5V tolerant I/Os PWM signals that drive the LED outputs. The user can (cid:132) Active low reset input program the period and duty cycle for each individual (cid:132) RoHS-compliant 24-Lead SOIC, TSSOP and PWM signal. After the initial set-up command to 24-pad TQFN (4 x 4mm) packages program the Blink Rate 1 and Blink Rate 2 (frequency and duty cycle), only one command from the bus master APPLICATIONS is required to turn each individual open drain output ON, OFF, or cycle at Blink Rate 1 or Blink Rate 2. Each (cid:132) Backlighting open drain LED output can provide a maximum output (cid:132) RGB color mixing current of 25mA. The total current sunk by all I/Os must not exceed 200mA. (cid:132) Sensors control (cid:132) Power switches, push-buttons (cid:132) Alarm systems TYPICAL APPLICATION CIRCUIT For Ordering Information details, see page 16. 5 V 5 V 3 x 10kΩ RS0 RS1 RS11 SDA SDA VCC LED0 SCL SCL LED1 RESET RESET CAT9532 I2C/SMBus Master LED11 A2 LED12 A1 GPIOs A0 VSS LED15 * Catalyst Semiconductor is licensed by Philips Corporation to Notes: LED0 to LED11 are used as LED drivers carry the I2C Protocol. LED12 to LED15 are used as regular GPIOs © 2008 SCILLC. All rights reserved 1 Doc. No. MD-9001 Rev. D Characteristics subject to change without notice CAT9532 PIN CONFIGURATION SOIC (W), TSSOP (Y) TQFN (HV6) AO 1 24 VCC 2 1 0 CC DA CL A A A V S S A1 2 23 SDA 4 3 2 1 0 9 A2 3 22 SCL 2 2 2 2 2 1 LED0 4 21 RESET LED0 1 18 RESET LED1 5 20 LED15 LED1 2 17 LED15 LED2 6 19 LED14 LED3 7 19 LED13 LED2 3 16 LED14 LED4 8 17 LED12 LED5 9 16 LED11 LED3 4 15 LED13 LED6 10 15 LED10 LED4 5 14 LED12 LED7 11 14 LED9 VSS 12 13 LED8 LED5 6 13 LED11 7 8 9 10 11 12 6 7 S 8 9 0 D D S D D 1 E E V E E D L L L L E L PIN DESCRIPTION DIP / SOIC / TSSOP TQFN PIN NAME FUNCTION 1 22 AO Address Input 0 2 23 A1 Address Input 1 3 24 A2 Address Input 2 4-11 1-8 LED0 - LED7 LED Driver Output 0 to 7, I/O Port 0 to 7 12 9 V Ground SS 13-20 10-17 LED8 - LED15 LED Driver Output 8 to 15, I/O Port 8 to 15 21 18 R¯¯E¯S¯E¯T¯ Reset Input 22 19 SCL Serial Clock 23 20 SDA Serial Data 24 21 V Power Supply CC BLOCK DIAGRAM A2 A1 A0 VCC POWER ON INPUT RESET RESET REGISTER SCL INPUT I2C BUS LED SELECT (LSx) SDA FILTERS CONTROL REGISTER LEDx PRESCALER 0 PWM 0 BLINK 0 REGISTER REGISTER CONTROL OSCILLATOR LOGIC PRESCALER 1 PWM 1 BLINK 1 REGISTER REGISTER VSS Note:Only one I/O is shown for clarity CAT9532 Doc. No. MD-9001 Rev. D 2 © 2008 SCILLC. All rights reserved Characteristics subject to change without notice CAT9532 ABSOLUTE MAXIMUM RATINGS(1) Parameters Ratings Units V with Respect to Ground -2.0 to +7.0 V CC Voltage on Any Pin with Respect to Ground -0.5 to +5.5 V DC Current on I/Os ±25 mA Supply Current 200 mA Package Power Dissipation Capability (T = 25ºC) 1.0 W A Junction Temperature +150 °C Storage Temperature -65 to +150 ºC Lead Soldering Temperature (10 seconds) 300 ºC Operating Ambient Temperature -40 to +85 ºC Notes: (1) Stresses above 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 outside of those listed in the operational sections of this specification is not implied. Exposure to any absolute maximum rating for extended periods may affect device performance and reliability. © 2008 SCILLC. All rights reserved 3 Doc. No. MD-9001 Rev. D Characteristics subject to change without notice CAT9532 D.C. OPERATING CHARACTERISTICS V = 2.3 to 5.5V, V = 0V; T = -40ºC to +85ºC, unless otherwise specified CC SS A Symbol Parameter Conditions Min Typ Max Unit Supplies V Supply Voltage 2.3 — 5.5 V CC Operating mode; V = 5.5V; no I Supply Current CC — 250 550 µA CC load; f = 100kHz SCL Standby mode; V = 5.5V; no load; I Standby Current CC — 2.1 5.0 µA stb V = V or V , f = 0kHz I SS CC SCL Standby mode; V = 5.5V; every ΔI Additional Standby Current CC — — 2 mA stb LED I/O = V = 4.3V, f = 0kHz IN SCL V (1) Power-on Reset Voltage VCC = 3.3V, No load; — 1.5 2.2 V POR V = V or V I CC SS SCL, SDA, R¯¯E¯S¯E¯T¯ V (2) Low Level Input Voltage -0.5 — 0.3 V V IL CC V (2) High Level Input Voltage 0.7 V — 5.5 V IH CC I Low Level Output Current V = 0.4V 3 — — mA OL OL I Leakage Current V = V = V -1 — +1 µA IL I CC SS C(3) Input Capacitance V = V — — 6 pF I I SS C (3) Output Capacitance V = V — — 8 pF O O SS A0, A1, A2 V (2) Low Level Input Voltage -0.5 — 0.8 V IL V (2) High Level Input Voltage 2.0 — 5.5 V IH I Input Leakage Current -1 — 1 µA IL I/Os V (2) Low Level Input Voltage -0.5 — 0.8 V IL V (2) High Level Input Voltage 2.0 — 5.5 V IH V = 0.4V; V = 2.3V 9 — — OL CC V = 0.4V; V = 3.0V 12 — — OL CC V = 0.4V; V = 5.0V 15 — — I (4) Low Level Output Current OL CC mA OL V = 0.7V; V = 2.3V 15 — — OL CC V = 0.7V; V = 3.0V 20 — — OL CC V = 0.7V; V = 5.0V 25 — — OL CC I Input Leakage Current V = 3.6V; V = V or V -1 — 1 µA IL CC I SS CC C (3) Input/Output Capacitance — — 8 pF I/O Notes: (1) V must be lowered to 0.2V in order to reset the device. DD (2) V min and V max are reference values only and are not tested. IL IH (3) This parameter is characterized initially and after a design or process change that affects the parameter. Not 100% tested. (4) The output current must be limited to a maximum 25mA per each I/O; the total current sunk by all I/O must be limited to 200mA (or 100mA for eight I/Os) Doc. No. MD-9001 Rev. D 4 © 2008 SCILLC. All rights reserved Characteristics subject to change without notice CAT9532 A.C. CHARACTERISTICS V = 2.3V to 5.5V, T = -40ºC to +85ºC, unless otherwise specified(1) CC A StandardI2C Fast I2C Symbol Parameter Units Min Max Min Max F Clock Frequency 100 400 kHz SCL t START Condition Hold Time 4 0.6 µs HD:STA t Low Period of SCL Clock 4.7 1.3 µs LOW t High Period of SCL Clock 4 0.6 µs HIGH t START Condition Setup Time 4.7 0.6 µs SU:STA t Data In Hold Time 0 0 µs HD:DAT t Data In Setup Time 250 100 ns SU:DAT t (2) SDA and SCL Rise Time 1000 300 ns R t (2) SDA and SCL Fall Time 300 300 ns F t STOP Condition Setup Time 4 0.6 µs SU:STO t (2) Bus Free Time Between STOP and START 4.7 1.3 µs BUF t SCL Low to Data Out Valid 3.5 0.9 µs AA t Data Out Hold Time 100 50 ns DH T(2) Noise Pulse Filtered at SCL and SDA Inputs 100 100 ns i Symbol Parameter Min Max Units Port Timing t Output Data Valid 200 ns PV t Input Data Setup Time 100 ns PS t Input Data Hold Time 1 µs PH Reset t (2) Reset Pulse Width 10 ns W t Reset Recovery Time 0 ns REC t (3) Time to Reset 400 ns RESET Notes: (1) Test conditions according to "AC Test Conditions" table. (2) This parameter is characterized initially and after a design or process change that affects the parameter. Not 100% tested. (3) The full delay to reset the part will be the sum of t and the RC time constant of the SDA line. RESET © 2008 SCILLC. All rights reserved 5 Doc. No. MD-9001 Rev. D Characteristics subject to change without notice CAT9532 AC TEST CONDITIONS Input Pulse Voltage 0.2V to 0.8V CC CC Input Rise and Fall Times ≤5ns Input Reference Voltage 0.3V , 0.7V CC CC Output Reference Voltage 0.5V CC Output Load Current source: I = 3mA; 400pF for f = 400kHz OL SCL(max) tF tHIGH tR tLOW tLOW SCL tSU:STA tHD:DAT tHD:STA tSU:DAT tSU:STO SDA IN tAA tDH tBUF SDAOUT Figure 1. 2-Wire Serial Interface Timing PIN DESCRIPTION SCL: Serial Clock LED0 to LED15: LED Driver Outputs / General The serial clock input clocks all data transferred into Purpose I/Os or out of the device. The SCL line requires a pull-up The pins are open drain outputs used to drive directly resistor if it is driven by an open drain output. LEDs. Any of these pins can be programmed to drive the LED ON, OFF, Blink Rate1 or Blink Rate2. When SDA: Serial Data/Address not used for controlling the LEDs, these pins may be The bidirectional serial data/address pin is used to used as general purpose parallel input/output. transfer all data into and out of the device. The SDA pin is an open drain output and can be wire-ORed R¯¯E¯S¯E¯T¯: External Reset Input with other open drain or open collector outputs. A pull- Active low Reset input is used to initialize the up resistor must be connected from SDA line to V . CAT9532 internal registers and the I2C state machine. CC The internal registers are held in their default state while Reset input is active. An external pull-up resistor of maximum 25kΩ is required when this pin is not actively driven. Doc. No. MD-9001 Rev. D 6 © 2008 SCILLC. All rights reserved Characteristics subject to change without notice CAT9532 FUNCTIONAL DESCRIPTION The CAT9532 is a 16-bit I/O bus expander that SDA when SCL is HIGH. The CAT9532 monitors the provides a programmable LED dimmer, controlled SDA and SCL lines and will not respond until this through an I2C compatible serial interface. condition is met. The CAT9532 supports the I2C Bus data transmission A LOW to HIGH transition of SDA when SCL is HIGH protocol. This Inter-Integrated Circuit Bus protocol determines the STOP condition. All operations must defines any device that sends data to the bus to be a end with a STOP condition. transmitter and any device receiving data to be a receiver. The transfer is controlled by the Master Device Addressing device which generates the serial clock and all After the bus Master sends a START condition, a START and STOP conditions for bus access. The slave address byte is required to enable the CAT9532 CAT9532 operates as a Slave device. Both the for a read or write operation. The four most significant Master device and Slave device can operate as either bits of the slave address are fixed as binary 1100 transmitter or receiver, but the Master device controls (Figure 3). The CAT9532 uses the next three bits as which mode is activated. address bits. I2C Bus Protocol The address bits A2, A1 and A0 are used to select The features of the I2C bus protocol are defined as which device is accessed from maximum eight follows: devices on the same bus. These bits must compare to (1) Data transfer may be initiated only when the bus their hardwired input pins. The 8th bit following the 7- is not busy. bit slave address is the R/W bit that specifies whether a read or write operation is to be performed. When (2) During a data transfer, the data line must remain this bit is set to “1”, a read operation is initiated, and stable whenever the clock line is high. Any when set to “0”, a write operation is selected. changes in the data line while the clock line is high will be interpreted as a START or STOP Following the START condition and the slave address condition (Figure 2). byte, the CAT9532 monitors the bus and responds with an acknowledge (on the SDA line) when its START and STOP Conditions address matches the transmitted slave address. The The START Condition precedes all commands to the CAT9532 then performs a read or a write operation device, and is defined as a HIGH to LOW transition of depending on the state of the R/W bit. Figure 2. Start/Stop Timing SDA SCL START CONDITION STOP CONDITION Figure 3. CAT9532 Slave Address SLAVEADDRESS 1 1 0 0 A2 A1 A0 R/W FIXED PROGRAMMABLE HARDWARE SELECTABLE © 2008 SCILLC. All rights reserved 7 Doc. No. MD-9001 Rev. D Characteristics subject to change without notice CAT9532 Acknowledge The Control Register acts as a pointer to determine which register will be written or read. The four least After a successful data transfer, each receiving device significant bits, B0, B1, B2, B3, are used to select is required to generate an acknowledge. The which internal register is accessed, according acknowledging device pulls down the SDA line during to the Table 1. the ninth clock cycle, signaling that it received the 8 bits of data. The SDA line remains stable LOW during If the auto increment flag (AI) is set, the four least the HIGH period of the acknowledge related clock significant bits of the Control Register are pulse (Figure 4). automatically incremented after a read or write operation. This allows the user to access the The CAT9532 responds with an acknowledge after CAT9532 internal registers sequentially. The content receiving a START condition and its slave address. If of these bits will rollover to “0000” after the last the device has been selected along with a write register is accessed. operation, it responds with an acknowledge after receiving each 8- bit byte. Table 1. Internal Registers Selection When the CAT9532 begins a READ mode it transmits Register Register B3 B2 B1 B0 Name Type Function 8 bits of data, releases the SDA line, and monitors the Input line for an acknowledge. Once it receives this 0 0 0 0 INPUT0 READ Register 0 acknowledge, the CAT9532 will continue to transmit Input data. If no acknowledge is sent by the Master, the 0 0 0 1 INPUT1 READ Register 1 device terminates data transmission and waits for a READ/ Frequency 0 0 1 0 PSC0 STOP condition. The master must then issue a stop WRITE Prescaler 0 condition to return the CAT9532 to the standby power READ/ PWM 0 0 1 1 PWM0 mode and place the device in a known state. WRITE Register 0 READ/ Frequency 0 1 0 0 PSC1 WRITE Prescaler 1 Registers and Bus Transactions READ/ PWM After the successful acknowledgement of the slave 0 1 0 1 PWM1 WRITE Register 1 address, the bus master will send a command byte to READ/ LED 0-3 0 1 1 0 LS0 the CAT9532 which will be stored in the Control WRITE Selector Register. The format of the Control Register is shown READ/ LED 4-7 0 1 1 1 LS1 in Figure 5. WRITE Selector READ/ LED 8-11 1 0 0 0 LS2 WRITE Selector READ/ LED 12-15 1 0 0 1 LS3 WRITE Selector Figure 4. Acknowledge Timing SCL FROM 1 8 9 MASTER DATA OUTPUT FROMTRANSMITTER DATA OUTPUT FROM RECEIVER START ACKNOWLEDGE Figure 5. Control Register 0 0 0 AI B3 B2 B1 B0 REGISTERADDRESS RESET STATE: 00h AUTO-INCREMENT FLAG Doc. No. MD-9001 Rev. D 8 © 2008 SCILLC. All rights reserved Characteristics subject to change without notice CAT9532 The Input Register 0 and Input Register 1 reflect the Table 4. PWM Register 0 and PWM Register 1 incoming logic levels of the I/O pins, regardless of PWM0 whether the pin is defined as an input or an output. bit 7 6 5 4 3 2 1 0 These registers are read only ports. Writes to the input default 1 0 0 0 0 0 0 0 registers will be acknowledged but will have no effect. PWM1 Table 2. Input Register 0 and Input Register 1 bit 7 6 5 4 3 2 1 0 INPUT0 default 1 0 0 0 0 0 0 0 LED LED LED LED LED LED LED LED 7 6 5 4 3 2 1 0 Every LED driver output can be programmed to one of bit 7 6 5 4 3 2 1 0 four states, LED OFF, LED ON, LED blinks at BLINK0 default X X X X X X X X rate and LED blinks at BLINK1 rate using the LED INPUT1 Selector Registers (Table 5). LED LED LED LED LED LED LED LED 15 14 13 12 11 10 9 8 Table 5. LED Selector Registers bit 7 6 5 4 3 2 1 0 LS0 default X X X X X X X X LED 3 LED 2 LED 1 LED 0 bit 7 6 5 4 3 2 1 0 The Frequency Prescaler 0 and Frequency Prescaler default 0 0 0 0 0 0 0 0 1 registers (PSC0, PSC1) are used to program the LS1 period of the pulse width modulated signals BLINK0 LED 7 LED 6 LED 5 LED 4 and BLINK1 respectively: bit 7 6 5 4 3 2 1 0 T_BLINK0 = (PSC0 + 1) / 152; default 0 0 0 0 0 0 0 0 T_BLINK1 = (PSC1 + 1) / 152 LS2 Table 3. Frequency Prescaler 0 and Frequency LED 11 LED 10 LED 9 LED 8 Prescaler 1 Registers bit 7 6 5 4 3 2 1 0 PSC0 default 0 0 0 0 0 0 0 0 bit 7 6 5 4 3 2 1 0 LS3 default 0 0 0 0 0 0 0 0 LED 15 LED 14 LED 13 LED 12 PSC1 bit 7 6 5 4 3 2 1 0 bit 7 6 5 4 3 2 1 0 default 0 0 0 0 0 0 0 0 default 0 0 0 0 0 0 0 0 The LED output (LED0 to LED15) is set by the 2 bits The PWM Register 0 and PWM Register 1 (PWM0, value from the corresponding LSx Register (x = 0 to 3): PWM1) are used to program the duty cycle of BLINK0 00 = LED Output set Hi-Z (LED Off – Default) and BLINK1 respectively: 01 = LED Output set LOW (LED On) Duty Cycle_BLINK0 = PWM0 / 256; 10 = LED Output blinks at BLINK0 Rate Duty Cycle_BLINK1 = PWM1 / 256 11 = LED Output blinks at BLINK1 Rate After writing to the PWM0/1 register an 8-bit internal counter starts to count from 0 to 255. The outputs are low (LED on) when the counter value is less than the value programmed into PWM register. The LED is off when the counter value is higher than the value written into PWM register. © 2008 SCILLC. All rights reserved 9 Doc. No. MD-9001 Rev. D Characteristics subject to change without notice CAT9532 Write Operations LED Pins Used as General Purpose I/O Data is transmitted to the CAT9532 registers using the Any LED pins not used to drive LEDs can be used as write sequence shown in Figure 6. general purpose input/output, GPIO. If the AI bit from the command byte is set to “1”, the When used as input, the user should program the CAT9532 internal registers can be written corresponding LED pin to Hi-Z (“00” for the LSx sequentially. After sending data to one register, the register bits). The pin state can be read via the next data byte will be sent to the next register Input Register according to the sequence shown in sequentially addressed. Figure 8. Read Operations For use as output, an external pull-up resistor should The CAT9532 registers are read according to the be connected to the pin. The value of the pull-up timing diagrams shown in Figure 7 and Figure 8. Data resistor is calculated according to the DC operating from the register, defined by the command byte, will characteristics. To set the LED output high, the user be sent serially on the SDA line. has to program the output Hi-Z writing “00” into the corresponding LED Selector (LSx) register bits. The After the first byte is read, additional data bytes may output pin is set low when the LED output is be read when the auto-increment flag, AI, is set. The programmed low through the LSx register bits (“01” in additional data byte will reflect the data read from the LSx register bits). next register sequentially addressed by the (B3 B2 B1 B0) bits of the command byte. When reading Input Port Registers (Figure 8), data is clocked into the register on the failing edge of the acknowledge clock pulse. The transfer is stopped when the master will not acknowledge the data byte received and issue the STOP condition. Figure 6. Write to Register Timing Diagram 1 2 3 4 5 6 7 8 9 SCL SlaveAddress Command Byte DataToRegister1 DataToRegister2 SDA S 1 1 0 0 A2 A1 A0 0 A 0 0 0 AI B3 B2 B1 B0 A DATA 1 A 1.0 A Start Condition R/W Acknowledge Acknowledge Acknowledge From Slave From Slave From Slave WRITE TO REGISTER DATAOUT FROMPORT tpv Figure 7. Read from Register Timing Diagram Acknowledge Acknowledge Acknowledge Acknowledge From Slave From Slave From Slave FromMaster SlaveAddress SlaveAddress DataFromRegister S 1 1 0 0 A2 A1 A0 0 A COMMANDBYTE A S 1 1 0 0 A2 A1 A0 1 A MSB DATA LSB A R/W R/W FirstByte AtThisMomentMaster-Transmitter BecomesMaster-receiverand Auto-increment Slave-ReceiverBecomes RegisterAddress Slave-Transmitter IfAl=1 NoAcknowledge DataFromRegister FromMaster MSB DATA LSB NA P Note:TransfercanbestoppedatanytimebyaSTOPcondition. Last Byte Doc. No. MD-9001 Rev. D 10 © 2008 SCILLC. All rights reserved Characteristics subject to change without notice

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.