PCA9685BS NXP [NXP Semiconductors], PCA9685BS Datasheet - Page 15

no-image

PCA9685BS

Manufacturer Part Number
PCA9685BS
Description
16-channel, 12-bit PWM Fm+ I2C-bus LED controller
Manufacturer
NXP [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PCA9685BS,118
Manufacturer:
MITSUBISHI
Quantity:
101
NXP Semiconductors
Table 5.
Legend: * default value.
[1]
[2]
[3]
[4]
PCA9685_2
Product data sheet
Bit
7 to 5
4
3
2
1 to 0
See
mode. Some newer LEDs include integrated Zener diodes to limit voltage transients, reduce EMI, protect the LEDs and these must be
driven only in the open-drain mode to prevent overheating the IC.
Change of the outputs at the STOP command allows synchronizing outputs of more than one PCA9685. Applicable to registers from
06h (LED0_ON_L) to 45h (LED15_OFF_H) only. 1 or more registers can be written, in any order, before STOP.
Update on ACK requires all 4 PWM channel registers to be loaded before outputs will change on the last ACK.
See
Section 7.7 “Using the PCA9685 with and without external drivers”
Section 7.4 “Active LOW output enable input”
Symbol
-
INVRT
OCH
OUTDRV
OUTNE[1:0]
MODE2 - Mode register 2 (address 01h) bit description
[1]
7.3.2 Mode register 2, MODE2
7.3.3 LED output and PWM control
[1]
[4]
The turn-on time of each LED driver output and the duty cycle of PWM can be controlled
independently using the LEDn_ON and LEDn_OFF registers.
There will be two 12-bit registers per LED output. These registers will be programmed by
the user. Both registers will hold a value from 0 to 4095. One 12-bit register will hold a
value for the ON time and the other 12-bit register will hold the value for the OFF time. The
ON and OFF times are compared with the value of a 12-bit counter that will be running
continuously from 0000h to 0FFFh (0 to 4095 decimal).
Update on ACK requires all 4 PWM channel registers to be loaded before outputs will
change on the last ACK.
The ON time, which is programmable, will be the time the LED output will be asserted and
the OFF time, which is also programmable, will be the time when the LED output will be
negated. In this way, the phase shift becomes completely programmable. The resolution
for the phase shift is
The following two examples illustrate how to calculate values to be loaded into these
registers.
Access
read only
R/W
R/W
R/W
R/W
Value
000*
0*
1
0*
1
0
1*
00*
01
1X
Description
reserved
Output logic state not inverted. Value to use when external driver used.
Applicable when OE = 0.
Output logic state inverted. Value to use when no external driver used.
Applicable when OE = 0.
Outputs change on STOP command
Outputs change on ACK
The 16 LEDn outputs are configured with an open-drain structure.
The 16 LEDn outputs are configured with a totem pole structure.
When OE = 1 (output drivers not enabled), LEDn = 0.
When OE = 1 (output drivers not enabled):
When OE = 1 (output drivers not enabled), LEDn = high-impedance.
1
for more details.
LEDn = 1 when OUTDRV = 1
LEDn = high-impedance when OUTDRV = 0 (same as OUTNE[1:0] = 10)
4096
Rev. 02 — 16 July 2009
of the target frequency.
16-channel, 12-bit PWM Fm+ I
for more details. Normal LEDs can be driven directly in either
[3]
.
Table 6
[2]
.
lists these registers.
2
C-bus LED controller
PCA9685
© NXP B.V. 2009. All rights reserved.
15 of 50

Related parts for PCA9685BS