PIC18F2539-I/SO Microchip Technology, PIC18F2539-I/SO Datasheet - Page 7

IC MCU FLASH 12KX16 EE AD 28SOIC

PIC18F2539-I/SO

Manufacturer Part Number
PIC18F2539-I/SO
Description
IC MCU FLASH 12KX16 EE AD 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2539-I/SO

Core Size
8-Bit
Program Memory Size
24KB (12K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
21
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1408 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Controller Family/series
PIC18
No. Of I/o's
21
Eeprom Memory Size
256Byte
Ram Memory Size
1.375KB
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1408 B
Interface Type
I2C, SPI, AUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
21
Number Of Timers
16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
DV164005, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With
XLT28SO-1 - SOCKET TRANSITION 28SOIC 300MIL
Lead Free Status / Rohs Status
 Details
3.0
3.1
The term, “Blank Check”, means to verify that the
device has no programmed memory cells. All
memories must be verified: code memory, data
EEPROM, ID locations, and configuration bits. The
Device ID registers (3FFFFEh:3FFFFFh) should be
ignored.
A “blank” or “erased” memory cell will read as a ‘1’. So,
“Blank Checking” a device merely means to verify that
all bytes read as FFh, except the configuration bits.
Unused (reserved) configuration bits will read ‘0’
(programmed).
configuration expect data for the various PIC18FXX39
devices.
If it is determined that the device is not blank, then the
device should be Bulk Erased (see Section 3.2) before
any attempt to program is made.
Given that “Blank Checking” is merely code and data
EEPROM verification with FFh expect data, refer to
Section 4.1 and Section 4.3 for implementation details.
FIGURE 3-1:
 2010 Microchip Technology Inc.
DEVICE PROGRAMMING
Blank Check
Blank Check Device
Blank Check Device
Bulk Erase Device
device
blank?
device
blank?
Abort
Start
Refer
Is
Is
No
No
BLANK CHECK FLOW
to
Yes
Yes
Table 5-2
Continue
Continue
for
blank
Preliminary
3.2
Erasing code or data EEPROM is accomplished by
writing an “erase option” to address 3C0004h. Code
memory may be erased portions at a time, or the user
may erase the entire device in one action. “Bulk Erase”
operations will also clear any code protect settings
associated with the memory block erased. Erase
options are detailed in Table 3-1.
TABLE 3-1:
The actual Bulk Erase function is a self-timed
operation. Once the erase has started (falling edge of
the 4th SCLK after the WRITE command), serial
execution will cease until the erase completes
(parameter P11). During this time, SCLK may continue
to toggle, but SDATA must be held low.
The code sequence to erase the entire device is shown
in Table 3-2 and Table 3-3. The corresponding
flowcharts are shown in Figure 3-2 and Figure 3-3.
Erase Data EEPROM
Erase Boot Block
Erase Panel 1
Erase Panel 2 (PIC18FX539 only)
Erase Panel 3 (PIC18FX539 only)
Note:
High Voltage ICSP Bulk Erase
A Bulk Erase is the only way to reprogram
code protect bits from an on state to an off
state.
Description
BULK ERASE OPTIONS
PIC18FXX39
DS30480C-page 7
Data
81h
83h
88h
89h
8Ah

Related parts for PIC18F2539-I/SO