
ADuC814
PIN CONFIGURATION AND FUNCTION DESCRIPTION
Rev. A | Page 10 of 72
ADuC814
TOP VIEW
(Not to Scale)
DGND
1
DLOAD
2
P3.0/RxD
3
P3.1/TxD
4
P3.2/INT0
5
DV
DD
XTAL2
XTAL1
SCLOCK
P3.7/SDATA/MOSI
28
27
26
25
24
P3.3/INT1
6
P3.4/T0/CONVST
7
P1.0/T2
8
P1.1/T2EX
9
P3.6/MISO
P3.5/T1/SS/EXTCLK
P1.7/ADC5/DAC1
P1.6/ADC4/DAC0
23
22
21
20
RESET
10
P1.5/ADC3
19
P1.2/ADC0
11
P1.3/ADC1
12
AV
DD
AGND
14
13
P1.4/ADC2
C
REF
V
REF
AGND
18
17
16
15
0
Figure 2. Pin Configuration
Table 3. Pin Descriptions
Pin No.
Mnemonic
1
DGND
2
DLOAD
Type
S
I
Function
Digital Ground. Ground reference point for the digital circuitry.
Debug/Serial Download Mode. Enables when pulled high through a resistor on power-on or RESET. In
this mode, DLOAD may also be used as an external emulation I/O pin, therefore the voltage level at
this pin must not be changed during this mode of operation because it may cause an emulation
interrupt that halts code execution. User code is executed when this pin is pulled low on power-on or
RESET.
Bidirectional 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 they can be used as inputs. As inputs,
with Port 3 pins being pulled low externally, they source current because of the internal pull-up
resistors. When driving a 0-to-1 output transition, a strong pull-up is active during S1 of the
instruction cycle. Port 3 pins also have various secondary functions which are described next.
Receiver Data Input (asynchronous) or Data Input/Output (synchronous) in Serial (UART) Mode.
Transmitter Data Output (asynchronous) or Clock Output (synchronous) in Serial (UART) Mode.
Interrupt 0, programmable edge or level-triggered interrupt input, which can be programmed to one
of two priority levels. This pin can also be used as agate control input to Timer 0.
Interrupt 1, programmable edge or level-triggered interrupt input, which can be programmed to one
of two priority levels. This pin can also be used as agate control input to Timer 1.
Timer/Counter 0 Input and External Trigger Input for ADC Conversion Start.
3–7
P3.0 – P3.4
I/O
3
4
5
P3.0/RxD
P3.1/TxD
P3.2/INT0
I/O
I/O
I/O
6
P3.3/INT1
I/O
7
P3.4/T0/
CONVST
P1.0–P1.1
I/O
8–9
I/O
Bidirectional Port Pins with Internal Pull-Up Resistors. Port 1 pins that have 1s written to them are
pulled high by the internal pull-up resistors, and in that state they can be used as inputs. As inputs
,with Port 1 pins being pulled low externally, they source current because of the internal pull-up
resistors When driving a 0-to-1 output transition a strong pull-up is active during S1 of the instruction
cycle. Port 1 pins also have various secondary functions which are described as follows.
Timer 2 Digital Input. Input to Timer/Counter 2. When enabled, Counter 2 is incremented in response
to a 1 to 0 transition of the T2 input.
Digital Input. Capture/Reload trigger for Counter 2.
Reset Input. A high level on this pin while the oscillator is running resets the device. There is an
internal weak pull-down and a Schmitt-trigger input stage on this pin.
Port 1.2 to P1.3. These pins have no digital output drivers, i.e., they can only function as digital inputs,
for which 0 must be written to the port bit. These port pins also have the following analog functionality:
ADC Input Channel 0. Selected via ADCCON2 SFR.
ADC Input Channel 1. Selected via ADCCON2 SFR.
Analog Positive Supply Voltage, 3 V or 5 V.
Analog Ground. Ground reference point for the analog circuitry.
Reference Input/Output. This pin is connected to the internal reference through a switch and is the
reference source for the analog to digital converter. The nominal internal reference voltage is 2.5 V
and this appears at the pin. This pin can be used to connect an external reference to the analog to
digital converter by setting ADCCON1.6 to 1. Connect 0.1 μF between this pin and AGND.
8
P1.0/T2
I/O
9
10
P1.1/T2EX
RESET
I/O
I
11–12
P1.2–P1.3
I
11
12
13
14–15
16
P1.2/ADC0
P1.3/ADC1
AV
DD
AGND
V
REF
I
I
S
G
I/O