OM6277,598 NXP Semiconductors, OM6277,598 Datasheet - Page 2
![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
TABLE OF CONTENTS
OVERVIEW...........................................................................................................................................................................................3
TECHNICAL INFORMATION – HARDWARE ...............................................................................................................................4
TECHNICAL INFORMATION – EMBEDDED FIRMWARE ......................................................................................................12
DOWNLOAD SOFTWARE, PROGRAMS AND DOCUMENTATION .......................................................................................19
PCA9564 EVALUATION BOARD WEB PAGE..............................................................................................................................19
APPENDIX 1: P89LV51RD2 MICROCONTROLLER SOURCE CODE – REV 1.0...................................................................20
APPENDIX 2: P89LPC932 MICROCONTROLLER SOURCE CODE – REV 1.0 ......................................................................45
APPENDIX 3: PCA9564 EVALUATION BOARD BILL OF MATERIAL...................................................................................49
REVISION HISTORY ........................................................................................................................................................................51
D
O
B
I
S
PCA9564 E
J
P
I
O
O
E
S
S
I2CEXPRT.H ....................................................................................................................................................................................20
M
I2C_R
I2C_R
I2CDRIVR.H.....................................................................................................................................................................................36
I2CDRIVR.C.....................................................................................................................................................................................36
I2CMASTR.
I2CMASTR.C ...................................................................................................................................................................................38
I2CINTFC.C......................................................................................................................................................................................41
PCA9564
PCA9564
I
M
I
UA
D
2
2
N
NTERRUPTS
UMPERS AND
CHEMATIC
USHBUTTONS
OURCE
OURCE
MBEDDED PROGRAMS FLOWCHARTS
ESCRIPTION
RDERING INFORMATION
LOCK DIAGRAM
C
THER FEATURES
VERVIEW
ISCLAIMERS
CSLAVE
-S
AINLOOP
AIN
_
DEVICE ADDRESSES
P89LV51RD2 ISP programming ...................................................................................................................................................9
P89LPC932 ISP programming......................................................................................................................................................9
Write Protect PCF85116...............................................................................................................................................................9
Use of other 80C51 type Philips microcontrollers ......................................................................................................................10
Use of any other non 80C51 type master devices ........................................................................................................................10
Communication between the 2 microcontrollers .........................................................................................................................10
Miscellaneous..............................................................................................................................................................................11
Program Selection.......................................................................................................................................................................14
Program 1: P89LV51RD2–PCA9564–PCA9531; PCA9531 dynamic programming..................................................................15
Program 2: P89LV51RD2–PCA9564–PCA9531–PCF85116–P89LPC932; Predefined blinking patterns ................................16
Program 3: P89LV51RD2–PCA9564–PCA9531–P89LPC932; P89LPC932 LED programming..............................................16
Program 4: P89LV51RD2–PCA9564–PCA9531–P89LPC932; I
EXPRT
YSTEM
.
C
OUTINES
OUTINES
...............................................................................................................................................................................................45
C
C
.
SYS
SYS
ODE
ODE
C
.
.
..........................................................................................................................................................................................12
H
C
P
.........................................................................................................................................................................................46
VALUATION
.
..........................................................................................................................................................................................5
C
.......................................................................................................................................................................................21
.......................................................................................................................................................................................48
ROGRAMMING
H
........................................................................................................................................................................................3
.
.
......................................................................................................................................................................................52
H
H
C
.....................................................................................................................................................................................44
– U
P89LV51RD2 – R
P89LPC932 – R
....................................................................................................................................................................................37
.
.
H
C
EADERS
..................................................................................................................................................................................43
..................................................................................................................................................................................43
..................................................................................................................................................................................4
................................................................................................................................................................................23
................................................................................................................................................................................23
.................................................................................................................................................................................9
SER INTERFACE AND
.........................................................................................................................................................................4
........................................................................................................................................................................6
B
......................................................................................................................................................................4
OARD
M
ODE
EV
T
OP VIEW
EV
........................................................................................................................................................8
1.0................................................................................................................................................18
..................................................................................................................................................14
1.0 ............................................................................................................................................18
R
ESET
............................................................................................................................................6
......................................................................................................................................8
2
2
C address search ..................................................................17