Datasheet
REV. 0–64–
ADuC831
C1+
V+
C1–
C2+
C2–
V–
T2OUT
R2IN
V
CC
GND
T1OUT
R1IN
R1OUT
T1IN
T2IN
R2OUT
ADM202
1
2
3
4
5
6
7
8
9
DV
DD
9-PIN D-SUB
FEMALE
DV
DD
27
34
33
31
30
29
28
39
38
37
36
35
32
40
47
46
44
43
42
41
52
51
50
49
48
45
DV
DD
1k
DV
DD
1k
2-PIN HEADER FOR
EMULATION ACCESS
(NORMALLY OPEN)
DOWNLOAD/DEBUG
ENABLE JUMPER
(NORMALLY OPEN)
11.0592MHz
DV
DD
AV
DD
AV
DD
AGND
C
REF
V
REF
DAC0
DAC1
DV
DD
DGND
PSEN
EA
DGND
DV
DD
XTAL2
XTAL1
RESET
RXD
TXD
DV
DD
DGND
NOT CONNECTED IN THIS EXAMPLE
ADuC831
ADC0
ADC7
ANALOG INPUT
VREF OUTPUT
DAC OUTPUT
Figure 64. Example ADuC831 System (PQFP Package)
Note that PSEN is normally an output (as described in the External
Memory Interface section) and is sampled as an input only on the
falling edge of RESET (i.e., at power-up or upon an external
manual reset). Note also that if any external circuitry uninten-
tionally pulls PSEN low during power-up or reset events, it could
cause the chip to enter download mode and therefore fail to begin
user code execution as it should. To prevent this, ensure that no
external signals are capable of pulling the PSEN pin low, except
for the external PSEN jumper itself.
Embedded Serial Port Debugger
From a hardware perspective, entry into serial port debug mode
is identical to the serial download entry sequence described
above. In fact, both serial download and serial port debug modes
can be thought of as essentially one mode of operation used in
two different ways.
Note that the serial port debugger is fully contained on the ADuC831
device, (unlike ROM monitor type debuggers) and therefore no
external memory is needed to enable in-system debug sessions.
Single-Pin Emulation Mode
Also built into the ADuC831 is a dedicated controller for
single-pin in-circuit emulation (ICE) using standard production
ADuC831 devices. In this mode, emulation access is gained by
connection to a single pin, the EA pin. Normally, this pin is hard-
wired either high or low to select execution from internal or
external program memory space, as described earlier. To enable
single-pin emulation mode, however, users will need to pull the
EA pin high through a 1 kΩ resistor as shown in Figure 64. The
emulator will then connect to the 2-pin header also shown in
Figure 64. To be compatible with the standard connector that
comes with the single-pin emulator available from Accutron Lim-
ited (www.accutron.com), use a 2-pin 0.1-inch pitch “Friction
Lock” header from Molex (www.molex.com) such as their
part number 22-27-2021. Be sure to observe the polarity of this
header. As represented in Figure 64, when the Friction Lock tab
is at the right, the ground pin should be the lower of the two
pins (when viewed from the top).
Typical System Configuration
A typical ADuC831 configuration is shown in Figure 64. It sum-
marizes some of the hardware considerations discussed in the
previous paragraphs.