UM10574 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 1 — 1 April 2014 10 of 14
NXP Semiconductors
UM10574
PCA9685 demonstration board OM13332
Fig 6. Device configuration screen for PWM0 to PWM3
Fig 7. Device configuration screen Control registers
UM10574 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 1 — 1 April 2014 11 of 14
NXP Semiconductors
UM10574
PCA9685 demonstration board OM13332
8.2 Dimming and brightness control for all LEDs and Prescale
The following steps to control dimming/brightness for all LEDs and adjust output
frequency with prescale value:
1. Click the ‘Control Registers’ configuration screen for all LED[0:15] brightness control
and Prescale for LEDs output frequency as shown in Figure 7
.
2. In Figure 7
, uncheck the ‘All LED Full Off’ box (lower bottom), adjust both ‘All LED ON’
and ‘All LED OFF’ bar for all LEDs dimming/brightness effect.
3. Adjust the ‘PRESCALE’ bar to program the LED output frequency (PWM) as shown
below:
LED output frequency = (25 MHz or EXTCLK) ÷ (4096 × (prescale + 1))
When Prescale = 0x1E (default is 30), the LED output frequency is
(25 × 10
6
) ÷ (4096 × 31) = 197 Hz
When Prescale = 0x03 (minimum is 3), the LED output frequency is
(25 × 10
6
) ÷ (4096 × 4) = 1526 Hz
When Prescale = 0xFF (maximum is 255), the LED output frequency is
(25 × 10
6
) ÷ (4096 × 256) = 24 Hz
Remark: The PRESCALE register value can only be set/update when the SLEEP bit
in the MODE1 register is set to logic 1 as shown in Figure 8
. Apply external clock input
to EXTCLK pin, user must set the SLEEP bit in MODE1 register, then write logic 1 to both
the SLEEP and EXTCLK bits in MODE1 register to enable the external clock.
Fig 8. PRESCALE to adjust LED output frequency when sleep enabled
UM10574 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 1 — 1 April 2014 12 of 14
NXP Semiconductors
UM10574
PCA9685 demonstration board OM13332
9. Support
For support, send an E-mail to: i2c.support@nxp.com
10. Abbreviations
11. References
[1] PCA9685, 16-channel, 12-bit PWM Fm+ I
2
C-bus 25 mA voltage switch LED
driver — Product data sheet; NXP Semiconductors;
www.nxp.com/documents/data_sheet/PCA9685.pdf
[2] UM10206, “I2C Demonstration Board 2005-1 Quick Start Guide” —
NXP Semiconductors; www.nxp.com/documents/user_manual/UM10206.pdf
Table 2. Abbreviations
Acronym Description
ESD ElectroStatic Discharge
GUI Graphical User Interface
I
2
C-bus Inter-Integrated Circuit bus
IC Integrated Circuit
LED Light-Emitting Diode
PC Personal Computer
PWM Pulse Width Modulator
RAM Random Access Memory
RGB Red/Green/Blue
RGBA Red/Green/Blue/Amber
SMBus System Management Bus
USB Universal Serial Bus

OM13332,598

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
PCA9685 PWM DEMO BOARD
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet