《NXP PCA9685 I2C总线控制LED控制方案》由会员分享,可在线阅读,更多相关《NXP PCA9685 I2C总线控制LED控制方案(7页珍藏版)》请在金锄头文库上搜索。
1、NXP PCA9685 I2C 总线控制 LED 控制方案关键词:电源管理,LED 驱动器,I2C, PWM, LCD, RGBA NXP 公司的 PCA9685 是 16 路 I2C 总线控制 LED 控制器,非常适合 LCD 红/绿 /蓝/琥珀(RGBA)彩色背光应用.每路 LED 输出有它自己的 12 位分辨率(4096 级) 固定频率单独的 PWM 控制器,可编频率从 40Hz 到 1000Hz,占空比可从 0%到 100%间调整,以设定 LED 亮度.LED 输出驱动器可编成漏极开路(5V 是沉电流 25mA)或图腾极(5V 时沉电流 25mA,源电流 10mA),电源电压从 2.3
2、V 到 5.5V.本 文介绍了 PCA9685 主要特性,方框图,开关时间测试电路以及典型应用电路和 LCD 背光应用电路.PCA9685: 16-channel, 12-bit PWM Fm+ I2C-bus LED controllerThe PCA9685 is an I2C-bus controlled 16-channel LED controller optimized for LCD Red/Green/Blue/Amber (RGBA) color backlighting applications. Each LED output has its own 12-bit res
3、olution (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.
4、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 suppl
5、y 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 F
6、ast-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 backlightin
7、g and Ambilight: 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 con
8、trol. 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
9、 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 P
10、WM 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 R
11、eset (POR) default state of LEDn output pins is LOW in the case of PCA9685. It is HIGH for PCA9635.The active LOW Output Enable input pin (OE) allows asynchronous control of the LED outputs and can be used to set all the outputs to a defined I2C-bus programmable logic state. The OE can also be used
12、to externally pulse width modulate the outputs, which is useful when multiple devices need to be dimmed or blinked together using software control.Software programmable LED All Call and three Sub Call I2C-bus addresses allow all or defined groups of PCA9685 devices to respond to a common I2C- bus ad
13、dress, allowing for example, all red LEDs to be turned on or off at the same time or marquee chasing effect, thus minimizing I2C-bus commands. Six hardware address pins allow up to 62 devices on the same bus.The Software Reset (SWRST) General Call allows the master to perform a reset of the PCA9685
14、through the I2C-bus, identical to the Power-On Reset (POR) that initializes the registers to their default state causing the outputs to be set LOW. This allows an easy and quick way to reconfigure all device registers to the same condition via software.PCA9685 主要特性:16 LED drivers. Each output progra
15、mmable at: OffOnProgrammable LED brightnessProgrammable LED turn-on time to help reduce EMI1 MHz Fast-mode Plus compatible I2C-bus interface with 30 mA high drive capability on SDA output for driving high capacitive buses4096-step (12-bit) linear programmable brightness per LED output varying from f
16、ully off (default) to maximum brightnessLED output frequency (all LEDs) typically varies from 40 Hz to 1000 Hz (Default of 1Eh in PRE_SCALE register results in a 200 Hz refresh rate with oscillator clock of 25 MHz.)Sixteen totem pole outputs (sink 25 mA and source 10 mA at 5 V) with software programmable open-drain LED outputs selection (default at totem pole). No input function.Output state change programmable on the Acknowledge or the ST