PIC16F876AT-I/SO Microchip Technology, PIC16F876AT-I/SO Datasheet - Page 38

IC MCU CMOS 20MHZ 8K FLSH 28SOIC

PIC16F876AT-I/SO

Manufacturer Part Number
PIC16F876AT-I/SO
Description
IC MCU CMOS 20MHZ 8K FLSH 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F876AT-I/SO

Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Controller Family/series
PIC16F
No. Of I/o's
22
Eeprom Memory Size
256Byte
Ram Memory Size
368Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F876AT-I/SO
0
PIC16F87XA
3.5
To read a program memory location, the user must write
two bytes of the address to the EEADR and EEADRH
registers, set the EEPGD control bit (EECON1<7>) and
then set control bit RD (EECON1<0>). Once the read
control bit is set, the program memory Flash controller
will use the next two instruction cycles to read the data.
This causes these two instructions immediately follow-
EXAMPLE 3-3:
DS39582B-page 36
;
;
Reading Flash Program Memory
BSF
BCF
MOVLW
MOVWF
MOVLW
MOVWF
BSF
BSF
BSF
NOP
NOP
BCF
MOVF
MOVWF
MOVF
MOVWF
FLASH PROGRAM READ
STATUS, RP1
STATUS, RP0
MS_PROG_EE_ADDR
EEADRH
LS_PROG_EE_ADDR
EEADR
STATUS, RP0
EECON1, EEPGD
EECON1, RD
STATUS, RP0
EEDATA, W
DATAL
EEDATH, W
DATAH
;
; Bank 2
;
; MS Byte of Program Address to read
;
; LS Byte of Program Address to read
; Bank 3
; Point to PROGRAM memory
; EE Read
; Any instructions here are ignored as program
; memory is read in second cycle after BSF EECON1,RD
; Bank 2
; W = LS Byte of Program EEDATA
;
; W = MS Byte of Program EEDATA
;
ing the “BSF EECON1,RD” instruction to be ignored.
The data is available in the very next cycle in the
EEDATA and EEDATH registers; therefore, it can be
read as two bytes in the following instructions. EEDATA
and EEDATH registers will hold this value until another
read or until it is written to by the user (during a write
operation).
 2003 Microchip Technology Inc.

Related parts for PIC16F876AT-I/SO