cop888ek National Semiconductor Corporation, cop888ek Datasheet - Page 16

no-image

cop888ek

Manufacturer Part Number
cop888ek
Description
8-bit Cmos Rom Based Microcontrollers With 8k Memory, Comparator, And Single-slope A/d Capability
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
Reset
The RESET input when pulled low initializes the microcon-
troller. Initialization will occur whenever the RESET input is
pulled low. Upon initialization, the data and configuration
registers for ports L, G and C are cleared, resulting in these
Ports being initialized to the TRI-STATE mode. Pin G1 of the
G Port is an exception (as noted below) since pin G1 is dedi-
cated as the WATCHDOG and/or Clock Monitor error output
pin. Port D is set high. The PC, PSW, ICNTRL, CNTRL,
T2CNTRL and T3CNTRL control registers are cleared. The
Comparator Select Register is cleared. The S register is ini-
tialized to zero. The Multi-Input Wakeup registers WKEN and
WKEDG are cleared. Wakeup register WKPND is unknown.
The stack pointer, SP, is initialized to 6F hex.
The device comes out of reset with both the WATCHDOG
logic and the Clock Monitor detector armed, with the
WATCHDOG service window bits set and the Clock Monitor
bit set. The WATCHDOG and Clock Monitor circuits are in-
hibited during reset. The WATCHDOG service window bits
being initialized high default to the maximum WATCHDOG
service window of 64k t
being initialized high will cause a Clock Monitor error follow-
ing reset if the clock has not reached the minimum specified
frequency at the termination of reset. A Clock Monitor error
will cause an active low error output on pin G1. This error
output will continue until 16 t
the clock frequency reaching the minimum specified value,
at which time the G1 output will enter the TRI-STATE mode.
The external RC network shown in Figure 6 should be used
to ensure that the RESET pin is held low until the power sup-
ply to the chip stabilizes.
RC
Oscillator Circuits
The chip can be driven by a clock input on the CKI input pin
which can be between DC and 10 MHz. The CKO output
clock is on pin G7 (crystal configuration). The CKI input fre-
quency is divided down by 10 to produce the instruction
cycle clock (1/t
Note: External clocks with frequencies above about 4 MHz require the user
Figure 7 shows the Crystal and R/C oscillator diagrams.
CRYSTAL OSCILLATOR
CKI and CKO can be connected to make a closed loop crys-
tal (or resonator) controlled oscillator.
Table 1 shows the component values required for various
standard crystal values.
>
to drive the CKO (G7) pin with a signal 180 degrees out of phase with
CKI.
5 x Power Supply Rise Time
FIGURE 6. Recommended Reset Circuit
c
).
C
clock cycles. The Clock Monitor bit
C
–32 t
C
clock cycles following
DS012094-7
16
R/C OSCILLATOR
By selecting CKI as a single pin oscillator input, a single pin
R/C oscillator circuit can be connected to it. CKO is available
as a general purpose input, and/or HALT restart input.
Note: Use of the R/C oscillator option will result in higher electromagnetic
Table 2 shows the variation in the oscillator frequencies as
functions of the component (R and C) values.
Note 27: 3k
50 pF
Control Registers
CNTRL Register (Address X'00EE)
The Timer1 (T1) and MICROWIRE/PLUS control register
contains the following bits:
T1C3
Bit 7
(k )
(k )
TABLE 1. Crystal Oscillator Configuration, T
R1
3.3
5.6
6.8
T1C3
T1C2
T1C1
T1C0
R
0
0
0
TABLE 2. RC Oscillator Configuration, T
FIGURE 7. Crystal and R/C Oscillator Diagrams
emissions.
C
T1C2
(M )
(pF)
100
100
R2
82
200 pF
C
1
1
1
R
200k
T1C1
Timer T1 mode control bit
Timer T1 mode control bit
Timer T1 mode control bit
Timer T1 Start/Stop control in timer
modes 1 and 2, T1 Underflow Interrupt
Pending Flag in timer mode 3
(pF)
200 100–150
C1
CKI Freq
2.2 to 2.7
1.1 to 1.3
0.9 to 1.1
30
30
(MHz)
T1C0
30–36
30–36
(pF)
C2
DS012094-9
MSEL
DS012094-8
Instr. Cycle
8.8 to 10.8
3.7 to 4.6
7.4 to 9.0
CKI Freq
(µs)
(MHz)
0.455
IEDG
10
4
SL1
A
Conditions
Conditions
V
V
V
= 25˚C
A
V
V
V
CC
CC
CC
CC
CC
CC
= 25˚C
= 5V
= 5V
= 5V
= 5V
= 5V
= 5V
SL0
Bit 0

Related parts for cop888ek