English
Language : 

COP840CJ Datasheet, PDF (14/36 Pages) National Semiconductor (TI) – 8-Bit Microcontrollers with Multi-Input Wake-Up and Brown Out Detector
Oscillator Circuits (Continued)
TABLE 1. Crystal Oscillator Configuration (TA = 25˚C)
R1 (kΩ)
0
0
5.6
R2 (MΩ)
1
1
1
C1 (pF)
30
30
200
C2 (pF)
30–36
30–36
100–156
CKI Freq. (MHz)
10
4
0.455
Conditions
VCC = 5V
VCC = 5V
VCC = 5V
TABLE 2. R/C Oscillator Configuration (Part- To- Part Variation)
R (kΩ) (Note 15)
2.2
4.7
20.0
CKI Freq. (MHz)
7.0 ±15%
4.2 ±10%
1.1 ±10%
Temp.
−40˚C − +85˚C
−40˚C − +85˚C
−40˚C − +85˚C
VCC
4.5V–5.5V
4.5V–5.5V
4.5V–5.5V
Note 15: The resistance level is calculated with a total of 5.3 pF capacitance added from the printed circuit board. It is important to take this into account when fig-
uring the clock frequency.
HALT Mode
The device is a fully static device. The device enters the
HALT mode by writing a one to the G7 bit of the G data reg-
ister. Once in the HALT mode, the internal circuitry does not
receive any clock signal and is therefore frozen in the exact
state it was in when halted. In this mode the chip will only
draw leakage current (output current and DC current due to
the Brown Out circuit if Brown Out is enabled).
The device supports four different methods of exiting the
HALT mode. The first method is with a low to high transition
on the CKO (G7) pin. This method precludes the use of the
crystal clock configuration (since CKO is a dedicated out-
put). It may be used either with an RC clock configuration or
an external clock configuration. The second method of exit-
ing the HALT mode is with the Multi-Input Wake-up feature
on the L port. The third method of exiting the HALT mode is
by pulling the RESET input low. The fourth method is with
the operating voltage going below Brown Out voltage (if
Brown Out is enabled by mask option).
If the two pin crystal/resonator oscillator is being used and
Multi-Input Wake-up or Brown Out causes the device to exit
the HALT mode, the WAKE-UP signal does not allow the
chip to start running immediately since crystal oscillators
have a delayed start up time to reach full amplitude and fre-
quency stability. The WATCHDOG timer (consisting of an
8-bit prescaler followed by an 8-bit counter) is used to gener-
ate a fixed delay of 256 tC to ensure that the oscillator has in-
deed stabilized before allowing instruction execution. In this
case, upon detecting a valid WAKE-UP signal only the oscil-
lator circuitry is enabled. The WATCHDOG Counter and
Prescaler are each loaded with a value of FF Hex. The
WATCHDOG prescaler is clocked with the tC instruction
cycle (The tC clock is derived by dividing the oscillator clock
down by a factor of 10). The schmitt trigger following the CKI
inverter on the chip ensures that the WATCHDOG timer is
clocked only when the oscillator has a sufficiently large am-
plitude to meet the Schmitt trigger specs. This Schmitt trig-
ger is not part of the oscillator closed loop. The start-up
time-out from the WATCHDOG timer enables the clock sig-
nals to be routed to the rest of the chip. The delay is not ac-
tivated when the device comes out of HALT mode through
RESET pin. Also, if the clock option is either RC or External
clock, the delay is not used, but the WATCHDOG Prescaler/
Counter contents are changed. The Development System
will not emulate the 256 tC delay.
The RESET pin or Brown Out will cause the device to reset
and start executing from address X’0000. A low to high tran-
sition on the G7 pin (if single pin oscillator is used) or
Multi-Input Wake-up will cause the device to start executing
from the address following the HALT instruction.
When RESET/pin is used to exit the device from the HALT
mode and the two pin crystal/resonator (CKI/CKO) clock op-
tion is selected the contents of the Accumulator and the
Timer T1 are undetermined following the reset. All other in-
formation except the WATCHDOG Prescaler/Counter con-
tents is retained until continuing. If the device comes out of
the HALT mode through Brown Out reset, the contents of
data registers and RAM are unknown following the reset. All
information except the WATCHDOG Prescaler/Counter con-
tents is retained if the device exits the HALT mode through
G7 pin or Multi-Input Wake-up.
G7 is the HALT-restart pin, but it can still be used as an input.
If the device is not halted, G7 can be used as a general pur-
pose input.
If the Brown Out Enable mask option is selected, the Brown
Out circuit remains active during the HALT mode causing ad-
ditional current to be drawn.
Note: To allow clock resynchronization, it is necessary to program two NOP’s
immediately after the device comes out of the HALT mode. The user
must program two NOP’s following the “enter HALT mode” (set G7
data bit) instruction.
MICROWIRE/PLUS
MICROWIRE/PLUS is a serial synchronous bidirectional
communications interface. The MICROWIRE/PLUS capabil-
ity enables the device to interface with any of National Semi-
conductor’s MICROWIRE peripherals (i.e., A/D converters,
display drivers, EEPROMS, etc.) and with other microcon-
trollers which support the MICROWIRE/PLUS interface. It
consists of an 8-bit serial shift register (SIO) with serial data
input (SI), serial data output (SO) and serial shift clock (SK).
Figure 5 shows the block diagram of the MICROWIRE/PLUS
interface.
The shift clock can be selected from either an internal source
or an external source. Operating the MICROWIRE/PLUS in-
terface with the internal clock source is called the Master
mode of operation. Operating the MICROWIRE/PLUS inter-
face with an external shift clock is called the Slave mode of
operation.
www.national.com
14