![](http://datasheet.mmic.net.cn/310000/ADUC844BS62-5_datasheet_16243589/ADUC844BS62-5_10.png)
ADuC844
-10-
REV. PrB
PRELIMINARY TECHNICAL DATA
Pin No:
52-MQFP
16-19
22-25
Pin No:
56-CSP
18-21
24-27
Pin
Mnemonic
P3.0
à
P3.7
Type*
Description
P3.0–P3.7 are bi-directional port pins with internal pull-up resistors. Port 3
pins that have 1s written to them are pulled high by the internal pull-up
resistors, and in that state can be used as inputs. As inputs, Port 3 pins being
pulled externally low will source current because of the internal pull-up
resistors. When driving a 0-to-1 output transition, a strong pull-up is active for
two core clock periods of the instruction cycle.
Port 3 pins also have various secondary functions described below.
Receiver Data for UART serial Port
Transmitter Data for UART serial Port
External Interrupt 0. This pin can also be used as a gate control input to
Timer0.
External Interrupt 1. This pin can also be used as a gate control input to
Timer1.
Timer/Counter 0 External Input
If the PWM is enabled, an external clock may be input at this pin.
Timer/Counter 1 External Input
External Data Memory Write Strobe. Latches the data byte from Port 0 into an
external data memory.
External Data Memory Read Strobe. Enables the data from an external data
memory to Port 0.
Digital Supply Voltage
Digital Ground.
I/O
16
17
18
18
19
20
P3.0/RXD
P3.1/TXD
P3.2/INT0
19
21
P3.3/INT1
22
24
P3.4/T0/PWMCLK
23
24
25
26
P3.5/T1
P3.6/WR
25
27
P3.7/RD
20, 34, 48
21, 35, 47
22, 36, 51
23, 37, 50
DVDD
DGND
S
S
Serial interface clock for either the I
2
C or SPI interface. As an input, this pin
is a Schmitt-triggered input and a weak internal pull-up is present on this pin
unless it is outputting logic low. This pin can also be directly controlled in
software as a digital output pin.
Serial Data I/O for the I
2
C Interface or Master Output/Slave Input for the SPI
Interface. A weak internal pull-up is present on this pin unless it is outputting
logic low. This pin can also be directly controlled in software as a digital
output pin.
Port 2 is a bidirectional port with internal pull-up resistors. Port 2 pins that
have 1s written to them are pulled high by the internal pull-up resistors, and in
that state can be used as inputs. As inputs, Port 2 pins being pulled externally
low will source current because of the internal pull-up resistors.
Port 2 emits the high order address bytes during fetches from external program
memory and middle and high order address bytes during accesses to the 24-bit
external data memory space.
Input to the crystal oscillator inverter.
26
28
SCLOCK
I/O
27
29
MOSI/SDATA
I/O
28
à
31
36
à
39
30
à
32
38
à
42
P2.0
à
P2.7
I/O
32
34
XTAL1
I
33
35
XTAL2
O
Output from the crystal oscillator inverter. (see “Hardware Design
Considerations” for description)
External Access Enable, Logic Input. When held high, this input enables the
device to fetch code from internal program memory locations 0000h to
F7FFh. When held low this input enables the device to fetch all instructions
from external program memory. To determine the mode of code execution,
i.e., internal or external, the
EA
pin is sampled at the end of an external
RESET assertion or as part of a device power cycle.
EA
may also be used as an external emulation I/O pin and therefore the
voltage level at this pin must not be changed during normal mode operation as
it may cause an emulation interrupt that will halt code execution.
40
43
EA