P89LPC9321FN NXP Semiconductors, P89LPC9321FN Datasheet - Page 10

no-image

P89LPC9321FN

Manufacturer Part Number
P89LPC9321FN
Description
MCU 8-Bit 89LP 80C51 CISC 8KB Flash 2.5V/3.3V 28-Pin PDIP Tube
Manufacturer
NXP Semiconductors
Datasheet
NXP Semiconductors
Table 3.
[1]
P89LPC9321_1
Product data sheet
Symbol
P2.0/ICB
P2.1/OCD
P2.2/MOSI
P2.3/MISO
P2.4/SS
P2.5/SPICLK
P2.6/OCA
P2.7/ICA
P3.0 to P3.1
P3.0/XTAL2/
CLKOUT
P3.1/XTAL1
V
V
SS
DD
Input/output for P1.0 to P1.4, P1.6, P1.7. Input for P1.5.
Pin description
Pin
1
2
13
14
15
16
27
28
9
8
7
21
…continued
Type Description
I/O
I
I/O
O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
O
I/O
I
I/O
I/O
O
O
I/O
I
I
I
P2.0 — Port 2 bit 0.
ICB — Input Capture B.
P2.1 — Port 2 bit 1.
OCD — Output Compare D.
P2.2 — Port 2 bit 2.
MOSI — SPI master out slave in. When configured as master, this pin is output;
when configured as slave, this pin is input.
P2.3 — Port 2 bit 3.
MISO — When configured as master, this pin is input, when configured as slave,
this pin is output.
P2.4 — Port 2 bit 4.
SS — SPI Slave select.
P2.5 — Port 2 bit 5.
SPICLK — SPI clock. When configured as master, this pin is output; when
configured as slave, this pin is input.
P2.6 — Port 2 bit 6.
OCA — Output Compare A.
P2.7 — Port 2 bit 7.
ICA — Input Capture A.
Port 3: Port 3 is a 2-bit I/O port with a user-configurable output type. During reset
Port 3 latches are configured in the input only mode with the internal pull-up
disabled. The operation of Port 3 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”
details.
All pins have Schmitt trigger inputs.
Port 3 also provides various special functions as described below:
P3.0 — Port 3 bit 0.
XTAL2 — Output from the oscillator amplifier (when a crystal oscillator option is
selected via the flash configuration.
CLKOUT — CPU clock divided by 2 when enabled via SFR bit (ENCLK -TRIM.6).
It can be used if the CPU clock is the internal RC oscillator, watchdog oscillator or
external clock input, except when XTAL1/XTAL2 are used to generate clock source
for the RTC/system timer.
P3.1 — Port 3 bit 1.
XTAL1 — Input to the oscillator circuit and internal clock generator circuits (when
selected via the flash configuration). It can be a port pin if internal RC oscillator or
watchdog oscillator is used as the CPU clock source, and if XTAL1/XTAL2 are not
used to generate the clock for the RTC/system timer.
Ground: 0 V reference.
Power supply: This is the power supply voltage for normal operation as well as
Idle and Power-down modes.
Rev. 01 — 9 December 2008
8-bit microcontroller with accelerated two-clock 80C51 core
and
Table 10 “Static characteristics”
P89LPC9321
© NXP B.V. 2008. All rights reserved.
for
10 of 70

Related parts for P89LPC9321FN