参数资料
型号: MC68HC05V7FN
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC68
封装: PLASTIC, LCC-68
文件页数: 102/170页
文件大小: 589K
代理商: MC68HC05V7FN
SECTION 3: EPROM and EEPROM
MOTOROLA
Page 23
MC68HC05V7 Specification Rev. 1.0
whether to erase a byte before programming is summarized in Table 3-2.
To erase a byte of EEPROM, set LATCH = 1, CPEN = 1, ER1 = 0 and ER0 = 1, write to
the address to be erased, and set EEPGM for a time t
EBYT.
To erase a block of EEPROM, set LATCH = 1, CPEN = 1, ER1 = 1 and ER0 = 0, write to
any address in the block, and set EEPGM for a time t
EBLOCK.
For a bulk erase, set LATCH = 1, CPEN = 1, ER1 = 1, and ER0 = 1, write to any address
in the array, and set EEPGM for a time t
EBULK.
To terminate the programming or erase sequence, clear EEPGM, delay for a time t
FPV to
allow the programming voltage to fall, and then clear LATCH and CPEN to free up the
buses. Following each erase or programming sequence, clear all programming control bits.
The following program is an example of the EEPROM programming sequence using the
timer to implement the required delay and assuming a 2.1 MHz bus frequency.
TSR
EQU
$0013
TIMER STATUS REGISTER
TCNTH
EQU
$0018
TIMER COUNTER REGISTER (HIGH)
TCNTL
EQU
$0019
TIMER COUNTER REGISTER (LOW)
TCMPH
EQU
$0016
TIMER OUTPUT COMPARE REGISTER (HIGH)
TCMPL
EQU
$0017
TIMER OUTPUT COMPARE REGISTER (LOW)
OCF
EQU
6
OCF BIT OF TSR
PROG
EQU
$001C
PROGRAM REGISTER
CPEN
EQU
6
CHARGE PUMP ENABLE
ER1
EQU
4
ERASE SELECT 1
ER0
EQU
3
ERASE SELECT 0
LATCH
EQU
2
LATCH BIT
EERC
EQU
1
RC/OSC SELECTOR
EEPGM
EQU
0
EE PROGRAM BIT
EESTART EQU
$0240
STARTING ADDRESS OF EEPROM
SUMPIN
EQU
$FF
DUMMY DATA
ORG
$1800
START
EQU
*
BSET
EERC,PROG
SELECT RC OSC
BSR
DELAY
RC OSC STABILIZATION
Table 3-2:
EEPROM Write/Erase Cycle Reduction
EEPROM Data To Be
Programmed
EEPROM Data Before
Programming
Erase Before
Programming?
00
No
01
No
10
Yes
11
No
相关PDF资料
PDF描述
MC68HC05V7CB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP56
MC68HC05V7CFU 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP64
MC68HC05X16FU 8-BIT, MROM, MICROCONTROLLER, PQFP64
MC68HC705X32FU 8-BIT, OTPROM, MICROCONTROLLER, PQFP64
MC68HC05X16MFU 8-BIT, MROM, MICROCONTROLLER, PQFP64
相关代理商/技术参数
参数描述
MC68HC05X16 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
MC68HC05X32 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
MC68HC05X4 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05X4CDW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05X4DW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit