COP820CJ/COP822CJ/COP823CJ 8-Bit Microcontroller
with Multi-Input Wake Up and Brown Out Detector
General Description
The COP820CJ is a member of the COP8TM8-bit Microcontroller family. It is a fully static Microcontroller, fabricated
using double-metal silicon gate microCMOS technology.
This low cost Microcontroller is a complete microcomputer
containing all system timing, interrupt logic, ROM, RAM, and
I/O necessary to implement dedicated control functions in a
variety of applications. Features include an 8-bit memory
mapped architecture, MICROWIRE
timer/counter with capture register, a multi-sourced interrupt, Comparator, WATCHDOG
Brown out protection and Multi-Input Wakeup. Each I/O pin
has software selectable options to adapt the device to the
specific application. The device operates over a voltage
range of 2.5V to 6.0V. High throughput is achieved with an
efficient, regular instruction set operating at a 1 ms per instruction rate.
Key Features
Y
Multi-Input Wake Up (on the 8-bit Port L)
Y
Brown out detector
Y
Analog comparator
Y
Modulator/timer (High speed PWM for IR transmission)
Packages
Ð 16 SO with 12 I/O pins
Ð 20 DIP/SO with 16 I/O pins
Ð 28 DIP/SO with 24 I/O pins
CPU/Instruction Set Feature
Y
1 ms instruction cycle time
Y
Three multi-source vectored interrupts servicing
Ð External interrupt with selectable edge
Ð Timer interrupt
Ð Software interrupt
Y
Versatile and easy to use instruction set
Y
8-bit Stack Pointer (SP)Ðstack in RAM
Y
Two 8-bit register indirect data memory pointers (B, X)
Fully Static CMOS
Y
Low current drain (typicallyk1 mA)
Y
Single supply operation: 2.5V to 6.0V
Y
Temperature range:b40§Ctoa85§C
Development Support
Y
Emulation and OTP devices
Y
Real time emulation and full program debug offered by
MetaLink Development System
COP820CJ/COP822CJ/COP823CJ 8-Bit Microcontroller
with Multi-Input Wake Up and Brown Out Detector
Block Diagram
FIGURE 1. Block Diagram
TRI-STATEÉis a registered trademark of National Semiconductor Corporation.
TM
COP8
Microcontrollers, MICROWIRETM, MICROWIRE/PLUSTMand WATCHDOGTMare trademarks of National Semiconductor Corporation.
TM
iceMASTER
C
1996 National Semiconductor CorporationRRD-B30M106/Printed in U. S. A.
is a trademark of MetaLink Corporation.
TL/DD11208
TL/DD/11208– 1
http://www.national.com
COP820CJ/COP822CJ/COP823CJ
Absolute Maximum Ratings
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales
Office/Distributors for availability and specifications.
Supply Voltage (V
Voltage at any Pin
)7.0V
CC
b
0.3V to V
CC
a
0.3V
Total Current into VCCpin (Source)80 mA
DC Electrical Characteristics
b
40§CsT
ParameterConditionsMinTypMaxUnits
Operating VoltageBrown Out Disabled2.56.0V
Power Supply Ripple 1 (Note 1)Peak to Peak0.1 V
Supply Current (Note 2)
e
10 MHzV
CKI
e
4 MHzV
CKI
e
4 MHzV
CKI
CKIe1 MHzV
HALT Current with Brown Out
Disbled (Note 3)
HALT Current with Brown OutV
Enabled
e
6V, tce1 ms6.0mA
CC
e
6V, tce2.5 ms3.5mA
CC
e
4.0V, tce2.5 ms2.0mA
CC
e
4.0V, tce10 ms1.5mA
CC
e
6V, CKIe0 MHz
V
CC
e
6V, CKIe0 MHz
CC
Brown Out Trip Level
(Brown Out Enabled)
INPUT LEVELS (VIH,VIL)
Reset, CKI:
Logic High0.8 V
Logic Low0.2 V
All Other Inputs
Logic High0.7 V
Logic Low0.2 V
Hi-Z Input LeakageV
Input Pullup CurrentV
CC
CC
e
e
6.0V
6.0V, V
IN
L- and G-Port Hysteresis (Note 5)0.35 V
Output Current Levels
D Outputs:
e
SourceV
SinkV
L4–L7 Output SinkV
All Others
Source (Weak Pull-up Mode)V
Source (Push-pull Mode)V
Sink (Push-pull Mode)V
TRI-STATE Leakage
4.5V, V
CC
e
V
CC
e
CC
e
V
CC
e
CC
e
CC
e
V
CC
e
CC
e
V
CC
e
CC
e
V
CC
2.5V, V
4.5V, V
2.5V, V
4.5V, V
4.5V, V
2.5V, V
4.5V, V
2.5V, V
4.5V, V
2.5V, V
OH
OH
OL
OH
OL
OH
OH
OH
OH
OL
OL
Allowable Sink/Source
Current Per Pin
D Outputs15mA
L4–L7 (Sink)20mA
All Others3mA
Total Current out of GND pin (sink)80 mA
Storage Temperature Range
Absolute maximum ratings indicate limits beyond
Note:
b
65§Ctoa150§C
which damage to the device may occur.
DC and AC electrical specifications are not ensured when
operating the device at absolute maximum ratings.
s
a
85§C unless otherwise specified
A
CC
k
110 mA
k
50110mA
1.83.14.2V
CC
CC
b
2
e
0V
e
3.8V
e
1.8V
e
1.0V10mA
e
0.4V2mA
e
2.5V15mA
e
3.2V
e
1.8V
e
3.8V
e
1.8V
e
0.4V1.6mA
e
0.4V0.7mA
b
40
b
0.4mA
b
0.2mA
b
10
b
2.5
b
0.4mA
b
0.2mA
b
2.0
CC
CC
a
2mA
b
250mA
CC
b
110mA
b
33mA
a
2.0mA
V
V
V
V
V
V
http://www.national.com2
DC Electrical Characteristics
b
40§CsT
s
a
85§C unless otherwise specified (Continued)
A
ParameterConditionsMinTypMaxUnits
Maximum Input CurrentRoom Temperature
without Latchup (Note 4)
RAM Retention Voltage, V
r
500 ns Rise and
Fall Time (Min)
2.0V
g
100mA
Input Capacitance7pF
Load Capacitance on D21000pF
Note 1: Rate of voltage change must be less than 10 V/mS.
Note 2: Supply current is measured after running 2000 cycles with a square wave CKI input, CKO open, inputs at rails and outputs open.
Note 3: The HALT mode will stop CKI from oscillating in the RC and crystal configurations. HALT test conditions: L, and G0..G5 ports configured as outputs and set
high. The D port set to zero. All inputs tied to V
Note 4: Pins G6 and RESET
when biased at voltages greater than VCC(the pins do not have source current when biased at a voltage below VCC). The effective resistance to VCCis 750X
V
CC
(typical). These two pins will not latch up. The voltage at the pins must be limited to less than 14V.
are designed with a high voltage input network. These pins allow input voltages greater than VCCand the pins will have sink current to
. The comparator and the Brown Out circuits are disabled.
CC
AC Electrical Characteristics
b
40§CsT
s
a
85§C unless otherwise specified
A
ParameterConditionsMinTypMaxUnits
Instruction Cycle Time (tc)
s
Crystal/Resonator4.5V
R/C Oscillator4.5V
VCCRise Time when Using Brown OutV
Frequency at Brown Out Reset4MHz
s
V
6.0V1DCms
CC
s
s
2.5V
V
4.5V2.5DCms
CC
s
s
V
6.0V3DCms
CC
s
s
2.5V
V
4.5V7.5DCms
CC
e
0V to 6V50ms
CC
CKI Frequency For Modular Output4MHz
CKI Clock Duty Cycle (Note 5)freMax4060%
Rise Time (Note 5)fr
Fall Time (Note 5)fr
e
10 MHz ext. Clock12ns
e
10 MHz ext. Clock8ns
Inputs
t
Setup
t
Hold
Output Propagation DelayR
t
PD1,tPD0
SO, SK4.5VsV
4.5VsV
2.5V
4.5VsV
2.5V
L
2.5VsV
All Others4.5V
2.5V
s
6.0V200ns
CC
s
s
V
4.5V500ns
CC
s
6.0V60ns
CC
s
s
V
4.5V150ns
CC
e
2.2k, CLe100 pF
s
6.0V0.7ms
CC
s
4.5V1.75ms
CC
s
s
V
6.0V1ms
CC
s
s
V
4.5V5ms
CC
Input Pulse Width
Interrupt Input High Time1tc
Interrupt Input Low Time1tc
Timer Input High Time1tc
Timer Input Low Time1tc
MICROWIRE Setup Time (t
MICROWIRE Hold Time (t
MICROWIRE Output
Propagation Delay (t
mPD
)20ns
mWS
)56ns
mWH
)
220ns
Reset Pulse Width1.0ms
Note 5: Parameter characterized but not production tested.
http://www.national.com3
AC Electrical Characteristics (Continued)
FIGURE 2. MICROWIRE/PLUS Timing
TL/DD/11208– 2
Comparator DC and AC Characteristics 4V
s
s
V
6V,b40§CsT
CC
s
A
a
85§C (Note 1)
ParametersConditionsMinTypeMaxUnits
k
Input Offset Voltage0.4VkV
IN
b
V
1.5V
CC
Input Common Mode Voltage Range0.4V
g
10
g
25mV
b
1.5V
CC
Voltage Gain300kV/V
DC Supply Current (when enabled)V
Response TimeTBD mV Step,
Note 1: For comparator output current characteristics see L-Port specs.
e
6.0V250mA
CC
TBD mV Overdrive, 100 pF Load
1ms
Connection Diagrams
Top View
Top View
TL/DD/11208– 3
Order Number COPCJ822-XXX/N or
COPCJ822-XXX/WM
Order Number COPCJ820-XXX/N or
COPCJ820-XXX/WM
FIGURE 3. Connection Diagrams
http://www.national.com4
TL/DD/11208– 4
Top View
TL/DD/11208– 5
Order Number COPCJ823-XXX/WM
Typical Performance Characteristics
DynamicÐI
(Crystal Clock Option)
DD
vs V
CC
Ports L/G Weak
Pull-Up Source Current
Ports L4–L7
Sink Current
DD
vs V
CC
HaltÐI
(Brown Out Disabled)
Ports L/G Push-Pull
Source Current
HaltÐI
(Brown Out Enabled)
Ports L/G Push-Pull
Sink Current
DD
vs V
CC
Port D Source CurrentPort D Sink Current
Brown Out Voltage
vs Temperature
TL/DD/11208– 28
http://www.national.com5
COP820CJ Pin Assignment
Port
Typ
PinFunct.PinPinPin
L0I/OMIWU/CMPOUT5711
L1I/OMIWU/CMPIN
L2I/OMIWU/CMPIN
L3I/OMIWU81014
L4I/OMIWU91115
L5I/OMIWU101216
L6I/OMIWU111317
L7I/OMIWU/MODOUT121418
G0I/OINTR1725
G1I/O1826
G2I/O1927
G3I/OTIO152028
G4I/OSO11
G5I/OSK1622
G6ISI133
G7ICKO244
I0I7
I1I8
I2I9
I3I10
D0O19
D1O20
D2O21
D3O22
V
CC
GND131523
CKI355
RESET141624
ALT162028
b
6812
a
7913
466
Pin Description
VCCand GND are the power supply pins.
CKI is the clock input. This can come from an external
source, a R/C generated oscillator or a crystal (in conjunction with CKO). See Oscillator description.
RESET
is the master reset input. See Reset description.
PORT I is a 4-bit Hi-Z input port.
PORT L is an 8-bit I/O port.
There are two registers associated with the L port: a data
register and a configuration register. Therefore, each L
I/O bit can be individually configured under software control
as shown below:
Port LPort LPort L
Config.DataSetup
00Hi-Z Input (TRI-STATE)
01Input with Weak Pull-up
10Push-pull Zero Output
11Push-pull One Output
Three data memory address locations are allocated for this
port, one each for data register[00D0], configuration register[00D1]and the input pins[00D2].
Port L has the following alternate features:
L0 MIWU or CMPOUT
L1 MIWU or CMPIN
L2 MIWU or CMPIN
L3 MIWU
L4 MIWU (high sink current capability)
L5 MIWU (high sink current capability)
L6 MIWU (high sink current capability)
L7 MIWU or MODOUT (high sink current capability)
The selection of alternate Port L functions is done through
registers WKEN[00C9]to enable MIWU and CNTRL2
[
00CC]to enable comparator and modulator.
All eight L-pins have Schmitt Triggers on their inputs.
PORT G is an 8-bit port with 6 I/O pins (G0–G5) and 2 input
pins (G6, G7).
All eight G-pins have Schmitt Triggers on the inputs.
There are two registers associated with the G port: a data
register and a configuration register. Therefore each G port
bit can be individually configured under software control as
shown below:
Port GPort GPort G
Config.DataSetup
00Hi-Z Input (TRI-STATE)
01Input with Weak Pull-up
10Push-pull Zero Output
11Push-pull One Output
Three data memory address locations are allocated for this
port, one for data register[00D3], one for configuration register[00D5]and one for the input pins[00D6]. Since G6
and G7 are Hi-Z input only pins, any attempt by the user to
configure them as outputs by writing a one to the configuration register will be disregarded. Reading the G6 and G7
configuration bits will return zeros. Note that the device will
be placed in the Halt mode by writing a ‘‘1’’ to the G7 data
bit.
Six pins of Port G have alternate features:
G0 INTR (an external interrupt)
G3 TIO (timer/counter input/output)
G4 SO (MICROWIRE serial data output)
G5 SK (MICROWIRE clock I/O)
G6 SI (MICROWIRE serial data input)
G7 CKO crystal oscillator output (selected by mask option)
or HALT restart input/general purpose input (if clock
option is R/C or external clock)
b
a
http://www.national.com6
Pin Description (Continued)
Pins G1 and G2 currently do not have any alternate functions.
The selection of alternate Port G functions are done through
registers PSW[00EF]to enable external interrupt and
CNTRL1[00EE]to select TIO and MICROWIRE operations.
PORT D is a four bit output port that is preset when RESET
goes low. One data memory address location is allocated
for the data register[00DC].
Note: Care must be exercised with the D2 pin operation. At RESET, the
external loads on this pin must ensure that the output voltages stay above
to prevent the chip from entering special modes. Also keep the
0.8 V
CC
external loading on D2 to less than 1000 pF.
Functional Description
The internal architecture is shown in the block diagram.
Data paths are illustrated in simplified form to depict how
the various logic elements communicate with each other in
implementing the instruction set of the device.
ALU and CPU Registers
The ALU can do an 8-bit addition, subtraction, logical or
shift operations in one cycle time. There are five CPU registers:
Ais the 8-bit Accumulator register
PC is the 15-bit Program Counter register
PU is the upper 7 bits of the program counter (PC)
PL is the lower 8 bits of the program counter (PC)
Bis the 8-bit address register and can be auto incre-
mented or decremented.
Xis the 8-bit alternate address register and can be auto
incremented or decremented.
SP is the 8-bit stack pointer which points to the subrou-
tine stack (in RAM).
B, X and SP registers are mapped into the on chip RAM.
The B and X registers are used to address the on chip RAM.
The SP register is used to address the stack in RAM during
subroutine calls and returns. The SP must be preset by software upon initialization.
Memory
The memory is separated into two memory spaces: program
and data.
PROGRAM MEMORY
Program memory consists of 1024 x 8 ROM. These bytes of
ROM may be instructions or constant data. The memory is
addressed by the 15-bit program counter (PC). ROM can be
indirectly read by the LAID instruction for table lookup.
DATA MEMORY
The data memory address space includes on chip RAM, I/O
and registers. Data memory is addressed directly by the instruction or indirectly through B, X and SP registers. The
device has 64 bytes of RAM. Sixteen bytes of RAM are
mapped as ‘‘registers’’, these can be loaded immediately,
decremented and tested. Three specific registers: X, B, and
SP are mapped into this space, the other registers are available for general usage.
Any bit of data memory can be directly set, reset or tested.
All I/O and registers (except A and PC) are memory
mapped; therefore, I/O bits and register bits can be directly
and individually set, reset and tested, except the write once
only bit (WDREN, WATCHDOG Reset Enable), and the unused and read only bits in CNTRL2 and WDREG registers.
Note: RAM contents are undefined upon power-up.
Reset
EXTERNAL RESET
The RESET input pin when pulled low initializes the microcontroller. The user must insure that the RESET pin is held
low until V
clock is stabilized. An R/C circuit with a delay 5x greater
than the power supply rise time is recommended
The device immediately goes into reset state when the
RESET input goes low. When the RESET pin goes high the
device comes out of reset state synchronously. The device
will be running within two instruction cycles of the RESET
pin going high. The following actions occur upon reset:
The device comes out of the HALT mode when the RESET
pin is pulled low. In this case, the user has to ensure that the
RESET signal is low long enough to allow the oscillator to
restart. An internal 256 t
tion with the two pin crystal oscillator. When the device
comes out of the HALT mode through Multi-Input Wakeup,
this delay allows the oscillator to stabilize.
The following additional actions occur after the device
comes out of the HALT mode through the RESET pin.
If a two pin crystal/resonator oscillator is being used:
RAM ContentsUNCHANGED
Timer T1 and A ContentsUNKNOWN
WATCHDOG Timer Prescaler/CounterALTERED
is within the specified voltage range and the
CC
(Figure 4)
Reset
UNAFFECTED with external
Reset (power already applied)
loaded with FF
delay is normally used in conjunc-
c
.
http://www.national.com7
Functional Description (Continued)
If the external or RC Clock option is being used:
RAM ContentsUNCHANGED
Timer T1 and A ContentsUNCHANGED
WATCHDOG Timer Prescaler/CounterALTERED
The external RESET takes priority over the Brown Out Reset.
Note: If the RESET pin is pulled low while Brown Out occurs (Brown Out
circuit has detected Brown Out condition), the external reset will not
occur until the Brown Out condition is removed. External reset has
priority only if V
RCl5cPower Supply Rise TimeTL/DD/11208– 6
FIGURE 4. Recommended Reset Circuit
WATCHDOG RESET
With WATCHDOG enabled, the WATCHDOG logic resets
the device if the user program does not service the WATCHDOG timer within the selected service window. The
WATCHDOG reset does not disable the WATCHDOG.
Upon WATCHDOG reset, the WATCHDOG Prescaler/
Counter are each initialized with FF Hex.
The following actions occur upon WATCHDOG reset that
are different from external reset.
The on-board Brown Out protection circuit resets the device
when the operating voltage (V
Out voltage. The device is held in reset when V
below the Brown Out Voltage. The device will remain in
is greater than the Brown Out voltage.
CC
each loaded with FF
) is lower than the Brown
CC
CC
stays
RESET as long as V
Device will resume execution if V
Out Voltage. If a two pin crystal/resonator clock option is
is below the Brown Out Voltage. The
CC
rises above the Brown
CC
selected, the Brown Out reset will trigger a 256tc delay. This
delay allows the oscillator to stabilize before the device exits the reset state. The delay is not used if the clock option is
either R/C or external clock. The contents of data registers
and RAM are unknown following a Brown Out reset. The
external reset takes priority over Brown Out Reset and will
deactivate the 256 tc cycles delay if in progress. The Brown
Out reset takes priority over the WATCHDOG reset.
The following actions occur as a result of Brown Out reset:
coming out of the HALT
(through Brown Out
Reset) with any Clock
option
Note: The development system will detect the BROWN OUT RESET exter-
nally and will force the RESET
does not emulate the 256tc delay.
pin low. The Development System
Brown Out Detection
An on-board detection circuit monitors the operating voltage
(V
) and compares it with the minimum operating voltage
CC
specified. The Brown Out circuit is designed to reset the
device if the operating voltage is below the Brown Out voltage (between 1.8V to 4.2V at
b
40§Ctoa85§C). The Minimum operating voltage for the device is 2.5V with Brown
Out disabled, but with BROWN OUT enabled the device is
guaranteed to operate properly down to minimum Brown
Out voltage (Max frequency 4 MHz
of 0
Cto70§C the Brown Out voltage is expected to be
§
between 1.9V to 3.9V. The circuit can be enabled or dis-
), For temperature range
abled by Brown Out mask option. If the device is intended to
operate at lower V
max), the Brown Out circuit should be disabled by the mask
(lower than Brown Out voltage VBO
CC
option.
The Brown Out circuit may be used as a power-up reset
provided the power supply rise time is slower than 50 ms (0V
to 6.0V).
Note: Brown Out Circuit is active in HALT mode (with the Brown Out mask
option selected).
http://www.national.com8
Functional Description (Continued)
Oscillator Circuits
EXTERNAL OSCILLATOR
CKI can be driven by an external clock signal provided it
meets the specified duty cycle, rise and fall times, and input
levels. CKO is available as a general purpose input G7
and/or Halt control.
CRYSTAL OSCILLATOR
By selecting CKO as a clock output, CKI and CKO can be
connected to create a crystal controlled oscillator. Table I
shows the component values required for various standard
crystal values.
R/C OSCILLATOR
By selecting CKI as a single pin oscillator, CKI can make a
R/C oscillator. CKO is available as a general purpose input
and/or HALT control. Table II shows variation in the oscillator frequencies as functions of the component (R and C)
values.
FIGURE 5. Clock Oscillator Configurations
TABLE I. Crystal Oscillator Configuration
R1R2C1C2CKI Freq.
(kX)(MX)(pF)(pF)(MHz)
013030– 3610V
013030– 364V
5.61100100 –1560.455V
TABLE II. RC Oscillator Configuration (Part-To-Part Variation)
RCCK1 Freq.Instr. Cycle
(kX)(pF)(MHz)(ms)
3.3822.2 to 2.73.7 to 4.6V
5.61001.1 to 1.37.4 to 9.0V
6.81000.9 to 1.18.8 to 10.8V
Conditions
e
CC
e
CC
e
CC
Conditions
e
5V
CC
e
5V
CC
e
5V
CC
TL/DD/11208– 7
5V
5V
5V
http://www.national.com9
Functional Description (Continued)
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
register. 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 output). It may be used either with an RC clock configuration or
an external clock configuration. The second method of exiting the HALT mode is with the multi-Input Wakeup 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 Wakeup or Brown Out causes the device to exit
the HALT mode, the WAKEUP signal does not allow the
chip to start running immediately since crystal oscillators
have a delayed start up time to reach full amplitude and
freuqency stability. The WATCHDOG timer (consisting of an
8-bit prescaler followed by an 8-bit counter) is used to generate a fixed delay of 256tc to ensure that the oscillator has
indeed stabilized before allowing instruction execution. In
this case, upon detecting a valid WAKEUP signal only the
oscillator 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
amplitude to meet the Schmitt trigger specs. This Schmitt
trigger is not part of the oscillator closed loop. The start-up
timeout from the WATCHDOG timer enables the clock signals to be routed to the rest of the chip. The delay is not
activated 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 256tc delay.
The RESET
pin or Brown Out will cause the device to reset
and start executing from address X’0000. A low to high transition on the G7 pin (if single pin oscillator is used) or MultiInput Wakeup 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
option is selected, the contents of the Accumulator and the
Timer T1 are undetermined following the reset. All other
information except the WATCHDOG Prescaler/Counter
contents 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
contents is retained if the device exits the HALT mode
through G7 pin or Multi-Input Wakeup.
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 purpose input.
If the Brown Out Enable mask option is selected, the Brown
Out circuit remains active during the HALT mode causing
additional 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.
http://www.national.com10
Loading...
+ 22 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.