mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 113

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
The ACCERR flag will not be set if any EEPROM register is read during the command sequence.
If the EEPROM array is read during execution of an algorithm (i.e., CCIF bit in the ESTAT register is
low), the read will return non-valid data and the ACCERR flag will not be set.
When an ACCERR flag is set in the ESTAT register, the command state machine is locked. It is not
possible to launch another command until the ACCERR flag is cleared.
The PVIOL flag will be set during the command write sequence after the word write to the EEPROM
address space and the command sequence will be aborted if any of the following illegal operations are
performed.
When the PVIOL flag is set in the ESTAT register the command state machine is locked. It is not possible
to launch another command until the PVIOL flag is cleared.
3.5
3.5.1
If an EEPROM command is active (CCIF = 0) when the MCU enters wait mode, that command and any
pending command will be completed.
The EETS2K module can recover the MCU from wait mode if the interrupts are enabled (see
“Interrupts”).
3.5.2
If a command is active (CCIF = 0) when the MCU enters stop mode, the operation will be aborted and if
the operation is program, erase, or sector modify, the data being programmed or erased may be corrupted
and the CCIF and ACCERR flags will be set. If active, the high voltage circuitry to the EEPROM array
will be switched off when entering stop mode. Upon exit from stop mode, the CBEIF flag is set and any
pending command will not be launched. The ACCERR flag must be cleared before starting a new
command write sequence.
Freescale Semiconductor
9. The part enters stop mode and a program or erase command is in progress. The command is aborted
10. A 0 is written to the CBEIF bit in the ESTAT register.
1. Writing a EEPROM address to program in a protected area of the EEPROM.
2. Writing a EEPROM address to erase in a protected area of the EEPROM.
3. Writing the mass erase command to ECMD while any protection is enabled.
and any pending command is killed.
Operating Modes
Wait Mode
Stop Mode
As active commands are immediately aborted when the MCU enters stop
mode, it is strongly recommended that the user does not use the STOP
instruction during program, erase, or sector modify operations.
MC9S12HZ256 Data Sheet, Rev. 2.05
NOTE
Chapter 3 2 Kbyte EEPROM Module (EETS2KV1)
Section 3.7,
113

Related parts for mc9s12hz256v2