MC9S12XDP512CFU
Model | MC9S12XDP512CFU |
Description | 16-BIT, FLASH, 40MHz, MICROCONTROLLER, PQFP80 |
PDF file | Total 1348 pages (File size: 8M) |
Chip Manufacturer | PHILIPS |
Chapter 26 4 Kbyte EEPROM Module (S12XEETX4KV2)
START
Read: ECLKDIV register
Clock Register
Written
Check
NOTE: ECLKDIV needs to
be set once after each reset.
EDIVLD
Set?
yes
no
Write: ECLKDIV register
Read: ESTAT register
Address, Data,
Command
Buffer Empty Check
CBEIF
Set?
yes
no
Access Error and
Protection Violation
Check
1.
2.
3.
ACCERR/
PVIOL
Set?
no
Write: EEPROM Address
and Dummy Data
yes
Write: ESTAT register
Clear ACCERR/PVIOL 0x30
Write: ECMD register
Erase Verify Command 0x05
Write: ESTAT register
Clear CBEIF 0x80
Read: ESTAT register
NOTE: command write sequence
aborted by writing 0x00 to
ESTAT register.
NOTE: command write sequence
aborted by writing 0x00 to
ESTAT register.
Bit Polling for
Command Completion
Check
CCIF
Set?
yes
no
Erase Verify
Status
BLANK
Set?
yes
no
EXIT EEPROM Memory
Erased
EXIT
EEPROM Memory
Not Erased
Figure 26-18. Example Erase Verify Command Flow
MC9S12XDP512 Data Sheet, Rev. 2.21
1092
Freescale Semiconductor