PCA9685 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet Rev. 4 — 16 April 2015 13 of 52
NXP Semiconductors
PCA9685
16-channel, 12-bit PWM Fm+ I
2
C-bus LED controller
[1] Writes to PRE_SCALE register are blocked when SLEEP bit is logic 0 (MODE 1).
[2] Reserved. Writes to this register may cause unpredictable results.
Remark: Auto Increment past register 69 will point to MODE1 register (register 0).
Auto Increment also works from register 250 to register 254, then rolls over to register 0.
62 3E 0 0 1 1 1 1 1 0 LED14_ON_L read/write LED14 output and
brightness control byte 0
63 3F 0 0 1 1 1 1 1 1 LED14_ON_H read/write LED14 output and
brightness control byte 1
64 40 0 1 0 0 0 0 0 0 LED14_OFF_L read/write LED14 output and
brightness control byte 2
65 41 0 1 0 0 0 0 0 1 LED14_OFF_H read/write LED14 output and
brightness control byte 3
66 42 0 1 0 0 0 0 1 0 LED15_ON_L read/write LED15 output and
brightness control byte 0
67 43 0 1 0 0 0 0 1 1 LED15_ON_H read/write LED15 output and
brightness control byte 1
68 44 0 1 0 0 0 1 0 0 LED15_OFF_L read/write LED15 output and
brightness control byte 2
69 45 0 1 0 0 0 1 0 1 LED15_OFF_H read/write LED15 output and
brightness control byte 3
... reserved for future use
250 FA 1 1 1 1 1 0 1 0 ALL_LED_ON_L write/read
zero
load all the LEDn_ON
registers, byte 0
251 FB 1 1 1 1 1 0 1 1 ALL_LED_ON_H write/read
zero
load all the LEDn_ON
registers, byte 1
252 FC 1 1 1 1 1 1 0 0 ALL_LED_OFF_L write/read
zero
load all the LEDn_OFF
registers, byte 0
253 FD 1 1 1 1 1 1 0 1 ALL_LED_OFF_H write/read
zero
load all the LEDn_OFF
registers, byte 1
254 FE 1 1 1 1 1 1 1 0 PRE_SCALE
[1]
read/write prescaler for PWM output
frequency
255 FF 11111111TestMode
[2]
read/write defines the test mode to
be entered
... All further addresses are reserved for future use; reserved addresses will not be acknowledged.
Table 4. Register summary
…continued
Register #
(decimal)
Register #
(hex)
D7 D6 D5 D4 D3 D2 D1 D0 Name Type Function
PCA9685 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet Rev. 4 — 16 April 2015 14 of 52
NXP Semiconductors
PCA9685
16-channel, 12-bit PWM Fm+ I
2
C-bus LED controller
7.3.1 Mode register 1, MODE1
[1] When the Auto Increment flag is set, AI = 1, the Control register is automatically incremented after a read or write. This allows the user
to program the registers sequentially.
[2] It takes 500 s max. for the oscillator to be up and running once SLEEP bit has been set to logic 0. Timings on LEDn outputs are not
guaranteed if PWM control registers are accessed within the 500 s window. There is no start-up delay required when using the
EXTCLK pin as the PWM clock.
[3] No PWM control is possible when the oscillator is off.
[4] When the oscillator is off (Sleep mode) the LEDn outputs cannot be turned on, off or dimmed/blinked.
Table 5. MODE1 - Mode register 1 (address 00h) bit description
Legend: * default value.
Bit Symbol Access Value Description
7 RESTART R Shows state of RESTART logic. See Section 7.3.1.1
for detail.
W User writes logic 1 to this bit to clear it to logic 0. A user write of logic 0 will have no
effect. See Section 7.3.1.1
for detail.
0* Restart disabled.
1 Restart enabled.
6 EXTCLK R/W To use the EXTCLK pin, this bit must be set by the following sequence:
1. Set the SLEEP bit in MODE1. This turns off the internal oscillator.
2. Write logic 1s to both the SLEEP and EXTCLK bits in MODE1. The switch is
now made. The external clock can be active during the switch because the
SLEEP bit is set.
This bit is a ‘sticky bit’, that is, it cannot be cleared by writing a logic 0 to it. The
EXTCLK bit can only be cleared by a power cycle or software reset.
EXTCLK range is DC to 50 MHz.
0* Use internal clock.
1 Use EXTCLK pin clock.
5 AI R/W 0* Register Auto-Increment disabled
[1]
.
1 Register Auto-Increment enabled.
4 SLEEP R/W 0 Normal mode
[2]
.
1* Low power mode. Oscillator off
[3][4]
.
3 SUB1 R/W 0* PCA9685 does not respond to I
2
C-bus subaddress 1.
1 PCA9685 responds to I
2
C-bus subaddress 1.
2 SUB2 R/W 0* PCA9685 does not respond to I
2
C-bus subaddress 2.
1 PCA9685 responds to I
2
C-bus subaddress 2.
1 SUB3 R/W 0* PCA9685 does not respond to I
2
C-bus subaddress 3.
1 PCA9685 responds to I
2
C-bus subaddress 3.
0 ALLCALL R/W 0 PCA9685 does not respond to LED All Call I
2
C-bus address.
1* PCA9685 responds to LED All Call I
2
C-bus address.
refresh_rate
EXTCLK
4096 prescale 1+
-------------------------------------------------------
=
PCA9685 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet Rev. 4 — 16 April 2015 15 of 52
NXP Semiconductors
PCA9685
16-channel, 12-bit PWM Fm+ I
2
C-bus LED controller
7.3.1.1 Restart mode
If the PCA9685 is operating and the user decides to put the chip to sleep (setting MODE1
bit 4) without stopping any of the PWM channels, the RESTART bit (MODE1 bit 7) will be
set to logic 1 at the end of the PWM refresh cycle. The contents of each PWM register are
held valid when the clock is off.
To restart all of the previously active PWM channels with a few I
2
C-bus cycles do the
following steps:
1. Read MODE1 register.
2. Check that bit 7 (RESTART) is a logic 1. If it is, clear bit 4 (SLEEP). Allow time for
oscillator to stabilize (500 s).
3. Write logic 1 to bit 7 of MODE1 register. All PWM channels will restart and the
RESTART bit will clear.
Remark: The SLEEP bit must be logic 0 for at least 500 s, before a logic 1 is written into
the RESTART bit.
Other actions that will clear the RESTART bit are:
1. Power cycle.
2. I
2
C Software Reset command.
3. If the MODE2 OCH bit is logic 0, write to any PWM register then issue an I
2
C-bus
STOP.
4. If the MODE2 OCH bit is logic 1, write to all four PWM registers in any PWM channel.
Likewise, if the user does an orderly shutdown
1
of all the PWM channels before setting
the SLEEP bit, the RESTART bit will be cleared. If this is done the contents of all PWM
registers are invalidated and must be reloaded before reuse.
An example of the use of the RESTART bit would be the restoring of a customer’s laptop
LCD backlight intensity coming out of Standby to the level it was before going into
Standby.
1. Two methods can be used to do an orderly shutdown. The fastest is to write a logic 1 to bit 4 in register ALL_LED_OFF_H. The
other method is to write logic 1 to bit 4 in each active PWM channel LEDn_OFF_H register.

PCA9685BS,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
LED Display Drivers 16-CH 12-BIT PWM FM+ I2C-BUS LED CTRL
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union