PIC16F676-I/P Microchip Technology, PIC16F676-I/P Datasheet - Page 20
![IC MCU FLASH 1K W/AD 14-DIP](/photos/6/59/65935/150-14-dip_sml.jpg)
PIC16F676-I/P
Manufacturer Part Number
PIC16F676-I/P
Description
IC MCU FLASH 1K W/AD 14-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC12F629T-ISN.pdf
(24 pages)
3.PIC16F630-ISL.pdf
(132 pages)
4.PIC16F630-ISL.pdf
(2 pages)
5.PIC16F630-ISL.pdf
(10 pages)
6.PIC16F676-EP.pdf
(132 pages)
Specifications of PIC16F676-I/P
Program Memory Type
FLASH
Program Memory Size
1.75KB (1K x 14)
Package / Case
14-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Eeprom Size
128 x 8
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
64 B
Interface Type
RS- 232/USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
2
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
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
Data Rom Size
128 B
Height
3.3 mm
Length
19.05 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
6.35 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM163029 - BOARD PICDEM FOR MECHATRONICSAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F676-I/P
Manufacturer:
RENESAS
Quantity:
5 600
Part Number:
PIC16F676-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC12F629/675/PIC16F630/676
4.3
4.3.1
Checksum is calculated by reading the contents of the
PIC12F629/675/PIC16F630/676 memory locations and
adding up the opcodes to the maximum user
addressable location (e.g., 0x3FE for the PIC12F629/
675/PIC16F630/676). Any carry bits exceeding 16 bits
are
(appropriately masked) is added to the checksum.
Checksum computation for the devices is shown in
Table 4-1.
The checksum is calculated by summing the following:
• The contents of all program memory locations.
• The Configuration Word, appropriately masked.
• Masked ID locations (when applicable).
The 16 LSbs of this sum is the checksum.
The following table describes how to calculate the
checksum for each device.
TABLE 4-1:
4.3.2
The programmer should be able to read data EEPROM
information from a hex file and conversely (as an option),
write data EEPROM contents to a hex file, along with
program memory information and fuse information.
The 128 data memory locations are logically mapped
starting at address 0x2100. The format for data memory
storage is one data byte per address location, LSb
aligned.
DS41191D-page 20
PIC12F629/675/
PIC16F630/676
Legend: CFGW = Configuration Word
Device
neglected.
Checksum Computation
SUM[a:b] = [Sum of locations a to b inclusive]
SUM_ID = ID locations masked by 0xF then made into a 16-bit value with ID0 as the Most Significant
nibble.
For example: ID0 = 0x1, ID1 = 0x2, ID3 = 0x3, ID4 = 0x4, then SUM_ID = 0x1234
*Checksum = [Sum of all the individual expressions] MODULO [0xFFFF]
+ = Addition
& = Bitwise AND
CHECKSUM
EMBEDDING DATA EEPROM
CONTENTS IN HEX FILE
CHECKSUM COMPUTATION
Finally,
Code-Protect
OFF
ALL
the
Configuration
SUM[0x0000:0x3FE] + CFGW & 01FF
CFGW & 0x01FF + SUM_ID
Word
Checksum
*
Note 1: The
2: Some older devices have an additional
depending on the code-protect setting.
Since the program memory locations read
out differently depending on the code-
protect setting, Table 4-1 describes how to
manipulate the actual program memory
values to simulate the values that would
be read from a protected device. When
calculating a checksum by reading a
device, the entire program memory can
simply be read and summed. The
Configuration Word and ID locations can
always be read.
value added in the checksum. This is to
maintain compatibility with older device
programmer checksums.
checksum
Blank
Value
© 2005 Microchip Technology Inc.
BE00
BF7F
calculation
0x25E6 at 0 and
Max. Address
89CE
8B4D
differs