Philips Semiconductors
P87LPC778
CMOS single-chip 8-bit microcontroller
Product data Rev. 01 — 31 March 2004 4 of 79
9397 750 12378
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
(1) The P87LPC778 does not support access to external data memory. However, the User
Configuration Bytes are accessed via the MOVX instruction as if they were in external
data memory.
Fig 2. Memory map.
UNUSED CODE
MEMORY SPACE
UNUSED CODE
MEMORY SPACE
32-BYTE CUSTOMER
CODE SPACE
(ACCESSIBLE VIA
MOVC)
8 KBYTES ON-CHIP
DATA MEMORY
128 BYTES ON-CHIP DATA
MEMORY (DIRECTLY AND
INDIRECTLY ADDRESSABLE
VIA MOVC)
SPECIAL FUNCTION
REGISTERS
(ONLY DIRECTLY
ADDRESSABLE)
CONFIGURATION BYTES
UCFG1, UCFG2
(ACCESSIBLE VIA MOVX)
UNUSED SPACE
INTERRUPT
VECTORS
on-chip code
memory space
0000h
UNUSED SPACE
16 BYTES
BIT-ADDRESSABLE
00h 0000h
FD00h
FD01h
FFFFh
7Fh
FFh
80h
on-chip data
memory space
external data
memory space
(1)
1FFFh
2000h
FCE0h
FCFFh
FFFFh
002aaa615
Philips Semiconductors
P87LPC778
CMOS single-chip 8-bit microcontroller
Product data Rev. 01 — 31 March 2004 5 of 79
9397 750 12378
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
5. Pinning information
5.1 Pinning
5.2 Pin description
Fig 3. 20 pin DIP and SO configuration.
handbook, halfpage
P87LPC778
002aaa612
1
2
3
4
5
6
7
8
9
10
PWM3/CMP2/P0.0
PWM2/P1.7
PWM1/P1.6
RST/P1.5
V
SS
X1/P2.1
X2/CLKOUT/P2.0
INT1/P1.4
SDA/INT0/P1.3
SCL/T0/P1.2
P0.1/CIN2B/PWM0
P0.2/CIN2A
P0.3/CIN1B/AD0
P0.4/CIN1A/AD1
P0.5/CMPREF/AD2
V
DD
P0.6/CMP1/AD3
P0.7/T1
P1.0/TxD
P1.1/RxD
20
19
18
17
16
15
14
13
12
11
Table 2: Pin description
Symbol Pin Type Description
P0.0 - P0.7 1, 20-16,
14, 13
I/O Port 0: Port 0 is an 8-bit I/O port with a user-configurable output type. Port 0 latches are
configured in the quasi-bidirectional mode and have either ones or zeros written to them
during reset, as determined by the PRHI bit in the UCFG1 configuration byte. The
operation of port 0 pins as inputs and outputs depends upon the port configuration
selected. Each port pin is configured independently. Refer to Section 8.9 “I/O ports” and
Table 67 “DC electrical characteristics” for details.
The Keypad Interrupt feature operates with Port 0 pins.
Port 0 also provides various special functions as described below:
P0.0 1 O CMP2 — Comparator 2 output.
O PWM3 — PWM output 3.
P0.1 20 I CIN2B — Comparator 2 positive input B.
O PWM0 — PWM output 0.
P0.2 19 I CIN2A — Comparator 2 positive input A.
P0.3 18 I CIN1B — Comparator 1 positive input B.
I AD0 — A/D channel 0 input.
P0.4 17 I CIN1A — Comparator 1 positive input A.
I AD1 — A/D channel 1 input.
P0.5 16 I CMPREF — Comparator reference (negative) input.
I AD2 — A/D channel 2 input.
P0.6 14 O CMP1 — Comparator 1 output.
I AD3 — A/D channel 3 input.
Philips Semiconductors
P87LPC778
CMOS single-chip 8-bit microcontroller
Product data Rev. 01 — 31 March 2004 6 of 79
9397 750 12378
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
P0.7 13 I/O T1 — Timer/counter 1 external count input or overflow output.
P1.0 - P1.7 12-8, 4, 3,
2
I/O Port 1: Port 1 is an 8-bit I/O port with a user-configurable output type, except for three
pins as noted below. Port 1 latches are configured in the quasi-bidirectional mode and
have either ones or zeros written to them during reset, as determined by the PRHI bit in
the UCFG1 configuration byte. The operation of the configurable port 1 pins as inputs
and outputs depends upon the port configuration selected. Each of the configurable
port pins are programmed independently. Refer to Section 8.9 “I/O ports” and Table 67
“DC electrical characteristics” for details.
Port 1 also provides various special functions as described below:
P1.0 12 O TxD — Transmitter output for the serial port.
P1.1 11 I RxD — Receiver input for the serial port.
P1.2 10 I/O T0 — Timer/counter 0 external count input or overflow output.
I/O SCL — I
2
C-bus serial clock input/output. When configured as an output, P1.2 is open
drain, in order to conform to I
2
C-bus specifications.
P1.3 9 I
INT0 — External interrupt 0 input.
I/O SDA — I
2
C-bus serial data input/output. When configured as an output, P1.3 is open
drain, in order to conform to I
2
C-bus specifications.
P1.4 8 I
INT1 — External interrupt 1 input.
P1.5 4 I
RST — External Reset input (if selected via EPROM configuration). A LOW on this pin
resets the microcontroller, causing I/O ports and peripherals to take on their default
states, and the processor begins execution at address 0. When used as a port pin, P1.5
is a Schmitt trigger input only.
P1.6 3 O P1.6 — Port 1 bit 6.
O PWM1 — PWM output 1.
P1.7 2 O P1.7 — Port 1 bit 7.
O PWM2 — PWM output 2.
P2.0 - P2.1 7, 6 I/O Port 2: Port 2 is a 2-bit I/O port with a user-configurable output type. Port 2 latches are
configured in the quasi-bidirectional mode and have either ones or zeros written to them
during reset, as determined by the PRHI bit in the UCFG1 configuration byte. The
operation of port 2 pins as inputs and outputs depends upon the port configuration
selected. Each port pin is configured independently. Refer to Section 8.9 “I/O ports” and
Table 67 “DC electrical characteristics” for details.
Port 2 also provides various special functions as described below:
P2.0 7 O X2 — Output from the oscillator amplifier (when a crystal oscillator option is selected via
the EPROM configuration.
O CLKOUT — CPU clock divided by 6 clock output when enabled via SFR bit and in
conjunction with internal RC oscillator or external clock input.
P2.1 6 I X1 — Input to the oscillator circuit and internal clock generator circuits (when selected
via the EPROM configuration).
V
SS
5IGround: 0 V reference.
V
DD
15 I Power Supply: This is the power supply voltage for normal operation as well as Idle
and Power-down modes.
Table 2: Pin description
…continued
Symbol Pin Type Description

P87LPC778FDH,529

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT 8KB OTP 20TSSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet