PIC18LF4220-I/P Microchip Technology, PIC18LF4220-I/P Datasheet - Page 15

IC MCU FLASH 2KX16 EEPROM 40DIP

PIC18LF4220-I/P

Manufacturer Part Number
PIC18LF4220-I/P
Description
IC MCU FLASH 2KX16 EEPROM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF4220-I/P

Core Size
8-Bit
Program Memory Size
4KB (2K 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
36
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
512Byte
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
SPI, I2C, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
2 x 8 bit
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, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 13 Channel
Data Rom Size
256 B
A/d Bit Size
10 bit
A/d Channels Available
13
Height
3.81 mm
Length
52.26 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
13.84 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
PIC18LF4220-I/PR
PIC18LF4220-I/PR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF4220-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
TABLE 3-4:
 2010 Microchip Technology Inc.
Step 1: Direct access to code memory.
Step 2: Set the Table Pointer for the block to be erased.
Step 3: Enable memory writes and set up an erase.
Step 4: Perform Flash unlock sequence.
Step 5: Initiate erase.
Step 6: Wait for P11 + P10 and then disable writes.
Step 7: Load write buffer for panel.
To continue writing data, repeat step 7, where the Address Pointer is incremented by 8 at each iteration of the loop.
Command
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
1101
1101
1101
1111
0000
4-Bit
8E A6
9C A6
0E <Addr[21:16]>
6E F8
0E <Addr[15:8]>
6E F7
0E <Addr[7:0]>
6E F6
84 A6
88 A6
0E 55
6E A7
0E AA
6E A7
82 A6
00 00
94 A6
<LSB><MSB>
<LSB><MSB>
<LSB><MSB>
<LSB><MSB>
00 00
MODIFYING CODE MEMORY
Data Payload
BSF
BCF
MOVLW <Addr[21:16]>
MOVWF TBLPTRU
MOVLW <Addr[15:8]>
MOVWF TBLPTRH
MOVLW <Addr[7:0]>
MOVWF TBLPTRL
BSF
BSF
MOVLW 0X55
MOVWF EECON2
MOVLW 0XAA
MOVWF EECON2
BSF
NOP
BCF
Write 2 bytes and post-increment address by 2
Write 2 bytes and post-increment address by 2
Write 2 bytes and post-increment address by 2
Write 2 bytes and start programming
NOP - hold PGC high for time P9 at the end of 4-bit command
EECON1, EEPGD
EECON1, CFGS
EECON1, WREN
EECON1, FREE
EECON1, WR
EECON1, WREN
PIC18FX220/X320
Core Instruction
DS39592F-page 15

Related parts for PIC18LF4220-I/P