OM6277,598 NXP Semiconductors, OM6277,598 Datasheet - Page 34
![DEMO BOARD FOR PCA9564](/photos/9/8/90802/om6277_sml.jpg)
OM6277,598
Manufacturer Part Number
OM6277,598
Description
DEMO BOARD FOR PCA9564
Manufacturer
NXP Semiconductors
Datasheet
1.OM6277598.pdf
(52 pages)
Specifications of OM6277,598
Main Purpose
Interface, I2C Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PCA9564
Primary Attributes
I2C Bus Controller, 1 8-Bit GPIO, 1 8-Bit LED Dimmer
Secondary Attributes
8 Momentary Switches, 23 LEDs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
568-4001
935283226598
935283226598
}
}
Message1.nrBytes = 3;
Buffer1[0]
Buffer1[1]
Buffer1[2]
I2C_Write(&Message1);
Buffer4[0]
Buffer4[1]
I2C_Write(&Message4);
}
}
case 0xFB : Buffer4[0] = 0x00;
}
Buffer3[0] = 0xFF;
break;
Buffer4[1] = DataByteLPC932;
I2C_Write(&Message4);
Buffer3[0] = 0xFF;
break;
= 0x15;
= 0x00;
= 0x00;
= 0x00;
= 0xFF;
case 7 : if (ValueToBeChanged == 1)
case 8 : if (ValueToBeChanged == 1)
}
break;
{
}
break;
{
}
break;
}
Message1.nrBytes = 2;
Buffer1[0] = 0x16;
Buffer1[1] = LS1;
I2C_Write(&Message1);
if (DataByteLPC932_6 == 0)
{
}
else
{
}
Message1.nrBytes = 2;
Buffer1[0] = 0x16;
Buffer1[1] = LS1;
I2C_Write(&Message1);
if (DataByteLPC932_7 == 0)
}
else
{
}
Message1.nrBytes = 2;
Buffer1[0] = 0x16;
Buffer1[1] = LS1;
I2C_Write(&Message1);
ValueToBeChanged = 0;
LS1_4 = 0;
LS1_5 = 0;
DataByteLPC932_6 = 1;
ValueToBeChanged = 0;
LS1_4 = 1;
LS1_5 = 0;
DataByteLPC932_6 = 0;
ValueToBeChanged = 0;
{
LS1_6 = 0;
LS1_7 = 0;
DataByteLPC932_7 = 1;
ValueToBeChanged = 0;
LS1_6 = 1;
LS1_7 = 0;
DataByteLPC932_7 = 0;
ValueToBeChanged = 0;
// subaddress = 0x15
// PCA9531 all LEDs off when leaving Program 3
// Program PCA9531 (3 bytes)
// Command to program
// LPC932 all LEDs off when leaving Program 3
34
// subaddress = 0x06
// LED Selector programming
// Bit 6
// subaddress = 0x06
// LED Selector programming
// Bit 7
// subaddress = 0x06
// LED Selector programming
// Command byte to program LEDS
// Program LPC932 with the programmed byte - S3 pushed
// LPC932 programmed (2 bytes)
LEDs