参数资料
型号: MC68HC11F1VPU2
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: Technical Summary 8-Bit Microcontroller
中文描述: 8-BIT, EEPROM, 2 MHz, MICROCONTROLLER, PQFP80
封装: 14 X 14 MM, 1.40 MM HEIGHT, PLASTIC, LQFP-80
文件页数: 113/163页
文件大小: 711K
代理商: MC68HC11F1VPU2
MC68HC11F1
OPERATING MODES AND ON-CHIP MEMORY
MOTOROLA
TECHNICAL DATA
4-15
Recall that zeros must be erased by a separate erase operation before programming.
The following example of how to program an EEPROM byte assumes that the appro-
priate bits in BPROT have been cleared and the data to be programmed is present in
accumulator A.
4.4.1.2 EEPROM Bulk Erase
To erase the EEPROM, ensure that the proper bits of the BPROT register are cleared,
then complete the following steps using the PPROG register:
1. Write to PPROG with the ERASE, EELAT, and appropriate BYTE and ROW
bits set.
2. Write to the appropriate EEPROM address with any data. Row erase only re-
quires a write to any location in the row. Bulk erase is accomplished by writing
to any location in the array.
3. Write to PPROG with ERASE, EELAT, EEPGM, and the appropriate BYTE and
ROW bits set.
4. Delay for 10 ms or more, as appropriate.
5. Clear the EEPGM bit in PPROG to turn off the high voltage.
6. Return to step 1 for next byte or row or proceed to step 7.
7. Clear the PPROG register to reconfigure the EEPROM address and data buses
for normal operation.
The following is an example of how to bulk erase the 512-byte EEPROM. The CONFIG
register is not affected in this example. When bulk erasing the CONFIG register, CON-
FIG and the 512-byte array are all erased.
4.4.1.3 EEPROM Row Erase
The following example shows how to perform a fast erase of large sections of EE-
PROM and assumes that index register X contains the address of a location in the de-
sired row.
PROG
LDAB
#$02
EELAT=1, EEPGM=0
STAB
$103B
Set EELAT bit
STAA
$FE00
Store data to EEPROM address
LDAB
#$03
EELAT=1, EEPGM=1
STAB
$103B
Turn on programming voltage
JSR
DLY10
Delay 10 ms
CLR
$103B
Turn off high voltage and set to READ mode
BULKE
LDAB
#$06
ERASE=1, EELAT=1, EEPGM=0
STAB
$103B
Set EELAT bit
STAB
$FE00
Store any data to any EEPROM address
LDAB
#$07
EELAT=1, EEPGM=1
STAB
$103B
Turn on programming voltage
JSR
DLY10
Delay 10 ms
CLR
$103B
Turn off high voltage and set to READ mode
相关PDF资料
PDF描述
MC68HC11F1VPU3 Technical Summary 8-Bit Microcontroller
MC68HC11F1VPU4 Technical Summary 8-Bit Microcontroller
MI-QC211-MWY Military DC-DC Power Supplies
MI-QC211-MXY Military DC-DC Power Supplies
MI-QC211-MYY Military DC-DC Power Supplies
相关代理商/技术参数
参数描述
MC68HC11F1VPU3 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11F1VPU4 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11FC0 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11FC0CFU4 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11FC0CFU5 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller