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

PCA9552 View Datasheet(PDF) - Philips Electronics

Part Name
Description
Manufacturer
PCA9552 Datasheet PDF : 21 Pages
First Prev 11 12 13 14 15 16 17 18 19 20
Philips Semiconductors
16-bit I2C LED driver with programmable blink rates
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 blink at 4 Hz and at a 25% duty cycle. LED8
to LED15 will be set to off.
Table 1.
Start
PCA9552 address with A0–A2 = low
PSC0 subaddress + auto-increment
Set prescaler PSC0 to achieve a period of 1 second:
Blink
period
+
1
+
PSC0 )
44
1
PSC0 = 43
Set PWM0 duty cycle to 50%:
256
– PWM0
256
+
0.5
PWM0 = 128
Set prescaler PCS1 to achieve a period of 0.25
seconds:
Blink
period
+
0.25
+
PSC1 )
44
1
PSC1 = 10
Set PWM1 output duty cycle to 25%:
256
– PWM1
256
+
0.25
PWM1 = 192
Set LED0 to LED3 on
Set LED4 and 5 to PWM0, and LED6 or 7 to PWM1
Set LED8 to LED11 off
Set LED12 to LED15 off
Stop
I2C-bus
S
C0h
12h
2Bh
80h
0Ah
C0h
00h
FAh
55h
55h
P
Product data sheet
PCA9552
2004 Oct 01
11

Share Link: 

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