PIC16LF84AT-04I/SO Microchip Technology, PIC16LF84AT-04I/SO Datasheet - Page 35
![IC MCU FLASH 1KX14 EE 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16LF84AT-04I/SO
Manufacturer Part Number
PIC16LF84AT-04I/SO
Description
IC MCU FLASH 1KX14 EE 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F84A-04P.pdf
(88 pages)
2.PIC16F84A-04P.pdf
(6 pages)
3.PIC16LF84A-04P.pdf
(125 pages)
4.PIC16LF84A-04P.pdf
(4 pages)
Specifications of PIC16LF84AT-04I/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Connectivity
-
Other names
PIC16LF84AT-04ISO
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LF84AT-04I/SO
Manufacturer:
MURUTA
Quantity:
445
7.5
Depending on the application, good programming prac-
tice may dictate that the value written to the Data
EEPROM should be verified (Example 7-1) to the
desired value to be written. This should be used in
applications where an EEPROM bit will be stressed
near the specification limit. The Total Endurance disk
will help determine your comfort level.
Generally the EEPROM write failure will be a bit which
was written as a ’1’, but reads back as a ’0’ (due to
leakage off the bit).
EXAMPLE 7-1:
READ
;
; Is the value written (in W reg) and
;
;
TABLE 7-1
Legend: x = unknown, u = unchanged, - = unimplemented read as ’0’, q = value depends upon condition. Shaded cells are not
1998 Microchip Technology Inc.
Address
08h
09h
88h
89h
BCF
:
:
MOVF
BSF
BSF
BCF
read (in EEDATA) the same?
Write Verify
used by Data EEPROM.
STATUS, RP0 ; Bank 0
EEDATA, W
STATUS, RP0 ; Bank 1
EECON1, RD
STATUS, RP0 ; Bank 0
Name
EECON1
EECON2
EEDATA
EEADR
REGISTERS/BITS ASSOCIATED WITH DATA EEPROM
WRITE VERIFY
EEPROM data register
EEPROM address register
EEPROM control register 2
Bit 7
—
; Any code can go here
;
; Must be in Bank 0
; YES, Read the
;
value written
Bit 6
—
Bit 5
—
Bit 4
EEIF
WRERR
Bit 3
7.6
There are conditions when the device may not want to
write to the data EEPROM memory. To protect against
spurious EEPROM writes, various mechanisms have
been built in. On power-up, WREN is cleared. Also, the
Power-up
EEPROM write.
The write initiate sequence and the WREN bit together
help prevent an accidental write during brown-out,
power glitch, or software malfunction.
7.7
When the device is code protected, the CPU is able to
read and write unscrambled data to the Data EEPROM.
For ROM devices, there are two code protection bits
(Section 8.1). One for the ROM program memory and
one for the Data EEPROM memory.
WREN
Bit 2
SUBWF EEDATA, W
BTFSS STATUS, Z
GOTO
:
:
Protection Against Spurious Writes
Data EEPROM Operation during Code
Protect
WRITE_ERR
Timer
Bit 1
WR
(72
Bit 0
RD
;
; Is difference 0?
; NO, Write error
; YES, Good write
; Continue program
ms
PIC16F8X
xxxx xxxx
xxxx xxxx
---0 x000
---- ----
Power-on
Value on
duration)
Reset
DS30430C-page 35
other resets
Value on all
uuuu uuuu
uuuu uuuu
---0 q000
---- ----
prevents