DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PCA9531PW Ver la hoja de datos (PDF) - Philips Electronics

Número de pieza
componentes Descripción
Fabricante
PCA9531PW
Philips
Philips Electronics Philips
PCA9531PW Datasheet PDF : 20 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
Philips Semiconductors
8-bit I2C LED dimmer
Programming example
The following example will show how to set LED0 to LED3 on. It will
then set LED4 and LED5 to blink at 1 Hz at a 50% duty cycle. LED6
and LED7 will be set to be dimmed at 25% of their maximum
brightness (duty cycle = 25%).
Table 1.
Start
PCA9531 address with A0-A2 = low
PSC0 subaddress + auto-increment
Set prescaler PSC0 to achieve a period of 1 second:
Blink period
+
1
+
PSC0 )
152
1
PSC0 = 151
Set PWM0 duty cycle to 50%:
PWM0
256
+
0.5
PWM0 = 128
Set prescaler PCS1 to dim at max frequency:
Blink period + max
PSC1 = 0
Set PWM1 output duty cycle to 25%:
PWM1
256
+
0.25
PWM1 = 64
Set LED0 to LED3 on
Set LED4 and 5 to PWM0, and LED6 or 7 to PWM1
Stop
I2C-bus
S
C0h
11h
97h
80h
00h
40h
55h
FAh
P
Product data
PCA9531
2003 Nov 10
10

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]