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

9532 データシートの表示(PDF) - NXP Semiconductors.

部品番号
コンポーネント説明
メーカー
9532
NXP
NXP Semiconductors. NXP
9532 Datasheet PDF : 29 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
NXP Semiconductors
PCA9532
16-bit I2C-bus LED dimmer
VDD
3.3 V
5V
VDD
LEDn
LED
100 k
VDD
LED
LEDn
002aac189
002aac190
Fig 15. High value resistor in parallel with Fig 16. Device supplied by a lower voltage
the LED
8.2 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 %). LED8 to LED15 will be set to off.
Table 11. Programming PCA9532
Program sequence
START
PCA9532 address with A0 to A2 = LOW
PSC0 subaddress + Auto-Increment
Set prescaler PSC0 to achieve a period of 1 second:
Blink period = 1 = P-----S---C1---5-0--2---+-----1-
PSC0 = 151
Set PWM0 duty cycle to 50 %:
P-----W2---5--M-6-----0- = 0.5
PWM0 = 128
Set prescaler PCS1 to dim at maximum frequency:
Blink period = max
PSC1 = 0
Set PWM1 output duty cycle to 25 %:
P-----W2---5--M-6-----1- = 0.25
PWM1 = 64
Set LED0 to LED3 on
Set LED4 and LED5 to PWM0, and LED6 or LED7 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
PCA9532_4
Product data sheet
Rev. 04 — 17 March 2009
© NXP B.V. 2009. All rights reserved.
14 of 29

Share Link: 

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