1998 Microchip Technology Inc.
Preliminary
DS40197A-page 3
PIC16HV540
1.2.7 ENHANCED WATCHDOG TIMER (WDT)
OPERATION
The WDT is enabled b y setting FUSE 2 in the configuration
word. The WDT setting is latched and the fuse disabled
during SLEEP mode to reduce current consumption.
If the WDT is disabled by FUSE 2, it can be enabled/disabled under program control using bit 4 in OPTION2
(SWE). The software WDT control is disab led at power-up .
The current consumption of the on-chip oscillator (used
for the watchdog, oscillator startup timer and sleep
timer) is less than 1µA (typical) at 3 Volt operation.
1.2.8 REDUCED EXTERNAL RC OSCILLATOR
STARTUP TIME
If the RC oscillator option is selected in the Configuration word (FOSC1=1 and FOSCO=1) the oscillator
startup time is 1.0 ms nominal instead of 18 ms nominal. This is applicable after power-up (POR), either
WDT interrupt or wake-up, external reset on MCLR
,
WPC (wake on pin change) and Brown-out.
1.2.9 LOW-VOLTAGE OPERATION OF THE
ENTIRE CPU DURING SLEEP
The voltage regulator can automatically lower the voltage to the core from 5 Volt to 3 V olt during sleep, resulting in reduced current consumption. This is an option
bit in OPTION2 register.
1.2.10 GLITCH FILTERS ON WAKEUP PINS AND
MCLR
Glitch sensitive inputs for wak eup on pin change are filtered to reduce susceptibility to interference. A similar
filter reduces false reset on MCLR.
1.2.11 PROGRAMMABLE CLOCK GENERATOR
When used in RC mode the CLKOUT pin can be used
as a programmable clock output. The output is connected to TMR0, bit 0 and by setting the prescaler,
clock out frequencies of CLKIN/8 to CLKIN/1024 can
be generated. The CLKOUT pin can also be used as a
general purpose output by modifying to TMR0, bit 0.
TABLE 1-1: PIC16HV540 DEVICE
PIC16HV540
Clock
Maximum Frequency (MHz) 20
Memory
EPROM Program Memory 512
RAM Data Memory (bytes) 25
Peripherals
Timer Module(s) TMR0
Packages
I/O Pins 12
Voltage Range (Volts) 3.5V-15V
Number of Instructions 33
Packages 18-pin DIP
SOIC
20-pin SSOP
All PICmicro
devices have Power-on Reset, selectable
WDT, selectable code protect and high I/O current capability.
2.0 PIC16HV540 DEVICE
VARIETIES
A variety of frequency ranges and packaging options
are available. When placing orders, please use the
PIC16HV540 Product Identification System at the back
of this data sheet to specify the correct part number.
2.1 UV Erasab
le Devices
The UV erasable versions, offered in CERDIP packages, are optimal for prototype development and pilot
programs.
UV erasable devices can be progr ammed for an y of the
four oscillator configurations. Microchip's PICSTART
and PRO MATE programmers both support programming of the PIC16HV540. Third party programmers
also are available; refer to Literature Number DS00104
for a list of sources.
2.2 One-Time-Pr
ogrammable (OTP)
Devices
The availability of OTP devices is especially useful for
customers expecting frequent code changes and
updates.
The OTP devices, packaged in plastic packages, permit the user to program them once. In addition to the
program memory, the configuration bits must be programmed.
2.3 Quic
k-Turnaround-Production (QTP)
Devices
Microchip offers a QTP Programming Service for factory production orders. This ser vice is made available
for users who choose not to program a medium to high
quantity of units and whose code patterns have stabilized. The devices are identical to the OTP devices but
with all EPROM locations and configuration bit options
already programmed by the factory. Certain code and
prototype verification procedures apply before production shipments are available. Please contact your
Microchip Technology sales office for more details.
2.4 Serializ
ed
Quick-Turnaround-Production
(SQTP) Devices
Microchip offers the unique programming service where
a few user-defined locations in each device are programmed with different serial numbers. The serial numbers may be random, pseudo-random or sequential.
Serial programming allows each device to have a
unique number which can serve as an entry code,
password or ID number.