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

9532 查看數據表(PDF) - Philips Electronics

零件编号
产品描述 (功能)
生产厂家
9532
Philips
Philips Electronics Philips
9532 Datasheet PDF : 20 Pages
First Prev 11 12 13 14 15 16 17 18 19 20
Philips Semiconductors
16-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 brightness (duty
cycle = 25%). LED8 to LED15 will be set to off.
Table 1.
Start
PCA9532 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 maximum frequency
Blink period + maximum
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
Set LED8 to LED11 off
Set LED12 to LED15 off
Stop
I2C-bus
S
C0h
12h
97h
80h
00h
40h
55h
FAh
00h
00h
P
Product data
PCA9532
2003 May 02
11

Share Link: 

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