PIC12F683-I/SN Microchip Technology Inc., PIC12F683-I/SN Datasheet - Page 102

no-image

PIC12F683-I/SN

Manufacturer Part Number
PIC12F683-I/SN
Description
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12F683-I/SN

A/d Inputs
4-Channel, 10-Bit
Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
5
Memory Type
Flash
Number Of Bits
8
Package Type
8-pin SOIC-N
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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F683-I/SN
Manufacturer:
FREESCALE
Quantity:
2 119
Part Number:
PIC12F683-I/SN
Manufacturer:
Microchip Technology
Quantity:
46 465
Part Number:
PIC12F683-I/SN
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12F683-I/SN
0
PIC12F683
12.10 In-Circuit Serial Programming™
The PIC12F683 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 GP0 and GP1 pins low, while raising the
MCLR (V
“PIC12F6XX/16F6XX
Specification” (DS41204) for more information. GP0
becomes the programming data and GP1 becomes the
programming clock. Both GP0 and GP1 are Schmitt
Trigger inputs in Program/Verify mode.
A typical In-Circuit Serial Programming connection is
shown in Figure 12-11.
FIGURE 12-11:
DS41211C-page 100
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
GP1
GP0
DD
SS
IHH
PIC12F683
Programming
. See the
PP
/GP3
12.11 In-Circuit Debugger
Since in-circuit debugging requires access to three
pins, MPLAB
is not practical. A special 14-pin PIC12F683 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 PIC12F683 device. The
debugging adapter is the only source of the ICD device.
When the ICD pin on the PIC12F683 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
Stack
Program Memory
14-Pin PDIP
ICDMCLR
GP5
GP4
GP3
V
ICD
NC
®
DD
ICD 2 development with a 14-pin device
In-Circuit Debug Device
DEBUGGER RESOURCES
Description
1 level
Address 0h must be NOP
700h-7FFh
1
2
3
4
5
6
7
14-PIN ICD PINOUT
© 2006 Microchip Technology Inc.
14
13
12
10
11
9
8
®
ICD 2 In-Circuit
ICDCLK
ICDDATA
GND
GP0
GP1
GP2
NC

Related parts for PIC12F683-I/SN