UM10709 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2017. All rights reserved.
User manual Rev. 2 — 11 August 2017 13 of 18
NXP Semiconductors
UM10709
PCA9956B demonstration board OM13321
connected to the USB port and the computer recognizes it, the message ‘Hardware
Detected’ is displayed on the bottom of the window.
Switched 3.3 V and 5.0 V power supplies are controlled through the ‘Options’ menu or by
double-clicking on the 3.3 V or 5.0 V symbols on the bottom of the window. Power
supplies are disabled by default and you must enable them before using the I
2
C-bus
devices on the board. I
2
C-bus frequency is controlled through the ‘Options’ menu or by
double-clicking on the frequency symbol on the bottom of the window.
8.1 PCA9956B blinking demo for all RGB LEDs
1. From the ‘Device’ drop-down menus select ‘Universal Modes’, and from the
subsequent drop-down menu select ‘Expert Mode’ as shown in Figure 6
.
2. Copy the ‘PCA9956B RGB LED blinking demo i2c address = 0xF Ah’ text file as shown
below. From the ‘File’ drop-down menus select ‘Open’, and from the ‘open data file’
window select the ‘PCA9956B RGB LED blinking demo i2c address = 0xFAh’ text file.
Expert Mode Data File
00,Write,Yes,5,06,Comments: SW reset (00h + 06h) and wait 5 ms
FA,Write,Yes,0,40,3F,Comments: write IREFALL = 0x3Fh = 225ua x 63 = 14 ma per
channel if Rext = 1k
FA,Write,Yes,800,82,41,10,04,41,10,04,Comment s: set LDRx=01 in LEDOUT register for
all red LEDs on for 800 ms
FA,Write,Yes,800,82,04,41,10,04,41,10,Comment s: set LDRx=01 in LEDOUT register for
all green LEDs on for 800 ms
FA,Write,Yes,800,82,10,04,41,10,04,41,Comment s: set LDRx=01 in LEDOUT register for
all blue LEDs on for 800 ms
FA,Write,Yes,0,81,25,FF,FF,FF,FF,FF,FF,Comments: Set DMBLNK=1 in MODE2 register
for blinking and LDRx=11 for group blinking controlled by GRPPWM, GRPFREQ
FA,Write,Yes,0,3F,C0,Comments: write PWMALL = 0xC0h to set the PWMALL at 75% duty
cycles for all LEDs
FA,Write,Yes,2000,88,40,00,Comments: write GRPPWM=0x40h for duty cycle (ON/OFF
ratio in 25%) and GRPFREQ= 0x00h (66mS for blinking period) wait for 2 s
FA,Write,Yes,2000,88,80,03,Comments: write GRPPWM=0x80h for duty cycle (ON/OFF
ratio in 50%) and GRPFREQ= 0x03h (0.26 s for blinking period) wait for 2 s
FA,Write,Yes,2000,88,C0,06,Comments: write GRPPWM=0xC0h for duty cycle (ON/OFF
ratio in 75%) and GRPFREQ= 0x06h (0.46 s for blinking period) wait for 2 s
FA,Write,Yes,3000,88,F0,09,Comments: write GRPPWM= 0xF0h for duty cycle (ON/OFF
ratio in 94%) and GRPFREQ=0x09h (0.65 s for blinking period) wait for 3 s
FA,Write,Yes,0,81,Comments: set control register start 01h to read MODE2 register
FA,Read,Yes,0,25,Comments: read MODE2 register, check the OVERTEMP (bit7=0) and
ERROR (bit6=0)
FA,Write,Yes,0,40,00,Comments: write IREFALL = 00h to turn off all LEDs
Sequence:01,02,03,04,05,06,06,07,08,09,10,11,12,13,14
3. After opening the ‘PCA9956B RGB LED blinking demo i2c address = 0xFAh’ text file,
the WIN-I2CUSB GUI in Expert mode screen will be displayed as shown in Figure 7
.
4. Click the ‘Send All’ button. All the valid messages on the screen will be sent in order of
the row number. The action will be performed one time.