PIC18F2320-E/SO Microchip Technology, PIC18F2320-E/SO Datasheet - Page 29

no-image

PIC18F2320-E/SO

Manufacturer Part Number
PIC18F2320-E/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2320-E/SO

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
5.4
To allow portability of code, a device programmer is
required to read the Configuration Word locations from
the hex file. If Configuration Word information is not
present in the hex file, then a simple warning message
should be issued. Similarly, while saving a hex file, all
Configuration Word information must be included. An
option to not include the Configuration Word informa-
tion may be provided. When embedding Configuration
Word information in the hex file, it should start at
address 300000h.
Microchip Technology Inc. feels strongly that this
feature is important for the benefit of the end customer.
5.5
To allow portability of code, a device programmer is
required to read the data EEPROM information from
the hex file. If data EEPROM information is not present,
a simple warning message should be issued. Similarly,
when saving a hex file, all data EEPROM information
must be included. An option to not include the data
EEPROM information may be provided. When embed-
ding data EEPROM information in the hex file, it should
start at address F00000h.
Microchip Technology Inc. believes that this feature is
important for the benefit of the end customer.
 2010 Microchip Technology Inc.
Embedding Configuration Word
Information in the HEX File
Embedding Data EEPROM
Information in the HEX File
5.6
The checksum is calculated by summing the following:
• The contents of all code memory locations
• The Configuration Word, appropriately masked
• ID locations
The Least Significant 16 bits of this sum are the
checksum.
Table 5-5 describes how to calculate the checksum for
each device.
Note:
PIC18FX220/X320
Checksum Computation
The checksum calculation differs depend-
ing on the code-protect setting. Since the
code memory locations read out differently
depending on the code-protect setting, the
table describes how to manipulate the
actual code memory values to simulate
the values that would be read from a
protected device. When calculating a
checksum by reading a device, the entire
code memory can simply be read and
summed. The Configuration Word and ID
locations can always be read.
DS39592F-page 29

Related parts for PIC18F2320-E/SO