OM6279,598 NXP Semiconductors, OM6279,598 Datasheet - Page 45

DEMO BOARD LED DIMMER

OM6279,598

Manufacturer Part Number
OM6279,598
Description
DEMO BOARD LED DIMMER
Manufacturer
NXP Semiconductors
Datasheet

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
Philips Semiconductors
8. Contents
1
2
3
3.1
3.2
3.3
3.3.1
3.3.2
3.4
3.5
4
4.1
4.2
4.3
4.3.1
4.3.2
4.3.3
4.4
4.4.1
4.4.2
4.4.3
4.5
4.6
4.7
4.8
5
5.1
5.2
5.3
6
7
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
Technical information—hardware . . . . . . . . . . 4
Technical information—how to use the
demobord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Source code . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
I
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Keypad control card . . . . . . . . . . . . . . . . . . . . . 5
LED control card . . . . . . . . . . . . . . . . . . . . . . . . 6
Demoboard (top view) . . . . . . . . . . . . . . . . . . . 7
RGB color mixing . . . . . . . . . . . . . . . . . . . . . . . 8
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Firmware routines . . . . . . . . . . . . . . . . . . . . . . 10
Dialing routine. . . . . . . . . . . . . . . . . . . . . . . . . 11
How the keypad control works . . . . . . . . . . . . 11
Keypad mapping with the PCA9555 I/Os . . . . 11
Application: cell phone type keyboard—
Dialing routine. . . . . . . . . . . . . . . . . . . . . . . . . 12
Programming mode . . . . . . . . . . . . . . . . . . . . 13
Programming fun patterns routine—
RGB color mixing . . . . . . . . . . . . . . . . . . . . . . 13
PCA953x mapping with the LEDs . . . . . . . . . 14
White LED control routine. . . . . . . . . . . . . . . . 14
Emulation mode: battery discharge application 15
Auto Demo routine . . . . . . . . . . . . . . . . . . . . . 15
RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
How to code I
P89LV51RD2/PCA9564 . . . . . . . . . . . . . . . . . 16
i2cexpert.h . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
mainloop.c . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
I2C_Routines.c . . . . . . . . . . . . . . . . . . . . . . . . 23
2
C-bus device addresses. . . . . . . . . . . . . . . . . 4
2
C commands using the
© Koninklijke Philips Electronics N.V. 2005
All rights are reserved. Reproduction in whole or in part is prohibited without the prior
written consent of the copyright owner. The information presented in this document does
not form part of any quotation or contract, is believed to be accurate and reliable and may
be changed without notice. No liability will be accepted by the publisher for any
consequence of its use. Publication thereof does not convey nor imply any license under
patent- or other industrial or intellectual property rights.
Published in The Netherlands
LED dimmer demoboard
Document number: 9397 750 14062
Date of release: 7 January 2005
AN10315

Related parts for OM6279,598