參數(shù)資料
型號: PIC876
廠商: Microchip Technology Inc.
英文描述: 28/40-pin 8-Bit CMOS FLASH Microcontrollers
中文描述: 28/40-pin 8位CMOS閃存微控制器
文件頁數(shù): 41/200頁
文件大?。?/td> 3544K
代理商: PIC876
第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頁當(dāng)前第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頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁
1999 Microchip Technology Inc.
DS30292B-page 41
PIC16F87X
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 V
DD
range. A bulk erase operation may not be
issued from user code (which includes removing code
protection). The data memory is not directly mapped in
the register file space. Instead it is indirectly addressed
through the Special Function Registers (SFR).
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 access allows for checksum calcula-
tion and calibration table storage. A byte or word write
automatically erases the location and writes the new
data (erase before write). Writing to program memory
will cease operation until the write is complete. The pro-
gram memory cannot be accessed during the write,
therefore code cannot execute. During the write opera-
tion, the oscillator continues to clock the peripherals,
and therefore they continue to operate. Interrupt events
will be detected and essentially “queued” until the write
is completed. When the write completes, the next
instruction in the pipeline is executed and the branch to
the interrupt vector address will occur.
When interfacing to the program memory block, the
EEDATH:EEDATA registers form a two byte word,
which holds the 14-bit data for read/write. The
EEADRH:EEADR registers form a two byte word,
which holds the 13-bit address of the EEPROM loca-
tion being accessed. These devices can have up to 8K
words of program EEPROM with an address range
from 0h to 3FFFh. The unused upper bits in both the
EEDATH and EEDATA registers all read as “0’s”.
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 PIC16F873/874 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.
4.2
EECON1 and EECON2 Registers
EECON1 is the control register for memory accesses.
EECON2 is not a physical register. Reading EECON2
will read all '0's. The EECON2 register is used
exclusively in the memory write sequence.
Control bit EEPGD determines if the access will be a
program or a data memory access. When clear, any
subsequent operations will operate on the data mem-
ory. When set, any subsequent operations will operate
on the program memory.
Control bits RD and WR initiate read and write opera-
tions, respectively. These bits cannot be cleared, only
set, in software. They are cleared in hardware at the
completion of the read or write operation. The inability
to clear the WR bit in software prevents the accidental
or premature termination of a write operation.
The WREN bit, when set, will allow a write operation.
On power-up, the WREN bit is clear. The WRERR bit is
set when a write operation is interrupted by a MCLR
reset or a WDT time-out reset during normal operation.
In these situations, following reset, the user can check
the WRERR bit and rewrite the location. The value of
the data and address registers and the EEPGD bit
remains unchanged.
Interrupt flag bit EEIF, in the PIR2 register, is set when
write is complete. It must be cleared in software.
相關(guān)PDF資料
PDF描述
PIP201-12M-3 DC-to-DC converter powertrain
PIP3102-R LOGIC LEVEL TOPFET
PIP3203-A TOPFET high side switch
PIP3206-R TOPFET high side switch SMD version
PIP8.4 7,500 & 15,000 Watt TVS Module
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC9310 制造商:PICSEMI 制造商全稱:PICSEMI 功能描述:Async Boost with 600KHz switching
PICADILLO-35T 功能描述:Resistive Graphic LCD Display Module Transmissive Red, Green, Blue (RGB) TFT - Color I2C, SPI 3.5" (88.90mm) 320 x 480 制造商:4d systems pty ltd 系列:- 零件狀態(tài):有效 顯示類型:TFT - 彩色 顯示模式:可傳導(dǎo)的 觸摸屏:電阻 屏幕對角線尺寸:3.5"(88.90mm) 可視范圍:73.40mm 寬 x 49.00mm 高 背光:LED - 白 點像素:320 x 480 接口:I2C,SPI 圖形顏色:紅,綠,藍(lán)(RGB) 背景顏色:- 點尺寸:- 點間距:0.15mm 寬 x 0.15mm 高 標(biāo)準(zhǔn)包裝:1
PICADLL 制造商:CALIBRE UK 功能描述:DEVELOPMENT DLLS I2C ADAPTER
PICAMBOX 制造商:Nwazet 功能描述:PI CAMERA BOX
PICAMBOXBUNDLE 制造商:Nwazet 功能描述:PI CAMERA BOX BUNDLE WITH FISHEYE LENS