STR91xFAxxx
Functional overview
3.13
System supervisor
The STR91xFA monitors several system and environmental inputs and will generate a
global reset, a system reset, or an interrupt based on the nature of the input and
configurable settings. A global reset clears all functions on the STR91xFA, a system reset
will clear all but the Clock Control Unit (CCU) settings and the system status register. At any
time, firmware may reset individual on-chip peripherals. System supervisor inputs include:
●
GR: CPU voltage supply (VDD) drop out or brown out
●
GR: I/O voltage supply (VDDQ) drop out or brown out
●
GR: Power-Up condition
●
SR: Watchdog timer timeout
●
SR: External reset pin (RESET_INn)
●
SR: JTAG debug reset command
Note:
GR: means the input causes Global Reset, SR: means the input causes System Reset
The CPU may read a status register after a reset event to determine if the reset was caused
by a watchdog timer timeout or a voltage supply drop out. This status register is cleared only
by a power up reset.
3.13.1
Supply voltage brownout
Each operating voltage source (VDD and VDDQ) is monitored separately by the Low Voltage
Detect (LVD) circuitry. The LVD will generate an early warning interrupt to the CPU when
voltage sags on either VDD or VDDQ voltage inputs. This is an advantage for battery powered
applications because the system can perform an orderly shutdown before the batteries
become too weak. The voltage trip point to cause a brown out interrupt is typically 0.25V
above the LVD dropout thresholds that cause a reset.
CPU firmware may prevent all brown-out interrupts by writing to interrupt mask registers at
run-time.
3.13.2
Supply voltage dropout
LVD circuitry will always cause a global reset if the CPU’s VDD source drops below it’s fixed
threshold of 1.4V.
However, the LVD trigger threshold to cause a global reset for the I/O ring’s VDDQ source is
set to one of two different levels, depending if VDDQ will be operated in the range of 2.7V to
3.3V, or 3.0V to 3.6V. If VDDQ operation is at 2.7V to 3.3V, the LVD dropout trigger threshold
is 2.4V. If VDDQ operation is 3.0V and 3.6V, the LVD threshold is 2.7V. The choice of trigger
level is made by STR91xFA device configuration software from STMicroelectronics or IDE
from 3rd parties, and is programmed into the STR91xFA device along with other
configurable items through the JTAG interface when the Flash memory is programmed.
CPU firmware may prevent some LVD resets if desired by writing a control register at run-
time. Firmware may also disable the LVD completely for lowest-power operation when an
external LVD device is being used.
3.13.3
Watchdog timer
The STR91xFA has a 16-bit down-counter (not one of the four TIM timers) that can be used
as a watchdog timer or as a general purpose free-running timer/counter. The clock source is
the peripheral clock from the APB, and an 8-bit clock pre-scaler is available. When enabled