mc68hc11f1cpu3 Freescale Semiconductor, Inc, mc68hc11f1cpu3 Datasheet - Page 54

no-image

mc68hc11f1cpu3

Manufacturer Part Number
mc68hc11f1cpu3
Description
Mc68hc11f1 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC11F1CPU3
Manufacturer:
ATMEL
Quantity:
1 000
4.4.1.4 EEPROM Byte Erase
4.4.2 PPROG EEPROM Programming Control Register
PPROG — EEPROM Programming Control
ODD — Program Odd Rows in Half of EEPROM (TEST)
EVEN — Program Even Rows in Half of EEPROM (TEST)
Bit 5 — Not implemented
BYTE — Byte/Other EEPROM Erase Mode
ROW — Row/All EEPROM Erase Mode (only valid when BYTE = 0)
4-16
RESET:
The following is an example of how to erase a single byte of EEPROM and assumes
that index register X contains the address of the byte to be erased.
Bits in PPROG register control parameters associated with EEPROM programming.
Always reads zero
BYTEE
ROWE
0 = Row or bulk erase mode used
1 = Erase only one byte of EEPROM
0 = All 512 bytes of EEPROM erased
1 = Erase only one 16-byte row of EEPROM
ODD
Bit 7
0
LDAB
STAB
STAB
LDAB
STAB
JSR
CLR
LDAB
STAB
STAB
LDAB
STAB
JSR
CLR
EVEN
6
0
Freescale Semiconductor, Inc.
OPERATING MODES AND ON-CHIP MEMORY
#$0E
$103B
0,X
#$0F
$103B
DLY10
$103B
#$16
$103B
0,X
#$17
$103B
DLY10
$103B
For More Information On This Product,
5
0
Go to: www.freescale.com
BYTE
ROW=1, ERASE=1, EELAT=1, EEPGM=0
Set to ROW erase mode
Store any data to any address in ROW
ROW=1, ERASE=1, EELAT=1, EEPGM=1
Turn on high voltage
Delay 10 ms
Turn off high voltage and set to READ mode
BYTE=1, ROW=0, ERASE=1, EELAT=1, EEPGM=0
Set to BYTE erase mode
Store any data to address to be erased
BYTE=1, ROW=0, ERASE=1, EELAT=1, EEPGM=1
Turn on high voltage
Delay 10 ms
Turn off high voltage and set to READ mode
4
0
ROW
0
3
ERASE
2
0
EELAT
1
0
EEPGM
TECHNICAL DATA
Bit 0
0
MC68HC11F1
$103B

Related parts for mc68hc11f1cpu3