COP8-PGMA-DS NSC [National Semiconductor], COP8-PGMA-DS Datasheet - Page 10

no-image

COP8-PGMA-DS

Manufacturer Part Number
COP8-PGMA-DS
Description
8-Bit One-Time Programmable (OTP) Microcontroller with UART and Three Multi-Function Timers
Manufacturer
NSC [National Semiconductor]
Datasheet
http
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
dedicated 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 UART registers PSR ENU (except that TBMT
bit is set) ENUR and ENUI are cleared The Comparator
Select Register is cleared The S register is initialized 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
supply 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
www national com
l
5
c
FIGURE 6 Recommended Reset Circuit
Power Supply Rise Time
C
clock cycles The Clock Monitor bit
C
–32 t
C
clock cycles following
TL DD12864– 7
10
Figure 7 shows the Crystal and R C oscillator diagrams
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
CRYSTAL OSCILLATOR
CKI and CKO can be connected to make a closed loop
crystal (or resonator) controlled oscillator
Table A shows the component values required for various
standard crystal values
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 avail-
able as a general purpose input and or HALT restart input
Table II shows the variation in the oscillator frequencies as
functions of the component (R and C) values
Note 3k
(k )
(k )
TABLE I Crystal Oscillator Configuration T
R1
3 3
5 6
6 8
0
0
0
R
TABLE II RC Oscillator Configuration T
FIGURE 7 Crystal and R C Oscillator Diagrams
50 pF
s
(M )
R2
(pF)
R
100
100
s
1
1
1
82
C
s
C
200k
s
TL DD12864 – 8
c
(pF)
200
200 pF
)
C1
30
30
CKI Freq
2 2 to 2 7
1 1 to 1 3
0 9 to 1 1
(MHz)
100– 150
30– 36
30– 36
(pF)
C2
Instr Cycle
8 8 to 10 8
3 7 to 4 6
7 4 to 9 0
( s)
CKI Freq
(MHz)
0 455
10
4
A
Conditions
Conditions
V
V
V
V
V
V
TL DD12864 – 9
A
e
CC
CC
CC
CC
CC
CC
e
25 C
e
e
e
e
e
e
25 C
5V
5V
5V
5V
5V
5V

Related parts for COP8-PGMA-DS