PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 127

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 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
FIGURE 15-11:
15.10 In-Circuit Debugger
• In-circuit debugging requires clock, data and
• This special ICD device is mounted on the top of a
• When the ICD pin on the PIC16F785-ICD device
TABLE 15-9:
© 2006 Microchip Technology Inc.
I/O pins
Stack
Data RAM
Program Memory
* Isolation devices (as required)
External
Connector
Signals
MCLR pins. A special 28-pin PIC16F785-ICD
device is used with MPLAB
separate clock, data and MCLR pins so that no
pins are lost for these functions, leaving all 18 of
the PIC16F785/HV785 I/O pins available to the
user during debug operation.
header and its signals are routed to the MPLAB
ICD 2 connector. On the bottom of the header is a
20-pin socket that plugs into the user’s target via
the 20-pin stand-off connector.
is held low, the In-Circuit Debugger functionality is
enabled. This function allows simple debugging
functions when used with MPLAB ICD 2. When
the microcontroller has this feature enabled, some
of the resources are not available for general use.
Table 15-9 shows which features are consumed
by the background debugger.
Data I/O
+5.0V
Resource
CLK
V
0V
PP
*
To Normal
Connections
DEBUGGER RESOURCES
To Normal
Connections
ICDCLK, ICDDATA
1 level
65h-70h, F0h
700h-7FFh
Address 0h must be NOP
TYPICAL IN-CIRCUIT
SERIAL PROGRAMMING
CONNECTION
*
*
*
®
Description
ICD 2 to provide
PIC16F785
V
V
MCLR/V
RA1
RA0
DD
SS
PP
/RA3
Preliminary
For more information, see “MPLAB
Debugger User’s Guide” (DS51331), available on
Microchip’s web site (www.microchip.com).
FIGURE 15-12:
28-Pin PDIP
ICDMCLR/V
PIC16F785/HV785
SHNTREG
RC5
RC4
RC3
RC6
RC7
RA5
RA4
RA3
RB7
V
ICD
NC
DD
PP
In-Circuit Debug Device
28-PIN ICD PINOUT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
18
17
16
15
28
27
26
25
24
23
22
21
20
19
DS41249D-page 125
®
ICDCLK
ICDDATA
Vss
RA0
RA1
RA2
RC0
RC1
RC2
RB4
RB5
RB6
NC
NC
ICD 2 In-Circuit

Related parts for PIC16F785-I/P