Is31fl3235a DS
Is31fl3235a DS
Is31fl3235a DS
*Note 1
*Note 3 *Note 1
5V
31 33
5V
VCC 36
30 OUT1
1 F AD 91
0.1 F 1
OUT2
*Note 2
2 33
VIH OUT3
4.7k 4.7k
34
SDA
35
Micro
Controller
SCL IS31FL3235A
29
SDB
100k
26 33
OUT26
33 91
R_EXT 27
REXT OUT27
3.3k 14 28 33
GND OUT28
32
QFN-36
PIN DESCRIPTION
No. Pin Description
1 ~ 13 OUT2 ~ OUT14 Output channel 2~14 for LEDs.
14, 32 GND Ground.
15 ~ 28 OUT15 ~ OUT28 Output channel 15~28 for LEDs.
29 SDB Shutdown the chip when pulled low.
30 AD I2C address setting.
31 VCC Power supply.
Input terminal used to connect an external resistor.
33 R_EXT
This regulates the global output current.
34 SDA I2C serial data.
35 SCL I2C serial clock.
36 OUT1 Output channel 1 for LEDs.
Thermal Pad Connect to GND.
Copyright © 2020 Lumissil Microsystems. All rights reserved. Lumissil Microsystems reserves the right to make changes to this specification and its
products at any time without notice. Lumissil Microsystems assumes no liability arising out of the application or use of any information, products or
services described herein. Customers are advised to obtain the latest version of this device specification before relying on any published information and
before placing orders for products.
Lumissil Microsystems does not recommend the use of any of its products in life support applications where the failure or malfunction of the product can
reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. Products are not authorized for use in
such applications unless Lumissil Microsystems receives written assurance to its satisfaction, that:
a.) the risk of injury or damage has been minimized;
b.) the user assume all such risks; and
c.) potential liability of Lumissil Microsystems is adequately protected under the circumstances
ELECTRICAL CHARACTERISTICS
Typical values are TA = 25°C, VCC = 3.6V.
Symbol Parameter Condition Min. Typ. Max. Unit
VCC Supply voltage 2.7 5.5 V
VCC= 4.2V, VOUT= 0.8V
IMAX Maximum global output current 38 mA
REXT= 2kΩ, SL= “00” (Note 7)
VOUT= 0.6V
IOUT Output current 23 mA
REXT= 3.3kΩ, SL= “00”
ICC Quiescent power supply current REXT= 3.3kΩ 9 mA
VSDB= 0V or software shutdown
ISD Shutdown current 3 5 μA
TA= 25°C, VCC= 3.6V
0x4B= 0x00 2.9 kHz
fOUT PWM frequency of output
0x4B= 0x01 21.6 kHz
VSDB= 0V or software shutdown,
IOZ Output leakage current 0.2 μA
VOUT= 5.5V
I2C INTERFACE The 8-bit chip address is sent next, most significant bit
first. Each address bit must be stable while the SCL
The IS31FL3235A uses a serial bus, which conforms to
level is high.
the I2C protocol, to control the chip’s functions with two
wires: SCL and SDA. The IS31FL3235A has a 7-bit After the last bit of the chip address is sent, the master
slave address (A7:A1), followed by the R/W bit, A0. checks for the IS31FL3235A’s acknowledge. The
Since IS31FL3235A only supports write operations, A0 master releases the SDA line high (through a pull-up
must always be “0”. The value of bits A1 and A2 are resistor). Then the master sends an SCL pulse. If the
decided by the connection of the AD pin. IS31FL3235A has received the address correctly, then
it holds the SDA line low during the SCL pulse. If the
The complete slave address is:
SDA line is not low, then the master should send a
Table 1 Slave Address (Write only): “STOP” signal (discussed later) and abort the transfer.
Bit A7:A3 A2:A1 A0 Following acknowledge of IS31FL3235A, the register
address byte is sent, most significant bit first.
Value 01111 AD 0 IS31FL3235A must generate another acknowledge
AD connected to GND, AD = 00; indicating that the register address has been received.
AD connected to VCC, AD = 11; Then 8-bit of data byte are sent next, most significant
AD connected to SCL, AD = 01; bit first. Each data bit should be valid while the SCL
AD connected to SDA, AD = 10; level is stable high. After the data byte is sent, the
IS31FL3235A must generate another acknowledge to
The SCL line is uni-directional. The SDA line is
indicate that the data was received.
bi-directional (open-collector) with a pull-up resistor
(typically 4.7kΩ). The maximum clock frequency The “STOP” signal ends the transfer. To signal “STOP”,
specified by the I2C standard is 400kHz. In this the SDA signal goes high while the SCL signal is high.
discussion, the master is the microcontroller and the
ADDRESS AUTO INCREMENT
slave is the IS31FL3235A.
To write multiple bytes of data into IS31FL3235A, load
The timing diagram for the I2C is shown in Figure 3.
the address of the data register that the first data byte
The SDA is latched in on the stable high level of the
is intended for. During the IS31FL3235A acknowledge
SCL. When there is no interface activity, the SDA line
of receiving the data byte, the internal address pointer
should be held high.
will increment by one. The next data byte sent to
The “START” signal is generated by lowering the SDA IS31FL3235A will be placed in the new address, and
signal while the SCL signal is high. The start signal will so on. The auto increment of the address will continue
alert all devices attached to the I2C bus to check the as long as data continues to be written to IS31FL3235A
incoming address against their own chip address. (Figure 6).
REGISTERS DEFINITIONS
Table 2 Register Function
Address Name Function Table Default
00h Shutdown Register Set software shutdown mode 3
0000 0000
05h~20h PWM Register 28 channels PWM duty cycle data register 4
Load PWM Register and LED Control Register’s
25h PWM Update Register - xxxx xxxx
data
2Ah~45h LED Control Register Channel 1 to 28 enable bit and current setting 5
0000 0000
4Ah Global Control Register Set all channels enable 6
Output Frequency
4Bh Set all channels operating frequency 7 0000 0000
Setting Register
4Fh Reset Register Reset all registers into default value - xxxx xxxx
VCC
Scaling Data
SDA PWM&EN
I2C Registers EN Data &Scaling
SCL Logic
Interface
AD Current
PWM Data R_EXT
CMP Control
OSC Counter
SD_Chip
SDB
GND
PWM Data
160
REXT 128
CURRENT SETTING 32
When channels drive different quantity of LEDs, adjust Choosing more gamma steps provides for a more
maximum output current according to quantity of LEDs continuous looking breathing effect. This is useful for
to ensure average current of each LED is the same. very long breathing cycles. The recommended
configuration is defined by the breath cycle T. When
For example, set REXT= 3.3kΩ then IMAX= 23mA. If T=1s, choose 32 gamma steps, when T=2s, choose
OUT1 drives two LEDs and OUT2 drives four LEDs, set 64 gamma steps. The user must decide the final
the SL bit of LED Control Register (2Ah) to “01” and SL number of gamma steps not only by the LED itself, but
bit of LED Control Register (2Bh) to “00”. So the current also based on the visual performance of the finished
of OUT1 is IOUT1= IMAX/2= 11.5mA and the current of product.
OUT2 is IOUT2= IMAX= 23mA. The average current of
Table 9 64 Gamma Steps With 256 PWM Steps
each LED is the same.
C(0) C(1) C(2) C(3) C(4) C(5) C(6) C(7)
GAMMA CORRECTION
0 1 2 3 4 5 6 7
In order to perform a better visual LED breathing effect C(8) C(9) C(10) C(11) C(12) C(13) C(14) C(15)
we recommend using a gamma corrected PWM value 8 10 12 14 16 18 20 22
to set the LED intensity. This results in a reduced
number of steps for the LED intensity setting, but C(16) C(17) C(18) C(19) C(20) C(21) C(22) C(23)
causes the change in intensity to appear more linear to 24 26 29 32 35 38 41 44
the human eye. C(24) C(25) C(26) C(27) C(28) C(29) C(30) C(31)
Gamma correction, also known as gamma 47 50 53 57 61 65 69 73
compression or encoding, is used to encode linear C(32) C(33) C(34) C(35) C(36) C(37) C(38) C(39)
luminance to match the non-linear characteristics of 77 81 85 89 94 99 104 109
display. Since the IS31FL3235A can modulate the
C(40) C(41) C(42) C(43) C(44) C(45) C(46) C(47)
brightness of the LEDs with 256 steps, a gamma
correction function can be applied when computing 114 119 124 129 134 140 146 152
each subsequent LED intensity setting such that the C(48) C(49) C(50) C(51) C(52) C(53) C(54) C(55)
changes in brightness matches the human eye’s 158 164 170 176 182 188 195 202
brightness curve.
C(56) C(57) C(58) C(59) C(60) C(61) C(62) C(63)
209 216 223 230 237 244 251 255
160
causing the PCB to flex and generate audible hum in
128 the range of between 20Hz to 20kHz, To avoid this
96
hum, there are many countermeasures, such as
selecting the capacitor type and value which will not
64 cause the PCB to flex and contract.
32 An additional option for avoiding audible hum is to set
0
the IS31FL3235A’s output PWM frequency above the
0 8 16 24 32 40 48 56 64 audible range. The Output Frequency Setting Register
Intensity Steps 4Bh bit D0 can be used to set the switching frequency
Figure 8 Gamma Correction (64 Steps)
to 22kHz, which is beyond the audible range. Figure 9
below shows the variation of output PWM frequency
Note, the data of 32 gamma steps is the standard value and the data across supply voltage and temperature.
of 64 gamma steps is the recommended value.
30
SHUTDOWN MODE
QFN-36
QFN-36
Note:
1. Land pattern complies to IPC-7351.
2. All dimensions in MM.
3. This document (including dimensions, notes & specs) is a recommendation based on typical circuit board manufacturing parameters. Since
land pattern design depends on many factors unknown (eg. User’s board manufacturing specs), user must determine suitability for use.