CSM9S12XDT512SLK Freescale Semiconductor, CSM9S12XDT512SLK Datasheet - Page 1093

no-image

CSM9S12XDT512SLK

Manufacturer Part Number
CSM9S12XDT512SLK
Description
KIT STUDENT LEARNING 16BIT
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of CSM9S12XDT512SLK

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
26.4.2.3
The sector erase operation will erase both words in a sector of EEPROM memory using an embedded
algorithm.
An example flow to execute the sector erase operation is shown in
command write sequence is as follows:
If an EEPROM sector to be erased is in a protected area of the EEPROM memory, the PVIOL flag in the
ESTAT register will set and the sector erase command will not launch. Once the sector erase command has
successfully launched, the CCIF flag in the ESTAT register will set after the sector erase operation has
completed unless a new command write sequence has been buffered.
Freescale Semiconductor
1. Write to an EEPROM memory address to start the command write sequence for the sector erase
2. Write the sector erase command, 0x40, to the ECMD register.
3. Clear the CBEIF flag in the ESTAT register by writing a 1 to CBEIF to launch the sector erase
command. The EEPROM address written determines the sector to be erased while global address
bits [1:0] and the data written are ignored.
command.
Sector Erase Command
MC9S12XDP512 Data Sheet, Rev. 2.21
Chapter 26 4 Kbyte EEPROM Module (S12XEETX4KV2)
Figure
26-20. The sector erase
1095

Related parts for CSM9S12XDT512SLK