7.08 X 8 Hardware Multiplier..................................................................................................................................85
18.0Low Voltage Detect..........................................................................................................................................203
19.0Special Features of the CPU...........................................................................................................................207
20.0Instruction Set Summary .................................................................................................................................215
Appendix D: Migrating from other PICmicro Devices.................................................................................................304
Appendix E: Development Tool Version Requirements.............................................................................................305
Index ...........................................................................................................................................................................307
DS39541A-page 6Advance Information 2001 Microchip Technology Inc.
PIC18C601/801
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or c omm ents regarding th is publication, p lease c ontact the M a rketing Communications Department via
E-mail at docerrors@mail.microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150.
We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
• The Microchip Corporate Literature Center; U.S. FAX: (480) 792-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include literature number) you are using.
Customer Notification System
Register on our web site at www.microchip.com/cn to receive the most current information on all of our products.
Legend:TTL = TTL compatible i nput CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels Analog = Analog input
I= Input O= Output
P= Power OD= Open Drain (no P diode to V
PIC18C601PIC18C801
TQFPPLCCTQFPPLCCDescription
716920
—1, 18,
35, 52
39504962
40515063
—1, 22,
43, 64
Pin
Type
——These pins should be left
Buffer
Type
I
P
IICMOS/ST
O
O
STMaster clear (RESET) input. This pin is
CMOS
—
—
an active low RESET to the device.
Programming voltage in put.
unconnected.
Oscillator crystal inp ut or ex te rnal clock
source input. ST buffer when in RC
mode. Otherwise CMOS.
External clock source inp ut.
Always associated with pi n f unction
OSC1 (see OSC1/CLKI, OSC2/CLKO
pins).
Oscillator crystal outp ut .
Connects to crystal or resonator in
Crystal Oscillator mode.
In RC mode, OSC2 pin ou tp ut s C LKO,
which has 1/4 the
frequency of OSC1 an d den ot es the
instruction cycle rate.
DD)
DS39541A-page 12Advance Information 2001 Microchip Technology Inc.
PIC18C601/801
TABLE 1-2: PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Number
Pin Name
RA0/AN0
RA0
AN0
RA1/AN1
RA1
AN1
RA2/AN2/V
RA3/AN3/VREF+
RA4/T0CKI
RA5/AN4/SS
Legend:TTL = TTL compatible i nput CMOS = CMOS compatible input or output
REF-
RA2
AN2
REF-
V
RA3
AN3
REF+
V
RA4
T0CKI
/LVDIN
RA5
AN4
SS
LVDIN
ST = Schmitt Trigger input with CMOS levels Analog = Analog input
I= Input O= Output
P= Power OD= Open Drain (no P diode to V
PIC18C601PIC18C801
TQFPPLCCTQFPPLCCDescription
24343042
23332941
22322840
21312739
28393447
27383346
Pin
Type
I/O
I/O
I/O
I/O
I/O
I/O
Buffer
Type
PORTA is a bi-directional I/O port.
TTL
I
Analog
TTL
I
Analog
TTL
I
Analog
I
Analog
TTL
I
Analog
I
Analog
ST/OD
I
I
I
I
ST
TTL
Analog
ST
Analog
Digital I/O.
Analog input 0.
Digital I/O.
Analog input 1.
Digital I/O.
Analog input 2.
A/D reference voltage (L ow) inp ut .
Digital I/O.
Analog input 3.
A/D reference voltage (High) input.
Digital I/O – Open drain when
configured as output.
Timer0 external clock input.
Digital I/O.
Analog input 4.
SPI slave select input.
Low voltage detect input .
Legend:TTL = TTL compatible i nput CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels Analog = Analog input
I= Input O= Output
P= Power OD= Open Drain (no P diode to V
PIC18C601PIC18C801
TQFPPLCCTQFPPLCCDescription
——3952
——4053
——4154
——4255
——5973
——6074
——6175
——6276
41, 56
38, 57
19, 36,
53, 68
2, 20,
37, 49
11,31,
51, 70
12,32,
48, 71
23, 44,
65, 84
2, 24,
45, 61
Pin
Type
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Buffer
Type
PORTJ is a bi-directional I/O port.
ST
TTL
ST
TTL
ST
TTL
ST
TTL
ST
TTL
ST
TTL
ST
TTL
ST
TTL
P—Ground reference for logic and I/O pins.
P—Positive supply fo r logic and I/O pins.
Digital I/O.
System bus data bit 0.
Digital I/O.
System bus data bit 1.
Digital I/O.
System bus data bit 2.
Digital I/O.
System bus data bit 3.
Digital I/O.
System bus data bit 4.
Digital I/O.
System bus data bit 5.
Digital I/O.
System bus data bit 6.
Digital I/O.
System bus data bit 7.
DD)
DS39541A-page 20Advance Information 2001 Microchip Technology Inc.
PIC18C601/801
2.0OSCILLATOR
CONFIGURATIONS
2.1Oscillator Types
PIC18C601/801 can be operated in one of four o sc ill ator modes, programmable by configuration bits
FOSC1:FOSC0 in CONFIG1H register:
1.LPLow Power Crystal
2.HSHigh Speed Crys tal/Resonator
3.RCExternal Resistor/Capacitor
4.ECExternal Clock
2.2Crystal Oscillator/Ceramic
Resonators
In LP or HS oscillator modes, a crystal or ceramic resonator is connected to the OSC1 and OSC2 pins to
establish oscillation. Figure 2-1 shows the pin connections. An external c lock so urce may also be connecte d
to the OSC1 pin, as shown in Figure 2-3 and Figure 2-4.
PIC18C601/801 oscillator design requires the use of a
parallel cut crystal.
Note:Use of a series cut crystal may give a fre-
quency out of the crystal manufacturer’s
specifications.
of the oscillator, but also increases the
start-up time.
3: Since each resonator/crystal has its own
characteristics, the u ser shoul d consult th e
resonator/crystal manufacturer for appropriate values of external components.
4: Rs may be required in HS mode to avoid
overdriving crystals with low drive level
specification.
2.3RC Oscillator
For timing insensitive applications, the "RC" oscillator
mode offers additional cost savings. The RC oscillator
frequency is a function of the supply volta ge, t he re sis -
EXT) and capacitor (CEXT) values and the operat-
tor (R
ing temperature. In addition to this, the oscillator
frequency will vary from unit to unit due to normal process paramete r variatio n. Further more, the d ifference
in lead frame capacitance between package types will
also affect the oscillation frequency, especially for low
EXT values. The user also needs to take into account
C
variation due t o t ole ranc e of ex ter nal R an d C c om ponents used. Figu re 2-2 shows how the RC comb inatio n
is connected.
In the RC oscillator mode, the oscillator frequency
divided by 4 is available on the OSC2 pin. This signal
may be used f or t e st pu r pos es or t o sy nc hr o n iz e ot he r
logic.
FIGURE 2-2:RC OSCILLATOR MODE
VDD
REXT
OSC1
CEXT
VSS
OSC/4
F
or I/O
Recommended values: 3 kΩ ≤ REXT ≤ 100 kΩ
OSC2/CLKO
C
EXT > 20pF
PIC18C601/801
Internal
Clock
DS39541A-page 22Advance Information 2001 Microchip Technology Inc.
PIC18C601/801
2.4External Clock Input
The EC oscillator mode requires an external clock
source to be con nected to the OSC1 p in. The fe edback
device between O S C1 a nd OSC2 is turned off in these
modes to save current. There is no oscillator start-up
time required after a Power-on Reset or after a
recovery from SLEEP mode.
In the EC oscillator mode, the oscillator frequency
divided by 4 is available on the OSC2 pin. This signal
may be used f or t e st pu r pos es or t o sy nc hr o n iz e ot he r
logic. Figure 2-3 shows the pin connections for the EC
oscillator mode.
FIGURE 2-3:EXTERNAL CLOCK INPUT
OPERATION (EC OSC
CONFIGURATION)
Clock from
ext. system
OSC/4
F
FIGURE 2-4:PLL BLOCK DIAGRAM
OSC1
PIC18C601/801
OSC2
2.5HS4 (PLL)
A Phase Lock Loop (PLL) circuit is provided as a software programmable optio n for us ers tha t want to m ultiply the frequency of the incoming crystal oscillator
signal by 4. For an input clock frequency of 6 MHz, th e
internal clock frequency will be multiplied to 24 MHz.
This is use ful for custom ers who are conc erned with
EMI due to high frequency crystals.
The PLL is enabled by configuring HS oscillator mode
and setting the PLLEN bit in the OSCON register. If HS
oscillator mode is not selected, or PLLEN bit in
OSCCON register is clear, the PLL is not enabled and
the system clock will come directly from OSC1. HS
oscillator mode i s the d efa ult fo r PIC 1 8C60 1/80 1. In all
other modes, the PLLEN bit and the SCS1 bit are
forced to ‘0’.
A PLL lock timer is used to ensure that the PLL has
locked before device execution starts. The PLL lock
timer has a time-out, referred to as T
PIC18C601/801 devices include a feature that allows
the system clock source to be switched from the main
oscillator t o an alternate lo w frequency clock s ource.
For PIC18C601/801 devices, this alternate clock
source is the Timer1 oscillator. If a low frequency crystal (32 kHz, for example) has been attached to the
Timer1 oscillator pins and the Timer1 oscillator has
been enabled, the device can switch to a low power
execution mode. Figure 2-5 shows a block diagram of
the system clock sources.
FIGURE 2-5:DEVICE CLOCK SOURCES
PIC18C601/801
OSC2
OSC1
T1OSO
T1OSI
Main Oscillator
SLEEP
Timer 1 Oscillator
T1OSCEN
Enable
Oscillator
2.6.1SYSTEM CLOCK SWITCH BIT
The system clock source switching is performed under
software control. The system clock switch bit, SCS0
(OSCCON register), controls the clock switching. When
the SCS0 bit is ’0’, the system clock source comes from
the main oscillator, selected by the FOSC2:FOSC0 co nfiguration bits in C ONFIG1H registe r . When the SCS0 b it
is set, the system clock source will come from the Timer1
oscillator . The SCS0 bit is cle ared on all forms of RESET.
Note:The Timer1 oscillator must be enabled to
switch the system clock source. The
Timer1 oscillator is enabled by setting the
T1OSCEN bit in the T imer1 c ontrol register
(T1CON). If the Timer1 oscillator is not
enabled, an y write to the SCS0 bi t will be
ignored (SCS0 bit forced cleared) and the
main oscillator will continue to be the system clock source.
OSC/4
4 x PLL
TOSC
TT1P
T
MUX
Clock
Source
TSCLK
Clock Source option
for other modules
Note: I/O pins have diode protection to VDD and VSS.
DS39541A-page 24Advance Information 2001 Microchip Technology Inc.
REGISTER 2-1:OSCCON REGISTER
U-0U-0U-0U-0R/W-0R/W-0R/W-0R/W-0
————LOCKPLLENSCS1SCS0
bit 7bit 0
bit 7-4Unimplemented: Read as '0'
bit 3LOCK: Phase Lock Loop Lock Status bit
1 = Phase Lock Loop output is stable as system clock
0 = Phase Lock Loop output is not stable and cannot be used as system clock
bit 2PLLEN: Phase Lock Loop Enable bit
1 = Enable Phase Lock Loop output as system clock
0 = Disable Phase Lock Loop
bit 1SCS1: System Clock Switch bit 1
When PLLEN and LOCK bit are set:
1 = Use PLL output
0 = Use primary oscillator/clock input pin
When PLLEN bit or LOCK bit is cleared:
Bit is forced clear
bit 0SCS0: System Clock Switch bit 0
When T1OSCEN bit is set:
1 = Switch to Timer1 oscillator/clock pin
0 = Use primary oscillator/clock input pin
When T1OSCEN is cleared:
Bit is forced clear
PIC18C601/801
Legend:
R = Readable bitW = Writable bitU = Unimplemented bit, read as ‘0’
- n = Value at POR’1’ = Bit is set’0’ = Bit is clearedx = Bit is unknown
2.6.2OSCIL LA T OR TRANSITIONS
PIC18C601/801 devices contain circuitry to prevent
"glitches" when switching between oscillator sources.
Essentially, the circuitry waits for eight rising edges of
the clock source that the processor is switching to.
This ensures that the new clock source is stable and
that its pulse width will not be less than the shortest
pulse width of the two clock sources.
A timing diagram indicati ng the transition from the main
oscillator to the Timer1 oscillator is shown in Figure 2-6.
The Timer1 oscillator is assumed to be running all the
time. After the SCS0 bit is set, the processor is frozen
at the next occurri ng Q1 c ycle . Af ter eig ht sy nchroniz ation cycles are counted from the T imer1 oscilla tor, operation resumes. No additional delays are required after
the synchronization cycles.
The sequence of events that takes place when switching from the Timer1 oscillator to the main oscillator will
depend on the mode of the main oscillator. In addition
to eight clock cycles of the main oscillator, additional
delays may take place.
If the main oscillator is configured for an external crystal (HS, LP), the transition will ta ke pl ac e a f ter an oscillator start-up time (T
diagram indicating the transition from the Timer1 oscillator to the main oscillator for HS and LP modes is
shown in Figure 2-7.
FIGURE 2-6:TIMING DIAGRAM FOR TRANSITION FROM OSC1 TO TIMER1 OSCILLATOR
Q1
T1OSI
OSC1
Internal
System
Clock
SCS0
(OSCCON<0>)
Program
Counter
Note: Delay on internal system clock is eight oscillator cycles for synchronization.
TOSC
Q1
TDLY
TT1P
2134 5678
TSCS
PC + 2PC
Q3Q2Q1Q4Q3Q2
Q4Q1
Q2Q3Q4Q1
PC + 4
FIGURE 2-7:TIMING DIAGRAM FOR TRANSITION BETWEEN TIMER1 AND OSC1 (HS, LP)
Q3
T1OSI
OSC1
OSC2
Internal System
Clock
SCS0
(OSCCON<0>)
Q3Q4
Q1
12345678
TOST
TOSC
TT1P
TSCS
Q1 Q2 Q3 Q4 Q1 Q2
Program Counter
Note: TOST = 1024TOSC (drawing not to scale).
PC
PC + 2
PC + 4
DS39541A-page 26Advance Information 2001 Microchip Technology Inc.
PIC18C601/801
If the main oscillator is configured for HS4 (PLL) mode
with SCS1 bit set to ‘1’, an oscillator start-up time
(T
OST), plus an additional PLL time-out (TPLL) will
occur . The PLL tim e-out is typica lly 2 ms an d allows the
PLL to lock to the main oscillator frequency. A timing
diagram indicating the transition from the Timer1 oscillator to t he main oscill ator for HS4 m ode is shown in
Figure 2-8.
If the main oscill ator is confi gured for HS4 (PLL) m ode,
with SCS1 bit set to ‘0’, only oscillator start-up time
OST) will occur. Since SCS 1 bi t is se t to ‘0’, PLL out-
(T
put is not used, so the sys te m os ci ll ator w i ll c ome from
OSC1 directly and additional delay of TPLL is not
required. A timing diagram indica ting the transit ion from
the Timer1 oscillator to the main oscillator for HS4
mode is shown in Figure 2-9.
If the main oscillator is configured in the RC or EC
modes, there is no osci llator sta rt-up t ime-out. Operation will resume af ter ei ght cycle s of the m ain osc il lator
have been counted. A timing diagram indicating the
transition from the T ime r1 osci llator to the main os cill ator for RC and EC modes is shown in Figure2-10.
FIGURE 2-8:TIMING FOR TRANSITION BETWEEN TIMER1 AND OSC1 (HS4 WITH SCS1 = 1)
Q3
PC + 4
Q4
T1OSI
OSC1
OSC2
PLL Clock
Input
Internal System
Program Counter
Clock
SCS0
(OSCCON<0>)
Q4Q1
TOST
PCPC + 2
TPLL
TOSC
TT1P
TSCS
12345678
Q1 Q2 Q3 Q4 Q1 Q2
OST = 1024TOSC (drawing not to scale).
Note: T
FIGURE 2-9:TIMING FOR TRANSITION BETWEEN TIMER1 AND OSC1 (HS4 WITH SCS = 0)
FIGURE 2-10:TIMING FOR TRANSITION BETWEEN TIMER1 AND OSC1 (RC, EC)
Q3Q4
Q1
TT1P
Q1 Q2 Q3 Q4 Q1 Q2 Q3
Q4
T1OSI
OSC1
OSC2
Internal System
Clock
SCS0
(OSCCON<0>)
Program Counter
Note: RC oscillator mode assumed.
PCPC + 2
2.6.3SCS0, SCS 1 PRIORITY
If both SCS0 and SCS1 are set to ‘1’ simultaneously,
the SCS0 bit has priority over the SCS1 bit. This means
that the low power option will t ake prece dence over the
PLL option. If both bit s are cle ared si mult a neous ly, the
system clock will come from OS C1, after a TOST timeout. If only the SCS0 bit is c leared, the system c lock will
2.7Effects of SLEEP Mode on the
On-Chip Oscillator
When the device executes a SLEEP instruction, the
on-chip clocks and oscillator are turned off and the
device is held at the beginning of an instruction cycle
(Q1 state). With the os ci lla tor o f f, the OSC1 and OSC2
signals will stop oscillating. Since all the transistor
switching currents have been removed, SLEEP mode
achieves the lowest current consumption of the device
(only leakage currents). Enabling any on-chip feature
that will operate during SLEEP, will increase the cur-
TOSC
1
45678
23
TSCS
PC + 4
rent consumed during SLEEP. The user can wake from
SLEEP through external RESET, Watchdog Timer
Reset, or through an interrupt.
2.8Power-up Delays
Power-up delays are controlled by two timers, so that
no external RESET circuitry is required for most applications. The delays ensure that the device is kept in
RESET until the device power sup ply and clock are st able. For additional information on RESET operation,
see Section 3.0 RESET .
The first timer is the Power-up Ti mer (PWRT), which
optionally provides a fixed delay of T
#33) on power-up only. The second timer is the Oscillator St art-u p T i mer (O ST), in tended to keep the c hip in
RESET until the crystal oscillator is stable.
PIC18C601/801 devices provide a configuration bit,
PWRTEN
in CONFIG2L register, to enable or disable
the Power-up Timer. By default, the Power-up Timer is
enabled.
With the PLL enabled (HS4 osc illator mode), the time-ou t
sequence fol lowing a Power-o n Reset is different fr om
other oscillator modes. The time-out sequence is as follows: the PWRT time-out is invoked after a POR time
delay has expired, then, the Oscillator Start-up Timer
(OST) is i nvoked. However, this is still not a sufficie nt
amount of time to allow the PLL to lock at high frequencies. The PWRT ti mer is used to prov ide an addition al
time-out, called T
PLL (parameter #7), to allow the PLL
ample time to l oc k to the incoming cl oc k frequency.
PWRT (parameter
TABLE 2-4:OSC1 AND OSC2 PIN STATES IN SLEEP MODE
OSC ModeOSC1 PinOSC2 Pin
RCFloating, external resistor should pull highAt logic low
ECFloatingAt logic low
LP and HS Feedback inverter disabled, at quiescent voltage level Feedback inverter disabled, at quiescent voltage level
Note:See Table 3-1 in Section 3.0 RESET, for time-outs due to SLEEP and MCLR Reset.
DS39541A-page 28Advance Information 2001 Microchip Technology Inc.
PIC18C601/801
3.0RESET
Most registers are not affected by a WDT wake-up,
since this is viewed as the resumption of normal oper-
PIC18C601/801 devices differentiate between various
kinds of RESET:
a)Power-on Reset (POR)
b)MCLR
Reset during normal operation
c)MCLR Reset during SLEEP
d)Watchdog Timer (WDT) Reset during normal
operation
e)RESET Instruction
f)Stack Full Reset
g)Stack Underflow Reset
Most registers are una ffected b y a RESET. Their status
is unknown on POR and unchanged by all other
ation. Status bits from the RCON regi ster, RI
and POR, are set or cleared differently in different
RESET situations, as i ndicated in Table 3-2. These bits
are used in software to determine the nature of the
RESET. See Table 3-3 for a full description of the
RESET states of all registers.
A simplified block diagram of the on-chip RESET circuit
is shown in Figure 3-1.
PIC18C601/801 has a MCLR
noise filter in the MCLR
Reset path. The filter will detect and ignore small
pulses.
A WDT Reset does not drive MCLR
pin low.
RESETS. The other registers are forced to a “RESET”
state on Power-on Reset, MCLR
, WDT Reset, MCLR
Reset during SLEEP, and by the RESET instruction.
FIGURE 3-1:SIMPLIFIED BLOCK DIAGRAM OF THE ON-CHIP RESET CIRCUIT
RESET
Instruction
Stack
Pointer
Stack Full/Underflow Reset
External Reset
, TO, PD
MCLR
WDT
Module
VDD Rise
VDD
OSC1
Note 1: This is a separate oscillator from the RC oscillator of the CLKI pin.
A Power-on Reset pulse is generated on-chip when a
DD rise is detected. To take advantage of the POR cir-
V
cuitry, connect the MCLR
resistor) to V
DD. This will eliminate ext ernal RC compo-
nents usually needed to create a Power-on Reset
delay . A minimum rise rat e for V
eter D004). For a slow rise time, see Figure 3-2.
When the device starts normal operation (exits the
RESET condition), device operating parameters (voltage, frequency, temperature, etc.) must be met to
ensure operation. If these conditions are not met, the
device must be held in RESET until the operating conditions are m et . Po wer - on R e s et ma y b e us ed t o m ee t
the voltage start-up condition.
FIGURE 3-2:EXTERNAL POWER-ON
V
DD
D
R
C
Note 1: External Power-on Reset circuit is required only
2: R < 40 kΩ is recommended to make sure that
3: R1 = 100Ω to 1 kΩ will limit any current flowing
DD power-up slope is too slow. The diode
if the V
D helps discharge the capacitor quickly when
V
DD powers down.
the voltage drop across R does not violate the
device’s electrical specification.
into MCLR
event of MCLR/
Electrostatic Discharge (ESD), or Electrical
Overstress (EOS).
pin directly (or through a
DD is specified (p aram-
RESET CIRCUIT (FOR
SLOW V
from external capacitor C, in the
VPP pin breakdown due to
DD POWER-UP)
R1
MCLR
PIC18C601/801
3.3Oscillator Start-up Timer (OST)
The Oscillator Start-up Timer (OST) provides 1024
oscillator cycle (from OSC1 input) delay after the
PWRT delay is over (para meter #32). Th is ensures th at
the crystal oscillator or resonator has started and
stabilized.
The OST time-out is invoked only for LP, HS and HS4
modes and only on Power-on Reset or wake-up from
SLEEP.
3.4PLL Lock Time-out
With the PLL enabled, the time-ou t sequen ce foll owin g
a Power-on Reset is different from other oscillator
modes. A portion of the Pow er-up T imer is used to provide a fixed time-out th at is suff icient for the PLL to lock
to the main oscillato r frequency. This PLL lock time-out
PLL) is typically 1 ms and follows the oscillator start-
(T
up time-out (OST).
3.5Time-out Sequence
On power-up, the time-out sequence is as follows:
First, PWRT time-out is invoked after the POR time
delay has expired; then, OST is activated. The total
time-out will vary based on oscillator configuration and
the status of th e PWRT. For example, in RC mode wi th
the PWRT disabled, there will be no time-out at all.
Figure 3-3, Figure 3-4, Figure 3-5, Figure 3-6 and
Figure 3-7 depict time-out sequences on power-up.
Since the time-outs occur from the POR pulse, if MC LR
is kept low long enough, the time-outs will expire.
Bringing MCLR
(Figure 3-5). This is useful for testing purposes or to
synchronize more than one PIC18C601/801 device
operating in parallel.
Table 3-2 shows the RESET conditions for some
Special Function Registers, while Table 3-3 shows the
RESET conditions for all registers.
high will begin execution immediately
3.2Power-up Timer (PWRT)
The Power-up Timer provides a fixed nominal time-out
(parameter #33), only on power-up from the POR. The
Power-up Timer operates on an internal RC oscillator.
The chip is kept in RESET as long as the PWRT is
active. Th e PWRT t ime de lay al lows V
acceptable level. PIC18C601/801 devices are available with PWRT enabled or disabled.
The power-up time delay wi ll vary from chip to chi p, due
DD, temperature and process variation. See DC
to V
parameter #33 for details.
DS39541A-page 30Advance Information 2001 Microchip Technology Inc.
DD to rise to an
Loading...
+ 290 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.