C8051F336/7/8/9
18.2. Power-Fail Reset / V Monitor
DD
When a power-down transition or power irregularity causes V
to drop below V , the power supply
RST
DD
monitor will drive the RST pin low and hold the CIP-51 in a reset state (see Figure 18.2). When V returns
DD
to a level above V
, the CIP-51 will be released from the reset state. Note that even though internal data
RST
memory contents are not altered by the power-fail reset, it is impossible to determine if V dropped below
DD
the level required for data retention. If the PORSF flag reads ‘1’, the data may no longer be valid. The V
DD
monitor is enabled after power-on resets. Its defined state (enabled/disabled) is not altered by any other
reset source. For example, if the V monitor is disabled by code and a software reset is performed, the
DD
V
monitor will still be disabled after the reset.
DD
Important Note: If the V monitor is being turned on from a disabled state, it should be enabled before it
DD
is selected as a reset source. Selecting the V monitor as a reset source before it is enabled and stabi-
DD
lized may cause a system reset. In some applications, this reset may be undesirable. If this is not desirable
in the application, a delay should be introduced between enabling the monitor and selecting it as a reset
source. The procedure for enabling the V monitor and configuring it as a reset source from a disabled
DD
state is shown below:
Step 1. Enable the V monitor (VDMEN bit in VDM0CN = ‘1’).
DD
Step 2. If necessary, wait for the V monitor to stabilize (see Table 6.4 for the V Monitor turn-
DD
DD
on time).
Step 3. Select the V monitor as a reset source (PORSF bit in RSTSRC = ‘1’).
DD
See Figure 18.2 for V
monitor timing; note that the power-on-reset delay is not incurred after a V
DD
DD
monitor reset. See Table 6.4 for complete electrical characteristics of the V monitor.
DD
112
Rev. 0.2