PIC16F684-E/SL Microchip Technology, PIC16F684-E/SL Datasheet - Page 116
![IC PIC MCU FLASH 2KX14 14SOIC](/photos/6/59/65933/150-14-soic_sml.jpg)
PIC16F684-E/SL
Manufacturer Part Number
PIC16F684-E/SL
Description
IC PIC MCU FLASH 2KX14 14SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F684-ISL.pdf
(4 pages)
4.PIC16F684-ISL.pdf
(192 pages)
5.PIC16F684-ISL.pdf
(6 pages)
6.PIC16F684-IST.pdf
(164 pages)
Specifications of PIC16F684-E/SL
Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
14-SOIC (3.9mm Width), 14-SOL
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC16F684
12.10 In-Circuit Serial Programming
The PIC16F684 microcontrollers can be serially
programmed while in the end application circuit. This is
simply done with five connections for:
• clock
• data
• power
• ground
• programming voltage
This allows customers to manufacture boards with
unprogrammed devices and then program the micro-
controller just before shipping the product. This also
allows the most recent firmware or a custom firmware
to be programmed.
The device is placed into a Program/Verify mode by
holding the RA0 and RA1 pins low, while raising the
MCLR (V
“PIC12F6XX/16F6XX
Specification” (DS41204) for more information. RA0
becomes the programming data and RA1 becomes the
programming clock. Both RA0 and RA1 are Schmitt
Trigger inputs in Program/Verify mode.
A typical In-Circuit Serial Programming connection is
shown in Figure 12-11.
FIGURE 12-11:
DS41202F-page 114
External
Connector
Signals
* Isolation devices (as required)
Data I/O
CLK
+5V
V
0V
PP
PP
) pin from V
*
To Normal
Connections
To Normal
Connections
TYPICAL IN-CIRCUIT
SERIAL PROGRAMMING
CONNECTION
*
*
Memory
*
IL
to V
V
V
MCLR/V
RA1
RA0
DD
SS
PIC16F684
IHH
Programming
. See the
PP
/RA3
12.11 In-Circuit Debugger
Since in-circuit debugging requires access to three
pins, MPLAB
is not practical. A special 20-pin PIC16F684 ICD device
is used with MPLAB ICD 2 to provide separate clock,
data and MCLR pins and frees all normally available
pins to the user.
A special debugging adapter allows the ICD device to
be used in place of a PIC16F684 device. The
debugging adapter is the only source of the ICD device.
When the ICD pin on the PIC16F684 ICD device 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 12-9 shows which
features are consumed by the background debugger.
TABLE 12-9:
For more information, see “MPLAB
Debugger User’s Guide” (DS51331), available on
Microchip’s web site (www.microchip.com).
FIGURE 12-12:
Resource
I/O pins
Stack
Program Memory
20-Pin PDIP
ICDMCLR/V
®
ICD 2 development with a 14-pin device
In-Circuit Debug Device
RA5
RA4
RA3
RC5
RC4
RC3
V
ICD
NC
DD
PP
DEBUGGER RESOURCES
Description
ICDCLK, ICDDATA
1 level
Address 0h must be NOP
700h-7FFh
20-PIN ICD PINOUT
© 2007 Microchip Technology Inc.
10
1
2
3
4
5
6
7
8
9
20
19
18
17
16
15
14
13
12
11
®
ICDCLK
ICDDATA
Vss
RA0
RA1
RA2
RC0
RC1
NC
RC2
ICD 2 In-Circuit