參數(shù)資料
型號: MC68HC05E6MFB
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP44
封裝: PLASTIC, QFP-44
文件頁數(shù): 65/140頁
文件大?。?/td> 1584K
代理商: MC68HC05E6MFB
Memory and Registers
MC68HC05E6 — Rev. 1.0
Memory and Registers
There are three possibilities for erasing data from the EEPROM array,
depending on the amount of data to be affected.
To erase a byte of EEPROM, set EELATCH = CPEN = 1, set ER1
= 0 and ER0 = 1, write data to the desired address and then set
EEPGM for a time tEBYT (see Table 23).
To erase a block of EEPROM, set EELATCH = CPEN = 1, set ER1
= 1 and ER0 = 0, write data to any address in the block and then
set EEPGM for a time tEBLOCK (see Table 23).
To bulk erase the EEPROM, set EELATCH = CPEN = 1, set ER1
= ER0 = 1, write data to any address in the array and then set
EEPGM for a time tEBULK (see Table 23).
To terminate the programming or erase sequence, clear EEPGM, wait
for a time tFPV to allow the programming voltage to fall, and then clear
EELATCH and CPEN to release the buses (see Table 23). Following
each erase or programming sequence, clear all programming control
bits.
Example program
The following program is an example of the EEPROM programming
sequence using the timer to implement the required delay and assuming
a 1 MHz bus frequency.
TCSR
EQU
$0008
TIMER CONTROL AND STATUS
REGISTER
TCNT
EQU
$0009
TIMER COUNTER REGISTER
TOF
EQU
7
TOF BIT OF TCSR
PROG
EQU
$001C
EEPROM PROGRAM REGISTER
CPEN
EQU
6
CHARGE PUMP ENABLE BIT
ER1
EQU
4
ERASE SELECT BIT 1
ER0
EQU
3
ERASE SELECT BIT 0
EELATCH
EQU
2
LATCH BIT
EERC
EQU
1
RC/OSC SELECTOR BIT
EEPGM
EQU
0
EEPROM PROGRAM BIT
EESTART
EQU
$0100
STARTING ADDRESS OF EEPROM
SUMPIN
EQU
$FF
DUMMY DATA
ORG
$1000
START
EQU
*
BSET
EERC, PROG
SELECT RC OSCILLATOR
BSR
DELAY
RC OSCILLATOR STABILIZATION
BSET
CPEN, PROG
TURN ON CHARGE PUMP
BSET
EELATCH, PROG
ENABLE LATCH BIT
6-mem
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相關(guān)PDF資料
PDF描述
MC68HC05E6VDWR2 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC705E6MFB 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQFP44
MC68HC705E6CFB 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQFP44
MC68HC705E6VDWR2 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05E6VFB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05E6VDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6VFB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05F32 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:a member of the M68HC05 family of HCMOS
MC68HC05F32CFU 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:a member of the M68HC05 family of HCMOS
MC68HC05F32CPU 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:a member of the M68HC05 family of HCMOS