PIC18LF24J50-I/SS Microchip Technology, PIC18LF24J50-I/SS Datasheet - Page 10

IC PIC MCU FLASH 16K 2V 28-SSOP

PIC18LF24J50-I/SS

Manufacturer Part Number
PIC18LF24J50-I/SS
Description
IC PIC MCU FLASH 16K 2V 28-SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18LF24J50-I/SS

Program Memory Type
FLASH
Program Memory Size
16KB (8K x 16)
Package / Case
28-SSOP
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, DMA, POR, PWM, WDT
Number Of I /o
16
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
16 KB
Interface Type
EUSART, I2C, SPI
Maximum Clock Frequency
31 KHz
Number Of Programmable I/os
16
Number Of Timers
5
Operating Supply Voltage
2 V to 3.6 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM183032, DM183022, MA180024, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 10 Channel
A/d Bit Size
10 bit
A/d Channels Available
10
Height
1.75 mm
Length
10.2 mm
Supply Voltage (max)
2.75 V, 3.6 V
Supply Voltage (min)
2 V
Width
5.3 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC18F2XJXX/4XJXX FAMILY
3.1.2
It is possible to erase one row (1024 bytes of data),
provided
erase/write-protected. Rows are located at static
boundaries beginning at program memory address
000000h, extending to the internal program memory
limit (see Section 2.2 “Memory Maps”).
The Row Erase duration is internally timed. After the
WR bit in EECON1 is set, a NOP is issued, where the
4th PGC is held high for the duration of the Row Erase
time, P10.
The
PIC18F2XJXX/4XJXX family device is shown in
Table 3-2. The flowchart shown in Figure 3-4 depicts the
logic
TABLE 3-2:
FIGURE 3-3:
DS39687E-page 10
Step 1: Enable memory writes.
Step 2: Point to first row in code memory.
Step 3: Enable erase and erase single row.
Step 4: Repeat step 3, with Address Pointer incremented by 1024, until all rows are erased.
Command
PGC
PGD
0000
0000
0000
0000
0000
0000
0000
4-Bit
code
necessary
the
ICSP™ ROW ERASE
1
4-Bit Command
0
2
sequence
0
block
84 A6
6A F8
6A F7
6A F6
88 A6
82 A6
00 00
ERASE CODE MEMORY CODE SEQUENCE
3
0
Data Payload
SET WR AND START ROW ERASE TIMING
to
4
0
is
P5
completely
not
to
1
0
2
code-protected
1
Row
3
16-Bit Data Payload
BSF
CLRF
CLRF
CLRF
BSF
BSF
NOP – hold PGC high for time P10.
1
4
0
Erase
erase
5
EECON1, WREN
TBLPTRU
TBLPTRH
TBLPTRL
EECON1, FREE
EECON1, WR
0
6
1
PGD = Input
or
a
a
15
0
16
1
P5A
PIC18F2XJXX/4XJXX
diagram that details the “Row Erase” command and
parameter P10 is shown in Figure 3-6.
4-Bit Command
1
Note 1: If the last row of program memory is
0
2
Core Instruction
0
2: The TBLPTR register can point at any
3: If code protection has been enabled,
3
0
erased, bit 3 of CONFIG1H must also be
programmed as ‘0’.
byte within the row intended for erase.
ICSP Bulk Erase (all program memory
erased) operations can be used to dis-
able code protection. ICSP Row Erase
operations cannot be used to disable
code protection.
0
Row-Erase Time
P10
© 2009 Microchip Technology Inc.
family
device.
4
P5
Data Payload
1
The
0
16-Bit
2
0
timing
3
0

Related parts for PIC18LF24J50-I/SS