NXP Semiconductors
PCA9685
16-channel, 12-bit PWM Fm+ I 2 C-bus LED controller
7.3.4 ALL_LED_ON and ALL_LED_OFF control
The ALL_LED_ON and ALL_LED_OFF registers allow just four I 2 C-bus write sequences
to fill all the ON and OFF registers with the same patterns.
Table 7. ALL_LED_ON and ALL_LED_OFF control registers (address FAh to FEh) bit description
Legend: * default value.
Address Register
Bit Symbol
Access Value
Description
FAh
ALL_LED_ON_L
7:0 ALL_LED_ON_L[7:0]
W only
0000 0000* LEDn_ON count for ALL_LED, 8 MSBs
FBh
ALL_LED_ON_H
7:5 reserved
4
ALL_LED_ON_H[4]
R
W only
000*
1*
non-writable
ALL_LED full ON
3:0 ALL_LED_ON_H[3:0]
W only
0000* LEDn_ON count for ALL_LED, 4 MSBs
FCh
ALL_LED_OFF_L
7:0 ALL_LED_OFF_L[7:0] W only
0000 0000* LEDn_OFF count for ALL_LED,
8 MSBs
FDh
ALL_LED_OFF_H 7:5 reserved
R
000*
non-writable
4
ALL_LED_OFF_H[4]
W only
1*
ALL_LED full OFF
3:0 ALL_LED_OFF_H[3:0] W only
0000* LEDn_OFF count for ALL_LED,
4 MSBs
FEh
PRE_SCALE
7:0 PRE_SCALE[7:0]
R/W
0001 1110* prescaler to program the output
frequency
The LEDn_ON and LEDn_OFF counts can vary from 0 to 4095. The LEDn_ON and
LEDn_OFF count registers should never be programmed with the same values.
Because the loading of the LEDn_ON and LEDn_OFF registers is via the I 2 C-bus, and
asynchronous to the internal oscillator, we want to ensure that we do not see any visual
artifacts of changing the ON and OFF values. This is achieved by updating the changes at
the end of the LOW cycle.
7.3.5 PWM frequency PRE_SCALE
The hardware forces a minimum value that can be loaded into the PRE_SCALE register
at ‘3’. The PRE_SCALE register defines the frequency at which the outputs modulate. The
prescale value is determined with the formula shown in Equation 1 :
prescale value = round ? ? ? ? – 1
--------------------------------------------------
osc _ clock
4096 × update _ rate
(1)
where the update rate is the output modulation frequency required. For example, for an
output frequency of 200 Hz with an oscillator clock frequency of 25 MHz:
prescale value = round ? --------------------------- ? – 1 = 30
25 MHz
? 4096 × 200 ?
(2)
The PRE_SCALE register can only be set when the SLEEP bit of MODE1 register is set to
logic 1.
PCA9685
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 2 September 2010
? NXP B.V. 2010. All rights reserved.
24 of 51
相关PDF资料
PCA9922PW,118 IC LED DRIVER LINEAR 16-TSSOP
PCA9955TW,118 IC LED DRVR CONST CURR
PCF85102C-2P/03,11 IC EEPROM 2KBIT 100KHZ 8DIP
PCF85103C-2T/00,11 IC EEPROM 2KBIT 100KHZ 8SOIC
PCF8570T/F5,512 IC SRAM 2KBIT 100KHZ 8SOIC
PCF8582C-2T/03,118 IC EEPROM 2KBIT 100KHZ 8SOIC
PCF8594C-2T/02,118 IC EEPROM 4KBIT 100KHZ 8SOIC
PCF8598C-2P/02,112 IC EEPROM 8KBIT 100KHZ 8DIP
相关代理商/技术参数
PCA9685PW/Q900,118 功能描述:LED显示驱动器 LED Driver 2.3V-5.5V 6mA RoHS:否 制造商:Micrel 数位数量:5 片段数量: 安装风格:SMD/SMT 封装 / 箱体:PLCC-44 工作电源电压:4.75 V to 11 V 最大电源电流:10 mA 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装:Tube
PCA9691BS/1 制造商:NXP Semiconductors 功能描述:IC ADC/DAC 8-BIT I2C 16-HVQFN 制造商:NXP Semiconductors 功能描述:IC, ADC/DAC, 8-BIT, I2C, 16-HVQFN
PCA9691BS/1,118 功能描述:I2C 接口集成电路 ADC/DAC 16-Pin HVQFN EP RoHS:否 制造商:NXP Semiconductors 电源电压-最大:5.5 V 电源电压-最小:2.3 V 最大工作频率:400 KHz 最大工作温度:+ 85 C 封装 / 箱体:TSSOP-16
PCA9691BS/1118 制造商:NXP Semiconductors 功能描述:PCA9691BS/HVQFN16/REEL13//1
PCA9691T/1,112 制造商:NXP Semiconductors 功能描述:
PCA9691T/1,118 制造商:NXP Semiconductors 功能描述:
PCA9691T/1,512 功能描述:I2C 接口集成电路 8b A/D AND D/A COVERTER RoHS:否 制造商:NXP Semiconductors 电源电压-最大:5.5 V 电源电压-最小:2.3 V 最大工作频率:400 KHz 最大工作温度:+ 85 C 封装 / 箱体:TSSOP-16
PCA9691T/1,518 功能描述:模数转换器 - ADC 8-bit A/D and D/A converter RoHS:否 制造商:Texas Instruments 通道数量:2 结构:Sigma-Delta 转换速率:125 SPs to 8 KSPs 分辨率:24 bit 输入类型:Differential 信噪比:107 dB 接口类型:SPI 工作电源电压:1.7 V to 3.6 V, 2.7 V to 5.25 V 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:VQFN-32