OM6279,598 NXP Semiconductors, OM6279,598 Datasheet - Page 34
![DEMO BOARD LED DIMMER](/photos/9/8/90803/om6279_sml.jpg)
OM6279,598
Manufacturer Part Number
OM6279,598
Description
DEMO BOARD LED DIMMER
Manufacturer
NXP Semiconductors
Datasheet
1.OM6279598.pdf
(45 pages)
Specifications of OM6279,598
Main Purpose
Lighting, RGB LED Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PCA9564PW, PCA9555PW, PCA9531PW, PCA9533DP/01
Primary Attributes
I2C Bus Controller, 1 8-Bit GPIO, 1 8-Bit LED Dimmer
Secondary Attributes
Different Demonstration Programs Through MCU
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
568-4003
935283363598
935283363598
Philips Semiconductors
9397 750 14062
Application note
}
if (Buffer3[0] == 0xFB)
{
}
Buffer3[1]
Message1.address = PCA9531_M_WR;
Message1.nrBytes = 2;
Buffer1[0]
Buffer1[1]
I2C_Write(&Message1);
Buffer3[0]
Message1.address = PCA9531_M_WR;
Message1.nrBytes = 2;
Buffer1[0]
Buffer1[1]
I2C_Write(&Message1);
while (Buffer3[1]!=0xDF)
{
}
Buffer3[1]
Message1.address = PCA9531_M_WR;
Message1.nrBytes = 2;
Buffer1[0]
Buffer1[1]
if (Buffer3[1] == 0xF7 & Speed_Two < 255)
{
}
Speed_Prog_On = 0;
GPIO_Polling_On = 0;
Buffer3[1] = 0xFF;
GPIO_Interrupt_Handler();
GPIO_Polling_On = 1;
Fun_Pattern_Display(Duty_Cycle_R_Three, Duty_Cycle_G_Three, Duty_Cycle_B_Three, Speed_Three);
if (Buffer3[0] == 0xFD) Duty_Cycle_R_Three = Duty_Cycle_Control(Decrement, PCA9531_R_WR, Duty_Cycle_R_Three);
if (Buffer3[0] == 0xFB) Duty_Cycle_R_Three = Duty_Cycle_Control(Increment, PCA9531_R_WR, Duty_Cycle_R_Three);
if (Buffer3[0] == 0xEF) Duty_Cycle_G_Three = Duty_Cycle_Control(Decrement, PCA9531_G_WR, Duty_Cycle_G_Three);
if (Buffer3[0] == 0xDF) Duty_Cycle_G_Three = Duty_Cycle_Control(Increment, PCA9531_G_WR, Duty_Cycle_G_Three);
if (Buffer3[0] == 0x7F) Duty_Cycle_B_Three = Duty_Cycle_Control(Decrement, PCA9531_B_WR, Duty_Cycle_B_Three);
if (Buffer3[1] == 0xFE) Duty_Cycle_B_Three = Duty_Cycle_Control(Increment, PCA9531_B_WR, Duty_Cycle_B_Three);
if (Buffer3[1] == 0xFD & Speed_Three > 0)
{
}
if (Buffer3[1] == 0xF7 & Speed_Three < 255)
{
}
Speed_Prog_On = 0;
GPIO_Polling_On = 0;
Speed_Two++;
Speed_Three--;
Speed_Three++;
= 0xFF;
= 0x15;
= 0x00;
= 0xFF;
= 0x15;
= 0x10;
= 0xFF;
= 0x15;
= 0x00;
// Disable PCA9555 GPIO Polling option
// PCA9531 Misc to indicate backlight programming mode
// subaddress = 0x15
// LD6 off --> Pattern 2 programming left
// Pattern 3 selected - Key 3 pushed
// Clear Key 3 pushed
// PCA9531 Misc to indicate backlight programming mode
// subaddress = 0x15
// LD7 on --> Pattern 3 programming active
// Loop as long as END button not pushed (Fun pattern 1 programming active)
// Check if an action on pushbutton happened
// Enable PCA9555 polling option (see GPIO_Interrupt_Handler function)
// "-" Red (Key 2)
// "+" Red (Key 3)
// "-" Green (Key 5)
// "+" Green (Key 6)
// "-" Blue (Key 8)
// "+" Blue (Key 9)
// Disable PCA9555 GPIO Polling option
// end programming pattern 3 (END pushed and detected)
// PCA9531 Misc to indicate backlight programming mode
// subaddress = 0x15
// LD7 off --> Pattern 1 programming left
Rev. 01 — 7 January 2005
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
LED dimmer demoboard
AN10315
34 of 45