PCA9531_6 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 06 — 19 February 2009 7 of 27
NXP Semiconductors
PCA9531
8-bit I
2
C-bus LED dimmer
6.3.2 PCS0 - Frequency Prescaler 0
PSC0 is used to program the period of the PWM output.
The period of BLINK0 = (PSC0 + 1) / 152.
6.3.3 PWM0 - Pulse Width Modulation 0
The PWM0 register determines the duty cycle of BLINK0. The outputs are LOW (LED on)
when the count is less than the value in PWM0 and HIGH (LED off) when it is greater. If
PWM0 is programmed with 00h, then the PWM0 output is always HIGH (LED off).
The duty cycle of BLINK0 = PWM0 / 256.
6.3.4 PCS1 - Frequency Prescaler 1
PSC1 is used to program the period of the PWM output.
The period of BLINK1 = (PSC1 + 1) / 152.
6.3.5 PWM1 - Pulse Width Modulation 1
The PWM1 register determines the duty cycle of BLINK1. The outputs are LOW (LED on)
when the count is less than the value in PWM1 and HIGH (LED off) when it is greater. If
PWM1 is programmed with 00h, then the PWM1 output is always HIGH (LED off).
The duty cycle of BLINK1 = PWM1 / 256.
Table 5. PSC0 - Frequency Prescaler 0 register description
Bit 7 6 5 4 3 2 1 0
Symbol PSC0[7] PSC0[6] PSC0[5] PSC0[4] PSC0[3] PSC0[2] PSC0[1] PSC0[0]
Default 11111111
Table 6. PWM0 - Pulse Width Modulation 0 register description
Bit 7 6 5 4 3 2 1 0
Symbol PWM0
[7]
PWM0
[6]
PWM0
[5]
PWM0
[4]
PWM0
[3]
PWM0
[2]
PWM0
[1]
PWM0
[0]
Default 10000000
Table 7. PSC1 - Frequency Prescaler 1 register description
Bit 7 6 5 4 3 2 1 0
Symbol PSC1[7] PSC1[6] PSC1[5] PSC1[4] PSC1[3] PSC1[2] PSC1[1] PSC1[0]
Default 00000000
Table 8. PWM1 - Pulse Width Modulation 1 register description
Bit 7 6 5 4 3 2 1 0
Symbol PWM1
[7]
PWM1
[6]
PWM1
[5]
PWM1
[4]
PWM1
[3]
PWM1
[2]
PWM1
[1]
PWM1
[0]
Default 10000000
PCA9531_6 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 06 — 19 February 2009 8 of 27
NXP Semiconductors
PCA9531
8-bit I
2
C-bus LED dimmer
6.3.6 LS0 to LS1 - LED selector registers
The LSn LED select registers determine the source of the LED data.
00 = output is set high-impedance (LED off; default)
01 = output is set LOW (LED on)
10 = output blinks at PWM0 rate
11 = output blinks at PWM1 rate
6.4 Pins used as GPIOs
LED pins not used to control LEDs can be used as General Purpose I/Os (GPIOs).
For use as input, set LEDn to high-impedance (00) and then read the pin state via the
Input register.
For use as output, connect external pull-up resistor to the pin and size it according to the
DC recommended operating characteristics. LEDn output pin is HIGH when the output is
programmed as high-impedance, and LOW when the output is programmed LOW through
the ‘LED selector’ register. The output can be pulse-width controlled when PWM0 or
PWM1 are used.
6.5 Power-on reset
When power is applied to V
DD
, an internal Power-On Reset (POR) holds the PCA9531 in
a reset condition until V
DD
has reached V
POR
. At that point, the reset condition is released
and the PCA9531 registers are initialized to their default states, all the outputs in the
OFF state. Thereafter, V
DD
must be lowered below 0.2 V to reset the device.
6.6 External RESET
A reset can be accomplished by holding the RESET pin LOW for a minimum of t
w(rst)
. The
PCA9531 registers and I
2
C-bus state machine will be held in their default states until the
RESET input is once again HIGH.
This input requires a pull-up resistor to V
DD
if no active connection is used.
Table 9. LS0 to LS1 - LED selector registers bit description
Legend: * default value.
Register Bit Value Description
LS0 - LED0 to LED3 selector
LS0 7:6 00* LED3 selected
5:4 00* LED2 selected
3:2 00* LED1 selected
1:0 00* LED0 selected
LS1 - LED4 to LED7 selector
LS1 7:6 00* LED7 selected
5:4 00* LED6 selected
3:2 00* LED5 selected
1:0 00* LED4 selected
PCA9531_6 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 06 — 19 February 2009 9 of 27
NXP Semiconductors
PCA9531
8-bit I
2
C-bus LED dimmer
7. Characteristics of the I
2
C-bus
The I
2
C-bus is for 2-way, 2-line communication between different ICs or modules. The two
lines are a serial data line (SDA) and a serial clock line (SCL). Both lines must be
connected to a positive supply via a pull-up resistor when connected to the output stages
of a device. Data transfer may be initiated only when the bus is not busy.
7.1 Bit transfer
One data bit is transferred during each clock pulse. The data on the SDA line must remain
stable during the HIGH period of the clock pulse as changes in the data line at this time
will be interpreted as control signals (see Figure 7).
7.1.1 START and STOP conditions
Both data and clock lines remain HIGH when the bus is not busy. A HIGH-to-LOW
transition of the data line while the clock is HIGH is defined as the START condition (S). A
LOW-to-HIGH transition of the data line while the clock is HIGH is defined as the STOP
condition (P) (see Figure 8).
7.2 System configuration
A device generating a message is a ‘transmitter’; a device receiving is the ‘receiver’. The
device that controls the message is the ‘master’ and the devices which are controlled by
the master are the ‘slaves’ (see Figure 9).
Fig 7. Bit transfer
mba607
data line
stable;
data valid
change
of data
allowed
SDA
SCL
Fig 8. Definition of START and STOP conditions
mba608
SDA
SCL
P
STOP condition
S
START condition

PCA9531PW,112

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
LED Lighting Drivers 8-BIT I2C FM OD LED
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union