PIC16HV540-20/P Microchip Technology, PIC16HV540-20/P Datasheet - Page 2

IC MCU OTP 512X12 18DIP

PIC16HV540-20/P

Manufacturer Part Number
PIC16HV540-20/P
Description
IC MCU OTP 512X12 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16HV540-20/P

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
OTP
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3.5 V ~ 15 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Processor Series
PIC16H
Core
PIC
Data Bus Width
8 bit
Data Ram Size
25 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
8
Operating Supply Voltage
3.5 V to 15 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV540-20/P
Quantity:
5
Part Number:
PIC16HV540-20/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16HV540-20/P
Quantity:
17
PIC16HV54X
1.0
The PIC16HV54X Series uses the internal Program
Counter (PC) to generate the EPROM address. V
supplied through the MCLR pin.
The T0CKI pin acts as chip enable, alternating between
programming and verifying.
The OSC1 pin is used for incrementing the PC.
Data is applied to, or can be read on PORTA and
PORTB (MSB on RB7, LSB on RA0).
The programming/verify mode is entered by raising the
level on the MCLR pin from V
T0CKI pin is held at V
The Program Counter now has the value “0x7FF”,
because MCLR was at V
selects the configuration word as the very first EPROM
location to be accessed after entering the program/ver-
ify mode.
Since the MCLR pin was initially at V
the reset state (the I/O pins are in the reset state).
Incrementing the PC once (by pulsing the OSC1 pin)
selects location “0x000” of the user program memory.
Afterwards all other memory locations from 001h
through end of memory can be addressed by incre-
menting the PC.
If the Program Counter has reached the last address of
the user memory area (“0x1FF” for the PIC16HV5404),
and is incremented again, the on-chip special EPROM
area will be addressed. (See Figure 1-2 to determine
where the special EPROM area is located for the vari-
ous PIC16HV54X devices).
1.1
After entering the program/verify mode, pulsing the
T0CKI pin LOW programs the data present on PORTA
and PORTB into the memory location selected by the
Program Counter. The duration of the T0CKI LOW time
determines the length of the programming pulse.
Pulsing the T0CKI pin LOW again without changing the
signals on MCLR and OSC1 puts the contents of the
selected memory location out on PORTA and PORTB
for verification of a successful programming cycle. This
verification pulse on T0CKI can be much shorter than
the programming pulse. If the programming was not
successful, T0CKI can be pulsed LOW again to apply
another programming pulse, followed again by a
shorter T0CKI LOW pulse for another verification cycle.
This sequence can be repeated as many times as
required until the programming is successful.
DS30467A-page 2
PROGRAM/VERIFY MODES
Program/Verify Without PC Increment
IH
and the OSC1 pin is held at V
IL
IL
to V
before. This condition
HH
IL
(= V
, the device is in
PP
) while the
PP
IL
is
.
1.2
If a verification cycle shows that programming was suc-
cessful, the Program Counter can be incremented by
keeping the T0CKI input at a HIGH level while pulsing
the OSC1 input HIGH. When both T0CKI and OSC1
are HIGH, the contents of the selected memory loca-
tion is put out on Ports A and B (= Verify). The falling
edge of OSC1 will increment the Program Counter.
A fast VERIFY- ONLY with automatic increment of the
PC can be performed by entering the program/verify
mode as described above and then clocking the OSC1
input. If OSC1 is HIGH, the selected memory location
is output on Ports A and B, while the falling edge of
OSC1 will increment the Program Counter. Thus, the
first memory location to be verified after entering the
program/verify mode, is the configuration word. The
next location is 000h followed by 001h and so on. The
program memory location “N” can be reached by gen-
erating “N + 1” falling edges on OSC1. When OSC1 is
brought HIGH again, the contents of address “N” are
output on Ports A and B as long as OSC1 stays HIGH.
1.3
The configuration word is logically mapped at program
memory location “0x7FF”. The PC points to the config-
uration word after MCLR pin goes from LOW to V
(HIGH). The configuration word can be programmed or
verified using the techniques described in Section 1.1
and Section 1.2.
If PC is incremented, the next location it will point to is
“0x000” in user memory. Incrementing PC 2048 times
will not allow the user to point to the configuration word.
The only way to point to it again is to reset and re-enter
program mode.
Verify with PC Increment
Programming/Verifying Configuration
Word
1999 Microchip Technology Inc.
HH

Related parts for PIC16HV540-20/P