PIC16F819-I/PTSL Microchip Technology, PIC16F819-I/PTSL Datasheet - Page 31

no-image

PIC16F819-I/PTSL

Manufacturer Part Number
PIC16F819-I/PTSL
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,18PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F819-I/PTSL

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
EXAMPLE 3-4:
 2004 Microchip Technology Inc.
ERASE_ROW
;
BANKSEL EEADRH
MOVF
MOVWF
MOVF
MOVWF
BANKSEL EECON1
BSF
BSF
BSF
BCF
MOVLW
MOVWF
MOVLW
MOVWF
BSF
NOP
NOP
BCF
BCF
BSF
ERASING A FLASH PROGRAM MEMORY ROW
ADDRH, W
EEADRH
ADDRL, W
EEADR
EECON1, EEPGD
EECON1, WREN
EECON1, FREE
INTCON, GIE
55h
EECON2
AAh
EECON2
EECON1, WR
EECON1, FREE
EECON1, WREN
INTCON, GIE
; Select Bank of EEADRH
;
; MS Byte of Program Address to Erase
;
; LS Byte of Program Address to Erase
; Select Bank of EECON1
; Point to PROGRAM memory
; Enable Write to memory
; Enable Row Erase operation
; Disable interrupts (if using)
;
; Write 55h
;
; Write AAh
; Start Erase (CPU stall)
; Any instructions here are ignored as processor
; halts to begin Erase sequence
; processor will stop here and wait for Erase complete
; after Erase processor continues with 3rd instruction
; Disable Row Erase operation
; Disable writes
; Enable interrupts (if using)
PIC16F818/819
DS39598E-page 29

Related parts for PIC16F819-I/PTSL