PIC16C770/P Microchip Technology Inc., PIC16C770/P Datasheet - Page 133

no-image

PIC16C770/P

Manufacturer Part Number
PIC16C770/P
Description
20 PIN, 3.5 KB OTP, 256 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C770/P

A/d Inputs
6-Channel, 12-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
16
Interface
I2C/SPI
Memory Type
OTP
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
256 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
FIGURE 12-12:
12.14 Program Verification/Code
If the code protection bit(s) have not been pro-
grammed, the on-chip program memory can be read
out for verification purposes.
12.15 ID Locations
Four memory locations (2000h - 2003h) are designated
as ID locations where the user can store checksum or
other code-identification numbers. These locations are
not accessible during normal execution but are read-
able and writable during program/verify. It is recom-
mended that only the 4 Least Significant bits of the ID
location are used.
Note 1:
Note:
2002 Microchip Technology Inc.
INTF flag
(INTCON<1>)
INSTRUCTION FLOW
GIE bit
(INTCON<7>)
CLKOUT
Instruction
fetched
Instruction
executed
INT pin
2:
3:
OSC1
Protection
(3)
PC
T
GIE = ’1’ assumed. In this case after wake- up, the processor jumps to the interrupt routine. If GIE = ’0’, execution will continue in-line.
CLKOUT is not available in these osc modes, but shown here for timing reference.
Microchip does not recommend code pro-
tecting windowed devices. Code protected
devices are not reprogrammable.
OST
Inst(PC) = SLEEP
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
= 1024T
Inst(PC - 1)
PC
OSC
WAKE-UP FROM SLEEP THROUGH INTERRUPT
(drawing not to scale) This delay applies to LP, XT and HS modes only.
Inst(PC + 1)
SLEEP
PC+1
Processor in
SLEEP
PC+2
T
OST
(1)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Inst(PC + 2)
Inst(PC + 1)
12.16
PIC16CXXX microcontrollers can be serially pro-
grammed while in the end application circuit. This is
simply done with two lines for clock and data, and three
other lines for power, ground, and the programming
voltage. This allows customers to manufacture boards
with unprogrammed devices, and then program the
microcontroller just before shipping the product. This
also allows the most recent firmware or a custom firm-
ware to be programmed.
For complete details of serial programming, please
refer to the In-Circuit Serial Programming (ICSP™)
Guide, (DS30277).
PC+2
PIC16C717/770/771
(ICSP™)
In-Circuit Serial Programming
Dummy cycle
PC + 2
Interrupt Latency
Inst(0004h)
Dummy cycle
0004h
(2)
DS41120B-page 131
Inst(0005h)
Inst(0004h)
0005h

Related parts for PIC16C770/P