PCA9533_3 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 03 — 27 April 2009 12 of 24
NXP Semiconductors
PCA9533
4-bit I
2
C-bus LED dimmer
8.2 Programming example
The following example will show how to set LED0 and LED1 off. It will set LED2 to blink at
1 Hz at a 50 % duty cycle. LED3 will be set to be dimmed at 25 % of their maximum
brightness (duty cycle = 25 %). PCA9533/01 is used in this example.
9. Limiting values
Table 11. Programming PCA9533
Program sequence I
2
C-bus
START S
PCA9533 address C4h
PSC0 subaddress + Auto-Increment 11h
Set prescaler PSC0 to achieve a period of 1 second:
PSC0 = 151
97h
Set PWM0 duty cycle to 50 %:
PWM0 = 128
80h
Set prescaler PCS1 to dim at maximum frequency:
PSC1 = 0
00h
Set PWM1 output duty cycle to 25 %:
PWM1 = 64
40h
Set LED0 on, LED1 off; LED2 set to blink at PSC0, PWM0; LED3 set to blink at
PSC1, PWM1
E1h
STOP P
Blink period 1
PSC0 1+
152
------------------------
==
PWM0
256
-----------------
0.5=
Blink period max=
PWM1
256
-----------------
0.25=
Table 12. Limiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).
Symbol Parameter Conditions Min Max Unit
V
DD
supply voltage −0.5 +6.0 V
V
I/O
voltage on an input/output pin V
SS
− 0.5 5.5 V
I
O(LEDn)
output current on pin LEDn - 25 mA
I
SS
ground supply current - 100 mA
P
tot
total power dissipation - 400 mW
T
stg
storage temperature −65 +150 °C
T
amb
ambient temperature operating −40 +85 °C