PIC16F777-I/P Microchip Technology Inc., PIC16F777-I/P Datasheet - Page 105

no-image

PIC16F777-I/P

Manufacturer Part Number
PIC16F777-I/P
Description
40 PIN, 14 KB FLASH, 368 RAM, 36 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F777-I/P

A/d Inputs
14-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
36
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F777-I/P
Manufacturer:
MIC
Quantity:
5 510
Part Number:
PIC16F777-I/P
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
PIC16F777-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
FIGURE 12-12:
12.15 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.16 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.
12.17 In-Circuit Serial Programming
PIC16F7X 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 (see Figure 12-13 for an example). 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 firmware to be pro-
grammed.
 2002 Microchip Technology Inc.
Note
OSC1
CLKOUT
INT pin
INTF Flag
(INTCON<1>)
GIE bit
(INTCON<7>)
INSTRUCTION FLOW
Instruction
Fetched
Instruction
Executed
1:
2:
3:
4:
Protection
(4)
PC
XT, HS or LP oscillator mode assumed.
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.
OST
Inst(PC) = SLEEP
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
= 1024 T
Inst(PC - 1)
PC
WAKE-UP FROM SLEEP THROUGH INTERRUPT
OSC
(drawing not to scale) This delay will not be there for RC osc mode.
Inst(PC + 1)
SLEEP
PC+1
Processor in
SLEEP
PC+2
T
OST
(2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Inst(PC + 2)
Inst(PC + 1)
For general information of serial programming, please
refer to the In-Circuit Serial Programming (ICSP™)
Guide (DS30277). For specific details on programming
commands and operations for the PIC16F7X devices,
please refer to the latest version of the PIC16F7X
FLASH Program Memory Programming Specification
(DS30324).
FIGURE 12-13:
PC+2
* Isolation devices (as required).
External
Connector
Signals
Data I/O
CLK
+5V
V
0V
PP
Interrupt Latency
Dummy cycle
(Note 2)
PC + 2
*
To Normal
Connections
To Normal
Connections
TYPICAL IN-CIRCUIT
SERIAL PROGRAMMING
CONNECTION
*
Inst(0004h)
Dummy cycle
0004h
PIC16F7X
*
*
DS30325B-page 103
V
V
MCLR/V
RB6
RB7
DD
SS
PIC16F7X
Inst(0005h)
Inst(0004h)
0005h
V
PP
DD

Related parts for PIC16F777-I/P