P89LPC9331_9341_9351_9361 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 5.1 — 20 August 2012 7 of 94
NXP Semiconductors
P89LPC9331/9341/9351/9361
8-bit microcontroller with accelerated two-clock 80C51 core
Fig 6. P89LPC9351 PLCC28 pin configuration
P89LPC9351FA
002aad558
5
6
7
8
9
10
11
25
24
23
22
21
20
19
12
13
14
15
16
17
18
4
3
2
1
28
27
26
P1.6/OCB
P1.5/RST
V
SS
P3.1/XTAL1
P3.0/XTAL2/CLKOUT
P1.4/INT1
P1.3/INT0/SDA
P1.7/OCC/AD00
P0.0/CMP2/KBI0/AD01
P2.1/OCD/AD02
P2.0/ICB/DAC0/AD03
P2.7/ICA
P2.6/OCA
P0.1/CIN2B/KBI1/AD10
P0.2/CIN2A/KBI2/AD11
P0.3/CIN1B/KBI3/AD12
P0.4/CIN1A/KBI4/DAC1/AD13
P0.5/CMPREF/KBI5
V
DD
P0.6/CMP1/KBI6
P0.7/T1/KBI7
P1.2/T0/SCL
P2.2/MOSI
P2.3/MISO
P2.4/SS
P2.5/SPICLK
P1.1/RXD
P1.0/TXD
P89LPC9331_9341_9351_9361 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 5.1 — 20 August 2012 8 of 94
NXP Semiconductors
P89LPC9331/9341/9351/9361
8-bit microcontroller with accelerated two-clock 80C51 core
6.2 Pin description
Table 3. Pin description
Symbol Pin Type Description
PLCC28,
TSSOP28
P0.0 to P0.7 I/O Port 0: Port 0 is an 8-bit I/O port with a user-configurable output type. During reset
Port 0 latches are configured in the input only mode with the internal pull-up
disabled. 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
7.16.1 “Port configurations and Table 12 “Static characteristics for details.
The Keypad Interrupt feature operates with Port 0 pins.
All pins have Schmitt trigger inputs.
Port 0 also provides various special functions as described below:
P0.0/CMP2/
KBI0/AD01
3I/OP0.0 — Port 0 bit 0.
O CMP2 — Comparator 2 output
I KBI0 — Keyboard input 0.
I AD01 — ADC0 channel 1 analog input.
P0.1/CIN2B/
KBI1/AD10
26 I/O P0.1 — Port 0 bit 1.
I CIN2B — Comparator 2 positive input B.
I KBI1 — Keyboard input 1.
I AD10 — ADC1 channel 0 analog input.
P0.2/CIN2A/
KBI2/AD11
25 I/O P0.2 — Port 0 bit 2.
I CIN2A — Comparator 2 positive input A.
I KBI2 — Keyboard input 2.
I AD11 — ADC1 channel 1 analog input.
P0.3/CIN1B/
KBI3/AD12
24 I/O P0.3 — Port 0 bit 3. High current source.
I CIN1B — Comparator 1 positive input B.
I KBI3 — Keyboard input 3.
I AD12 — ADC1 channel 2 analog input.
P0.4/CIN1A/
KBI4/DAC1/AD13
23 I/O P0.4 — Port 0 bit 4. High current source.
I CIN1A — Comparator 1 positive input A.
I KBI4 — Keyboard input 4.
O DAC1 — Digital-to-analog converter output 1.
I AD13 — ADC1 channel 3 analog input.
P0.5/CMPREF/
KBI5
22 I/O P0.5 — Port 0 bit 5. High current source.
I CMPREF — Comparator reference (negative) input.
I KBI5 — Keyboard input 5.
P89LPC9331_9341_9351_9361 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 5.1 — 20 August 2012 9 of 94
NXP Semiconductors
P89LPC9331/9341/9351/9361
8-bit microcontroller with accelerated two-clock 80C51 core
P0.6/CMP1/KBI6 20 I/O P0.6 — Port 0 bit 6. High current source.
O CMP1 — Comparator 1 output.
I KBI6 — Keyboard input 6.
P0.7/T1/KBI7 19 I/O P0.7Port 0 bit 7. High current source.
I/O T1 — Timer/counter 1 external count input or overflow output.
I KBI7 — Keyboard input 7.
P1.0 to P1.7 I/O, I
[1]
Port 1: Port 1 is an 8-bit I/O port with a user-configurable output type, except for
three pins as noted below. During reset Port 1 latches are configured in the input
only mode with the internal pull-up disabled. 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 7.16.1 “
Port configurations and Table 12 “Static characteristics for
details. P1.2 to P1.3 are open drain when used as outputs. P1.5 is input only.
All pins have Schmitt trigger inputs.
Port 1 also provides various special functions as described below:
P1.0/TXD 18 I/O P1.0Port 1 bit 0.
O TXD — Transmitter output for serial port.
P1.1/RXD 17 I/O P1.1 — Port 1 bit 1.
I RXD — Receiver input for serial port.
P1.2/T0/SCL 12 I/O P1.2 — Port 1 bit 2 (open-drain when used as output).
I/O T0 — Timer/counter 0 external count input or overflow output (open-drain when
used as output).
I/O SCL — I
2
C-bus serial clock input/output.
P1.3/INT0
/SDA 11 I/O P1.3 — Port 1 bit 3 (open-drain when used as output).
I INT0
External interrupt 0 input.
I/O SDA — I
2
C-bus serial data input/output.
P1.4/INT1
10 I/O P1.4 — Port 1 bit 4. High current source.
I INT1
External interrupt 1 input.
P1.5/RST
6IP1.5 — Port 1 bit 5 (input only).
I RST
External Reset input during power-on or if selected via UCFG1. When
functioning as a reset input, 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. Also used during a power-on sequence to force ISP mode.
P1.6/OCB 5 I/O P1.6Port 1 bit 6. High current source.
O OCB — Output Compare B. (P89LPC9351/9361)
P1.7/OCC/AD00 4 I/O P1.7Port 1 bit 7. High current source.
O OCC — Output Compare C. (P89LPC9351/9361)
I AD00 — ADC0 channel 0 analog input.
Table 3. Pin description
…continued
Symbol Pin Type Description
PLCC28,
TSSOP28

P89LPC9331FDH,512

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Microcontrollers - MCU 8-bit Microcontrollers - MCU IC 80C51 MCU FLASH 4K
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union