PIC12F675-E/P Microchip Technology Inc., PIC12F675-E/P Datasheet - Page 69

no-image

PIC12F675-E/P

Manufacturer Part Number
PIC12F675-E/P
Description
8 PIN, 1.75 KB FLASH, 64 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12F675-E/P

A/d Inputs
4-Channel, 10-Bit
Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
5
Memory Type
Flash
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
1.75K Bytes
Ram Size
64 Bytes
Speed
20 MHz
Timers
1-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:
PIC12F675-E/P
Manufacturer:
Microchip Technology
Quantity:
1 849
Part Number:
PIC12F675-E/P
Manufacturer:
TEKMOS
Quantity:
6 238
9.8
If
programmed, the on-chip program memory can be
read out for verification purposes.
9.9
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
readable and writable during Program/Verify. Only the
Least Significant 7 bits of the ID locations are used.
9.10
The PIC12F629/675 microcontrollers can be serially
programmed while in the end application circuit. This is
simply done with two lines for clock and data, and three
other lines for:
• power
• ground
• 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
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
Specification). GP0 becomes the programming data
and GP1 becomes the programming clock. Both GP0
and GP1 are Schmitt Trigger inputs in this mode.
After RESET, to place the device into Programming/
Verify mode, the program counter (PC) is at location
00h. A 6-bit command is then supplied to the device.
Depending on the command, 14-bits of program data
are then supplied to or from the device, depending on
whether the command was a load or a read. For
complete details of serial programming, please refer to
the Programming Specifications.
A typical In-Circuit Serial Programming connection is
shown in Figure 9-14.
 2003 Microchip Technology Inc.
Note:
the
Code Protection
ID Locations
In-Circuit Serial Programming
code
PP
The entire data EEPROM and FLASH
program memory will be erased when the
code protection is turned off. The INTOSC
calibration data is also erased. See
PIC12F629/675 Programming Specifica-
tion for more information.
) pin from V
protection
IL
to V
bit(s)
IHH
(see Programming
have
not
been
FIGURE 9-14:
9.11
Since in-circuit debugging requires the loss of clock,
data and MCLR pins, MPLAB
an 8-pin device is not practical. A special 14-pin
PIC12F675-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.
This special ICD device is mounted on the top of the
header and its signals are routed to the MPLAB ICD 2
connector. On the bottom of the header is an 8-pin
socket that plugs into the user’s target via the 8-pin
stand-off connector.
When the ICD pin on the PIC12F675-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 9-10
shows
background debugger:
TABLE 9-10:
For more information, see 8-Pin MPLAB ICD 2 Header
Information Sheet (DS51292) available on Microchip’s
website (www.microchip.com).
External
Connector
Signals
Data I/O
Program Memory
CLK
+5V
V
which
In-Circuit Debugger
0V
PP
I/O pins
Stack
PIC12F629/675
features
DEBUGGER RESOURCES
To Normal
Connections
To Normal
Connections
TYPICAL IN-CIRCUIT
SERIAL PROGRAMMING
CONNECTION
are
Address 0h must be NOP
®
ICD 2 development with
ICDCLK, ICDDATA
consumed
300h - 3FEh
V
V
GP3/MCLR/V
GP1
GP0
V
DS41190C-page 67
PIC12F629/675
DD
SS
DD
1 level
by
PP
the

Related parts for PIC12F675-E/P