beautypg.com

1 power-on/power-fail reset, 2 .11 .1 power-on/power-fail reset -28, Table 2-8 . power-fail reset check interval -28 – Maxim Integrated MAXQ610 User Manual

Page 32: Maxq610 user’s guide, Table 2-8. power-fail reset check interval

background image

2-28

MAXQ610 User’s Guide

2.11.1 Power-On/Power-Fail Reset

An on-chip power-on reset (POR) circuit is provided to ensure proper initialization on internal device states . The POR
circuit provides a minimum POR delay sufficient to accomplish this initialization . For fast V

DD

supply rise times, the

MAXQ610 is, at a minimum, held in reset for the POR delay when initially powered up . For slow V

DD

supply rise times,

the MAXQ610 is held in reset until V

DD

is above the POR voltage threshold .

The MAXQ610 supports power-fail detection where an on-chip bandgap and reference comparator constantly monitor
the supply voltage V

DD

to ensure that it is within acceptable limits . If V

DD

is below the power-fail level warning level,

an interrupt is generated to the CPU if enabled . If V

DD

falls further to below the operating condition, the power monitor

initiates a reset condition . This can occur either when the MAXQ610 is first powered up when the V

DD

supply is above

the POR voltage threshold, or when V

DD

drops out of tolerance from an acceptable level .

In either case, the reset condition is maintained until V

DD

rises above the reset level V

RST

. Once (V

DD

> V

RST

), there

is a delay of 8192 oscillator cycles until execution resumes to ensure that the clock source has stabilized .
Rather than leaving the power-fail reset monitoring circuit always on once the V

RST

condition has occurred, it can be

advantageous to the application to conserve battery capacity during power-fail reset in order to extend the time until
POR is reached (and possibly retaining SRAM contents) . While there is still no single bit indicator that can be used to
guarantee SRAM retention once power-fail reset has occurred, one possibility is that the user can perform a checksum
over the area for which retention is questioned to make this assessment . So, in order to reduce current consumption
during the power-fail reset state, two power-fail reset check time configuration bits (PFRCK[1:0]) are provided for the
user . These bits are used to enable duty cycling of the V

RST

power-monitoring circuitry during the time when V

DD

is

below the V

RST

threshold but has not reached the POR threshold . These bits are reset only by POR (not even V

RST

) .

Table 2-8 provides the bit settings and corresponding duty cycling of the power monitor check when V

POR

< V

DD

<

V

RST

. Note that the V

POR

state for the bits is 00b, which results in the monitor being on always .

During the power-fail reset condition, duty cycling of the V

RST

power-monitoring circuitry results in reduced current that

can be approximated by the following equation:

I

POWERFAIL

= (3 x I

S2

+ (Check Interval Cycles - 3) x (I

S1

+ I

NANO

))/Check Interval Cycles

where:
I

S1

= stop-mode current with power-fail monitor off

I

S2

= stop-mode current with power-fail monitor on

I

NANO

= nanopower ring oscillator current

When the processor exits from the power-on/power-fail reset state, the POR bit in the watchdog control register
(WDCN) is set to 1 and can only be cleared by software . The user software can examine the POR bit following a reset
to determine whether the reset was caused by a power-on reset or by another source .
The power-fail monitor is always on during normal operation . However, it can be selectively disabled during stop
mode using the power-fail monitor disable (PFD) bit in the PWCN register if the regulator is also selectively disabled
(REGEN = 0) during stop mode . If the user opts to leave the regulator on during stop mode, the power-fail monitor is
automatically left enabled as well, regardless of the state of the PFD bit . The reset default state for the PFD bit is 0,
which enables the power-fail monitor function during stop mode . If power-fail monitoring is disabled (PFD = 1) during
stop mode, the circuitry responsible for generating a power-fail warning or reset is shut down and neither condition is
detected . Thus, the V

DD

< V

RST

condition does not generate a reset . However, in the event that V

DD

falls below the

Table 2-8. Power-Fail Reset Check Interval

PFRCK[1:0]

POWER-FAIL MONITOR CHECK INTERVAL (NANOPOWER RING OSCILLATOR CYCLES)

00

No interval defined (Monitor on always as normal)

01

2

10

(~ 128ms for 8kHz nanopower ring oscillator frequency)

10

2

11

(~ 256ms for 8kHz nanopower ring oscillator frequency)

11

2

12

(~ 512ms for 8kHz nanopower ring oscillator frequency)