MC68HC912B32MFU8 MOTOROLA [Motorola, Inc], MC68HC912B32MFU8 Datasheet - Page 46

no-image

MC68HC912B32MFU8

Manufacturer Part Number
MC68HC912B32MFU8
Description
16-Bit Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
7.8 Program/Erase Protection Interlocks
7.9 Stop or Wait Mode
7.10 Test Mode
46
MOTOROLA
The Flash EEPROM program and erase mechanisms provide maximum protection from accidental pro-
gramming or erasure.
The voltage required to program/erase the Flash EEPROM (V
is not present, no programming/erasing will occur. Furthermore, the program/erase voltage will not be
applied to the Flash EEPROM unless turned on by setting a control bit (ENPE). The ENPE bit may not
be set unless the programming address and data latches have been written previously with a valid ad-
dress. The latches may not be written unless enabled by setting a control bit (LAT). The LAT and ENPE
control bits must be written on separate writes to the control register (FEECTL) and must be separated
by a write to the programming latches. The ERAS and LAT bits are also protected when ENPE is set.
This prevents inadvertent switching between erase/program mode and also prevents the latched data
and address from being changed after a program cycle has been initiated.
When stop or wait commands are executed, the MCU puts the Flash EEPROM in stop or wait mode. In
these modes the Flash module will cease erasure or programming immediately. It is advised not to enter
stop or wait modes when programming the Flash array.
The Flash EEPROM has some special test functions which are only accessible when the device is in
test mode. Test mode is indicated to the Flash EEPROM module when the SMOD line on the LIB is
asserted. When SMOD is asserted, the special test control bits may be accessed via the LIB to invoke
the special test functions in the Flash EEPROM module. When SMOD is not asserted, writes to the test
control bits have no effect and all bits in the test register FEETST will be cleared. This ensures that
Flash EEPROM test mode cannot be invoked inadvertently during normal operation.
Note that the Flash EEPROM module will operate normally, even if SMOD is asserted, until a special
test function is invoked. The test mode adds additional features over normal mode which allow the tests
to be performed even after the device is installed in the final product.
The Flash EEPROM module is not able to recover from STOP without a 1 micro-
second delay. This cannot be controlled internal to the MCU. Therefore, do not at-
tempt to recover from STOP with an interrupt. Use RESET to recover from a STOP
mode executed from Flash EEPROM. Recovery from a STOP instruction executed
from EEPROM and RAM operate normally.
CAUTION
FP
) is supplied via an external pin. If V
MC68HC912B32TS/D
MC68HC912B32
FP

Related parts for MC68HC912B32MFU8