PIC18LF13K22 Microchip Technology, PIC18LF13K22 Datasheet - Page 19

no-image

PIC18LF13K22

Manufacturer Part Number
PIC18LF13K22
Description
(PIC18F1xK22) Flash Microcontrollers
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF13K22-I/ML
Manufacturer:
CAVIUM
Quantity:
155
Part Number:
PIC18LF13K22-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
www.DataSheet4U.com
TABLE 4-7:
© 2008 Microchip Technology Inc.
Step 1: Direct access to data EEPROM.
Step 2: Set the data EEPROM Address Pointer.
Step 3: Load the data to be written.
Step 4: Enable memory writes.
Step 5: Initiate write.
Step 6: Poll WR bit, repeat until the bit is clear.
Step 7: Hold PGC low for time P10.
Step 8: Disable writes.
Repeat steps 2 through 8 to write more data.
Note 1: See Figure 5-4 for details on shift out data timing.
Command
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0010
0000
4-bit
PROGRAMMING DATA MEMORY
<MSB><LSB>
Data Payload
0E <Addr>
0E <Data>
9E A6
9C A6
6E A9
6E A8
84 A6
82 A6
50 A6
6E F5
94 A6
00 00
00 00
00 00
BCF EECON1, EEPGD
BCF EECON1, CFGS
MOVLW <Addr>
MOVWF EEADR
MOVLW <Data>
MOVWF EEDATA
BSF EECON1, WREN
BSF EECON1, WR
NOP
NOP ;write starts on 4th clock of this instruction
MOVF EECON1, W, 0
MOVWF TABLAT
NOP
Shift out data
BCF EECON1, WREN
Advance Information
PIC18F1XK22/LF1XK22
(1)
Core Instruction
DS41357A-page 19

Related parts for PIC18LF13K22