pca9685 NXP Semiconductors, pca9685 Datasheet

no-image

pca9685

Manufacturer Part Number
pca9685
Description
16-channel, 12-bit Pwm Fm+ I 2c-bus Led Controller
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pca9685BS,118
Manufacturer:
MITSUBISHI
Quantity:
101
Part Number:
pca9685PW
Manufacturer:
SCHAFFNER
Quantity:
112
Part Number:
pca9685PW
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
pca9685PW
0
Part Number:
pca9685PW,118
Manufacturer:
AMP
Quantity:
22 616
1. General description
The PCA9685 is an I
Red/Green/Blue/Amber (RGBA) color backlighting applications. Each LED output has its
own 12-bit resolution (4096 steps) fixed frequency individual PWM controller that operates
at a programmable frequency from a typical of 40 Hz to 1000 Hz with a duty cycle that is
adjustable from 0 % to 100 % to allow the LED to be set to a specific brightness value.
All outputs are set to the same PWM frequency.
Each LED output can be off or on (no PWM control), or set at its individual PWM controller
value. The LED output driver is programmed to be either open-drain with a 25 mA current
sink capability at 5 V or totem pole with a 25 mA sink, 10 mA source capability at 5 V. The
PCA9685 operates with a supply voltage range of 2.3 V to 5.5 V and the inputs and
outputs are 5.5 V tolerant. LEDs can be directly connected to the LED output (up to
25 mA, 5.5 V) or controlled with external drivers and a minimum amount of discrete
components for larger current or higher voltage LEDs.
The PCA9685 is in the new Fast-mode Plus (Fm+) family. Fm+ devices offer higher
frequency (up to 1 MHz) and more densely populated bus operation (up to 4000 pF).
Although the PCA9635 and PCA9685 have many similar features, the PCA9685 has
some unique features that make it more suitable for applications such as LCD backlighting
and Ambilight:
PCA9685
16-channel, 12-bit PWM Fm+ I
Rev. 01 — 24 July 2008
The PCA9685 allows staggered LED output on and off times to minimize current
surges. The on and off time delay is independently programmable for each of the
16 channels. This feature is not available in PCA9635.
The PCA9685 has 4096 steps (12-bit PWM) of individual LED brightness control. The
PCA9635 has only 256 steps (8-bit PWM).
When multiple LED controllers are incorporated in a system, the PWM pulse widths
between multiple devices may differ if PCA9635s are used. The PCA9685 has a
programmable prescaler to adjust the PWM pulse widths of multiple devices.
The PCA9685 has an external clock input pin that will accept user-supplied clock
(50 MHz max.) in place of the internal 25 MHz oscillator. This feature allows
synchronization of multiple devices. The PCA9635 does not have external clock input
feature.
Like the PCA9635, PCA9685 also has a built-in oscillator for the PWM control.
However, the frequency used for PWM control in the PCA9685 is adjustable from
about 40 Hz to 1000 Hz as compared to the typical 97.6 kHz frequency of the
PCA9635. This allows the use of PCA9685 with external power supply controllers. All
bits are set at the same frequency.
The Power-On Reset (POR) default state of LEDn output pins is LOW in the case of
PCA9685. It is HIGH for PCA9635.
2
C-bus controlled 16-channel LED controller optimized for LCD
2
C-bus LED controller
Product data sheet

Related parts for pca9685

pca9685 Summary of contents

Page 1

... The LED output driver is programmed to be either open-drain with current sink capability totem pole with sink source capability The PCA9685 operates with a supply voltage range of 2 5.5 V and the inputs and outputs are 5.5 V tolerant. LEDs can be directly connected to the LED output ( mA, 5 ...

Page 2

... I 4 software programmable I Sub Call addresses) allow groups of devices to be addressed at the same time in any combination (for example, one register used for ‘All Call’ so that all the PCA9685s on the I different addresses so that time in a group). Software enable and disable for these I ...

Page 3

... Keypad backlights for cellular phones or handheld devices 4. Ordering information Table 1. Ordering information Type number Topside mark PCA9685PW PCA9685PW PCA9685BS PCA9685BS PCA9685_1 Product data sheet 16-channel, 12-bit PWM Fm+ I Package Name Description TSSOP28 plastic thin shrink small outline package; 28 leads; body width 4.4 mm HVQFN28 plastic thermal enhanced very thin quad fl ...

Page 4

... INPUT FILTER SDA POWER- RESET V SS PRESCALE 25 MHz OSCILLATOR SWITCH EXTCLK OE Remark: Only one LED output shown for clarity. Fig 1. Block diagram of PCA9685 PCA9685_1 Product data sheet 16-channel, 12-bit PWM Fm C-BUS CONTROL PWM REGISTER X BRIGHTNESS CONTROL CLOCK Rev. 01 — ...

Page 5

... Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller terminal 1 index area LED0 3 PCA9685BS LED1 4 5 LED2 LED3 6 LED4 7 Transparent top view Fig 3. Pin configuration for HVQFN28 Description address input 0 address input 1 address input 2 address input 3 address input 4 ...

Page 6

... I date closed system where the designer controls the address assignment these addresses can be used since the PCA9685 treats them like any other address. The LED All Call, Software Reset and PCA9564 or PCA9665 slave address (if on the bus) can never be used for individual device addresses. • ...

Page 7

... C-bus slave address since this address is enabled at power-up. All the 2 C-bus will acknowledge the address if sent by the I 2 C-bus addresses 2 C-bus addresses can be used 2 C-bus (volatile programming) 2 C-bus addresses are disabled. PCA9685 does not send an 2 C-bus addresses may be used as regular I Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller ...

Page 8

... NXP Semiconductors 7.1.4 Software Reset I The address shown in performed by the master. The Software Reset address (SWRST Call) must be used with R/W = logic 0. If R/W = logic 1, the PCA9685 does not acknowledge the SWRST. See Section 7.6 “Software reset” Fig 5. Remark: The Software Reset regular I 7 ...

Page 9

... LED3_ON_H LED3_OFF_L LED3_OFF_H Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Type Function read/write Mode register 1 read/write Mode register 2 2 read/write I C-bus sub-address 1 2 read/write I C-bus sub-address 2 2 read/write I C-bus sub-address 3 2 read/write ...

Page 10

... LED8_OFF_L LED8_OFF_H Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Type Function read/write LED4 output and brightness control byte 0 read/write LED4 output and brightness control byte 1 read/write LED4 output and brightness control byte 2 read/write LED4 output and ...

Page 11

... LED13_OFF_L LED13_OFF_H Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Type Function read/write LED9 output and brightness control byte 0 read/write LED9 output and brightness control byte 1 read/write LED9 output and brightness control byte 2 read/write LED9 output and ...

Page 12

... PRE_SCALE TestMode Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Type Function read/write LED14 output and brightness control byte 0 read/write LED14 output and brightness control byte 1 read/write LED14 output and brightness control byte 2 read/write LED14 output and ...

Page 13

... PCA9685 responds to I C-bus subaddress 2. 2 PCA9685 does not respond to I C-bus subaddress 3. 2 PCA9685 responds to I C-bus subaddress 3. PCA9685 does not respond to LED All Call I PCA9685 responds to LED All Call I Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Section 7.3.1.1 for detail. ...

Page 14

... NXP Semiconductors 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 ...

Page 15

... 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. [2] 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 more registers can be written, in any order, before STOP. [3] Update on ACK requires all 4 PWM channel registers to be loaded before outputs will change on the last ACK ...

Page 16

... Fig 8. LED output, example 2 PCA9685_1 Product data sheet 16-channel, 12-bit PWM Fm+ I 100 %) 4095 0 819 1228 11. 4095 0 3686 3275 Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller 1 = 1228) 4095 0 4095 0 819 1228 1 = 3685 = E65h. Figure 4096 = 3275) 4095 0 4095 0 3686 3686 ...

Page 17

... Example 4: LEDn_ON[12 LEDn_OFF[12 LEDn_ON[11:0] = LEDn_OFF[11:0] Fig 9. Output example PCA9685_1 Product data sheet 16-channel, 12-bit PWM Fm+ I 4095 0 511 3071 2047 767 Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller 4095 0 511 3071 2047 767 © NXP B.V. 2008. All rights reserved. 4095 0 3071 002aad193 ...

Page 18

... PWM Fm+ I 4095 0 output(s) updated in this cycle 511 3071 1023 767 3071 1023 3071 off 3071 Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller 4095 0 511 1023 767 1023 3071 1023 © NXP B.V. 2008. All rights reserved. 4095 0 002aad194 ...

Page 19

STOP 0 4095 0 register(s) updated in this cycle example 1 LEDn_ON 3071 LEDn_OFF example 2 LEDn_ON 3071 LEDn_OFF example 3 LEDn_ON 3071 LEDn_OFF on example 4 off LEDn_ON LEDn_OFF Example 1: LEDn_ON unchanged and LEDn_OFF decreased, but delay still ...

Page 20

... R LED3_OFF_H[4] R/W LED3_OFF_H[3:0] R/W LED4_ON_L[7:0] R/W reserved R LED4_ON_H[4] R/W LED4_ON_H[3:0] R/W Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Value Description LEDn_ON count for LED0, 8 LSBs 0000 0000* non-writable 000* LED0 full ON 0* LEDn_ON count for LED0, 4 MSBs 0000* LEDn_OFF count for LED0, 8 LSBs 0000 0000* ...

Page 21

... R LED8_ON_H[4] R/W LED8_ON_H[3:0] R/W LED8_OFF_L[7:0] R/W reserved R LED8_OFF_H[4] R/W LED8_OFF_H[3:0] R/W Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller …continued Value Description LEDn_OFF count for LED4, 8 LSBs 0000 0000* non-writable 000* LED4 full OFF 1* LEDn_OFF count for LED4, 4 MSBs 0000* LEDn_ON count for LED5, 8 LSBs ...

Page 22

... R LED12_OFF_H[4] R/W LED12_OFF_H[3:0] R/W LED13_ON_L[7:0] R/W reserved R LED13_ON_H[4] R/W LED13_ON_H[3:0] R/W Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller …continued Value Description LEDn_ON count for LED9, 8 LSBs 0000 0000* non-writable 000* LED9 full ON 0* LEDn_ON count for LED9, 4 MSBs 0000* LEDn_OFF count for LED9, 8 LSBs ...

Page 23

... R LED15_ON_H[4] R/W LED15_ON_H[3:0] R/W LED15_OFF_L[7:0] R/W reserved R LED15_OFF_H[4] R/W LED15_OFF_H[3:0] R/W Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller …continued Value Description LEDn_OFF count for LED13, 8 LSBs 0000 0000* non-writable 000* LED13 full OFF 1* LEDn_OFF count for LED13, 4 MSBs 0000* LEDn_ON count for LED14, 8 LSBs ...

Page 24

... W only R/W osc_clock = round -------------------------------------------------- 4096 update_rate 25 MHz = round -------------------------- - – 4096 200 Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller 2 C-bus write sequences Description LEDn_ON count for ALL_LED, 8 MSBs 0000 0000* non-writable 000* ALL_LED full ON 1* LEDn_ON count for ALL_LED, 4 MSBs 0000* LEDn_OFF count for ALL_LED, ...

Page 25

... C-bus read or write sequence. 2 C-bus address 2 ALLCALLADR - LED All Call I description Register Bit Symbol ALLCALLADR 7:1 AC[7:1] 0 AC[0] 2 C-bus address allows all the PCA9685s in the bus to be programmed Rev. 01 — 24 July 2008 2 C-bus LED controller Access Value Description 2 R/W I C-bus subaddress 1 1110 001* R only reserved 0* 2 ...

Page 26

... The OE pin can be used as a synchronization signal to switch on/off several PCA9685 devices at the same time. This requires an external clock reference that provides blinking period and the duty cycle. The OE pin can also be used as an external dimming control signal. The frequency of the external clock must be high enough not to be seen by the human eye, and the duty cycle value determines the brightness of the LEDs ...

Page 27

... Once the General Call address has been sent and acknowledged, the master sends 1 byte with 1 specific value (SWRST data byte 1): a. Byte 1 = 06h: the PCA9685 acknowledges this value only. If byte 1 is not equal to 06h, the PCA9685 does not acknowledge it. ...

Page 28

... NXP Semiconductors 7.7 Using the PCA9685 with and without external drivers The PCA9685 LED output drivers are 5.5 V only tolerant and can sink the device needs to drive LEDs to a higher voltage and/or higher current, use of an external driver is required. ...

Page 29

... PWM Fm C-bus Figure SDA SCL data line stable; data valid Figure 17). S START condition Figure 18). Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller 16). change of data allowed mba607 P STOP condition © NXP B.V. 2008. All rights reserved. SDA SCL mba608 ...

Page 30

... SLAVE TRANSMITTER/ RECEIVER TRANSMITTER RECEIVER data output by transmitter data output by receiver SCL from master 1 S START condition 2 C-bus Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller MASTER MASTER TRANSMITTER/ MULTIPLEXER RECEIVER SLAVE not acknowledge acknowledge 2 8 clock pulse for acknowledgement 2 I C-BUS ...

Page 31

... Rev. 01 — 24 July 2008 2 C-bus LED controller (1) data for register D[7:0] A acknowledge acknowledge from slave from slave condition 002aac829 MODE1 register MODE2 register bit set acknowledge from slave PCA9685 A P STOP (cont.) A acknowledge from slave 002aad187 © NXP B.V. 2008. All rights reserved ...

Page 32

... ALL_LED_OFF_H register R/W acknowledge acknowledge from slave from slave Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller MODE1 register (cont bit set acknowledge from slave data from MODE2 A A acknowledge from master ...

Page 33

... ALL_LED_ON_H control register (1) In this example, several PCA9685s are used and the same sequences (A) and (B) above are sent to each of them. (2) Acknowledge from all the slave devices configured for the new LED All Call I 2 Fig 25. LED All Call I C-bus address programming and LED All Call sequence example ...

Page 34

... LED10 LED11 EXTCLK LED12 A4 LED13 A5 LED14 LED15 V SS 002aac827 Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller C-bus specification and user manual” . © NXP B.V. 2008. All rights reserved ...

Page 35

... GND through the Zener and this is causing the IC to overheat. PCA9685_1 Product data sheet 16-channel, 12-bit PWM Fm 3 Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller = 50 pF 500 ). L PU © NXP B.V. 2008. All rights reserved. ...

Page 36

... Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller FB CONSTANT V CURRENT IN OUT SWITCH MODE REGULATOR LIGHT SENSOR V DD SDA LED0 SCL LED1 LED2 OE LED3 PCA9685 LED4 LED5 LED6 LED7 EXTCLK LED8 LED9 LED10 LED11 LED12 A4 LED13 A5 LED14 LED15 V SS 002aac828 2 C-bus specifi ...

Page 37

... operating 40 Min Typ 2 2 [1] - 1.70 0 1.6 - 2 PCA9685 Max Unit +6 400 mA 400 mW +150 C +85 C Max Unit 5 15.5 A 2.0 V +0. 5 400 © NXP B.V. 2008. All rights reserved. ...

Page 38

... Conditions 002aad877 I OL (mA) 50 100 amb Fig 29 stb ( 5 3 Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Min Typ 0 3 typical drive (LEDn outputs) versus OL ...

Page 39

Table 14. Dynamic characteristics Symbol Parameter Conditions f SCL clock frequency SCL f frequency on pin EXTCLK EXTCLK t bus free time between a STOP BUF and START condition t hold time (repeated) START HD;STA condition t set-up time for ...

Page 40

Table 14. Dynamic characteristics …continued Symbol Parameter Conditions t OFF-state to HIGH propagation OE to LEDn; PZH delay OUTNE[1: MODE2 register t LOW-to-HIGH propagation delay OE to LEDn; PLH OUTNE[1: MODE2 register ...

Page 41

... OFF-to-LOW PHZ V OH LEDn output HIGH-to-OFF OFF-to-HIGH V SS outputs enabled , t and times PLZ PZL PHZ PZH Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller t t HD;STA SU;STA SU;STO Sr bit 1 bit 0 acknowledge (D1) (D0) ( VD;DAT VD;ACK HD ...

Page 42

... Termination resistance should be equal to the output impedance Z T Test data are given in Table 15. Test data for enable/disable switching times Load Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller V DD open 500 V O DUT ...

Page 43

... MO-153 Rev. 01 — 24 July 2008 2 C-bus LED controller detail 6.6 0.75 0.4 1 0.2 0.13 6.2 0.50 0.3 EUROPEAN PROJECTION PCA9685 SOT361 ( 0.8 8 0.1 o 0.5 0 ISSUE DATE 99-12-27 03-02-19 © NXP B.V. 2008. All rights reserved ...

Page 44

... 6.1 4.25 6.1 4.25 0.65 3.9 3.9 5.9 3.95 5.9 3.95 REFERENCES JEDEC JEITA MO-220 - - - Rev. 01 — 24 July 2008 2 C-bus LED controller detail 0.75 0.05 0.1 0.1 0.05 0.50 EUROPEAN PROJECTION PCA9685 SOT788 ISSUE DATE 02-10-22 © NXP B.V. 2008. All rights reserved ...

Page 45

... Package placement • Inspection and repair • Lead-free soldering versus SnPb soldering 17.3 Wave soldering Key characteristics in wave soldering are: PCA9685_1 Product data sheet 16-channel, 12-bit PWM Fm+ I Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller © NXP B.V. 2008. All rights reserved ...

Page 46

... Lead-free process (from J-STD-020C) Package reflow temperature ( C) 3 Volume (mm ) < 350 260 260 250 Figure 38. Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Figure 38) than a SnPb process, thus 350 220 220 350 to 2000 > 2000 260 260 250 245 245 245 © ...

Page 47

... Most Significant Bit Negative-channel Metal-Oxide Semiconductor Printed-Circuit Board Positive-channel Metal-Oxide Semiconductor Power-On Reset Pulse Width Modulation; Pulse Width Modulator Red/Green/Blue Red/Green/Blue/Amber System Management Bus Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller peak temperature time 001aac844 © NXP B.V. 2008. All rights reserved ...

Page 48

... Revision history Table 19. Revision history Document ID Release date PCA9685_1 20080724 PCA9685_1 Product data sheet 16-channel, 12-bit PWM Fm+ I Data sheet status Change notice Product data sheet - Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller Supersedes - © NXP B.V. 2008. All rights reserved ...

Page 49

... Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners C-bus — logo is a trademark of NXP B.V. http://www.nxp.com salesaddresses@nxp.com Rev. 01 — 24 July 2008 PCA9685 2 C-bus LED controller © NXP B.V. 2008. All rights reserved ...

Page 50

... PWM frequency PRE_SCALE . . . . . . . . . . . . 24 7.3.6 SUBADR1 to SUBADR3, I subaddress 7.3.7 ALLCALLADR, LED All Call I address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.4 Active LOW output enable input . . . . . . . . . . . 26 7.5 Power-on reset . . . . . . . . . . . . . . . . . . . . . . . . 26 7.6 Software reset 7.7 Using the PCA9685 with and without external drivers . . . . . . . . . . . . . . . . . . . . . . . . Characteristics of the I 8.1 Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 8.1.1 START and STOP conditions . . . . . . . . . . . . . 29 8.2 System configuration . . . . . . . . . . . . . . . . . . . 29 8.3 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 30 9 Bus transactions ...

Related keywords