Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16F87X Datasheet(PDF) 41 Page - Microchip Technology

Part # PIC16F87X
Description  28/40-pin 8-Bit CMOS FLASH Microcontrollers
PDF  200 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F87X Datasheet(HTML) 41 Page - Microchip Technology

Back Button PIC16F87X Datasheet HTML 37Page - Microchip Technology PIC16F87X Datasheet HTML 38Page - Microchip Technology PIC16F87X Datasheet HTML 39Page - Microchip Technology PIC16F87X Datasheet HTML 40Page - Microchip Technology PIC16F87X Datasheet HTML 41Page - Microchip Technology PIC16F87X Datasheet HTML 42Page - Microchip Technology PIC16F87X Datasheet HTML 43Page - Microchip Technology PIC16F87X Datasheet HTML 44Page - Microchip Technology PIC16F87X Datasheet HTML 45Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 200 page
background image
PIC16F87X
© 1998 Microchip Technology Inc.
Preliminary
DS30292A-page 41
4.0
DATA EEPROM AND FLASH
PROGRAM MEMORY
The Data EEPROM and FLASH Program memory are
readable and writable during normal operation over the
entire VDD range. The data memory is not directly
mapped in the register file space. Instead it is indirectly
addressed through the Special Function Registers.
There are six SFRs used to read and write the program
and data EEPROM memory. These registers are:
• EECON1
• EECON2
• EEDATA
• EEDATH
• EEADR
• EEADRH
The EEPROM data memory allows byte read and write.
When interfacing to the data memory block, EEDATA
holds the 8-bit data for read/write, and EEADR holds
the address of the EEPROM location being accessed.
The registers EEDATH and EEADRH are not used for
data EEPROM access. These devices have up to 256
bytes of data EEPROM with an address range from 0h
to FFh.
The EEPROM data memory is rated for high erase/
write cycles. The write time is controlled by an on-chip
timer. The write time will vary with voltage and temper-
ature as well as from chip to chip. Please refer to the
specifications for exact limits.
The program memory allows word reads and writes.
Program memory reads allow checksum calculation for
UL type applications. A byte or word write automatically
erases the location and writes the new data (erase
before write).
When interfacing to the program memory block, the
EEDATH:EEDATA registers form a 2 byte word which
holds
the
14-bit
data
for
read/write,
and
the
EEADRH:EEADR registers form a 2 byte word which
holds the 13-bit address of the EEPROM location being
accessed. These devices can have up to 8K words of
program EEPROM with an address range from 0h to
3FFFh.
The value written to program memory does not need to
be a valid instruction. Therefore, up to 14-bit numbers
can be stored in memory for use as calibration param-
eters, serial numbers, packed 7-bit ASCII, etc. Execut-
ing a program memory location containing data that
forms an invalid instruction results in a NOP.
4.1
EEADR
The address registers can address up to a maximum of
256 bytes of data EEPROM or up to a maximum of 8K
words of program FLASH.
When selecting a program address value, the MSByte
of the address is written to the EEADRH register and
the LSByte is written to the EEADR register. When
selecting a data address value, only the LSByte of the
address is written to the EEADR register.
On the PIC16F874/873 devices with 128 bytes of
EEPROM, the MSbit of the EEADR must always be
cleared to prevent inadvertent access to the wrong
location. This also applies to the program memory. The
upper MSbits of EEADRH must always be clear.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com