PIC12CE518-04I/SN Microchip Technology, PIC12CE518-04I/SN Datasheet - Page 118

no-image

PIC12CE518-04I/SN

Manufacturer Part Number
PIC12CE518-04I/SN
Description
IC MCU OTP 512X12 W/EE 8SOIC
Manufacturer
Microchip Technology
Series
PIC® 12Cr

Specifications of PIC12CE518-04I/SN

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
768B (512 x 12)
Program Memory Type
OTP
Eeprom Size
16 x 8
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-SOIC (3.9mm Width)
For Use With
309-1046 - ADAPTER 8-SOIC TO 8-DIP309-1045 - ADAPTER 8-SOIC TO 8-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Connectivity
-
PICmicro MID-RANGE MCU FAMILY
7.7
DS31007A-page 7-6
Write Verify
Depending on the application, good programming practice may dictate that the value written to
the Data EEPROM be verified
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.
Example 7-3: Write Verify
READ
;
; Is the value written (in W reg) and read (in EEDATA) the same?
;
BCF
:
:
MOVF
BSF
BSF
BCF
SUBWF EEDATA, W
BTFSS STATUS, Z
GOTO
:
:
STATUS, RP0 ; Bank0
EEDATA, W
STATUS, RP0 ; Bank1
EECON1, RD
STATUS, RP0 ; Bank0
WRITE_ERR
(Example
; Any code can go here
;
; Must be in Bank0
; YES, Read the value written
;
; Is difference 0?
; NO, Write error
; YES, Good write
; Continue program
7-3) as the value that was intended to be written. This
1997 Microchip Technology Inc.

Related parts for PIC12CE518-04I/SN