ST72321J7 STMicroelectronics, ST72321J7 Datasheet - Page 29

no-image

ST72321J7

Manufacturer Part Number
ST72321J7
Description
8-BIT MCU WITH NESTED INTERRUPTS, FLASH,10-BIT ADC, FIVE TIMERS, SPI, SCI, I2C INTERFACE
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72321J7

Hdflash Endurance
100 cycles, data retention
Clock Sources
crystal/ceramic resonator oscillators, internal RC oscillator, clock security system and bypass for external clock
Four Power Saving Modes
Halt, Active-Halt,Wait and Slow
Main Clock Controller With
Real time base, Beep and Clock-out capabilities
Two 16-bit Timers With
2 input captures, 2 output compares, external clock input on one timer, PWM and pulse generator modes
8-bit Pwm Auto-reload Timer With
2 input captures, 4 PWM outputs, output compare and time base interrupt, external clock with event detector
SYSTEM INTEGRITY MANAGEMENT (Cont’d)
6.4.2 Auxiliary Voltage Detector (AVD)
The Voltage Detector function (AVD) is based on
an analog comparison between a V
V
ply or the external EVD pin voltage level (V
The V
than the V
order to avoid parasitic detection (hysteresis).
The output of the AVD comparator is directly read-
able by the application software through a real
time status bit (AVDF) in the SICSR register. This
bit is read only.
Caution: The AVD function is active only if the
LVD is enabled through the option byte.
6.4.2.1 Monitoring the V
This mode is selected by clearing the AVDS bit in
the SICSR register.
The AVD voltage threshold value is relative to the
selected LVD threshold configured by option byte
(see
If the AVD interrupt is enabled, an interrupt is gen-
erated when the voltage crosses the V
V
Figure 16. Using the AVD to Monitor V
IT+(AVD)
IT-(AVD)
AVDF bit
AVD INTERRUPT
REQUEST
IF AVDIE bit = 1
LVD RESET
V
V
V
section 14.1 on page
V
IT+(AVD)
IT-
IT+(LVD)
IT-(LVD)
IT-(AVD)
reference value for falling voltage is lower
threshold (AVDF bit toggles).
reference value and the V
IT+
V
reference value for rising voltage in
DD
0
DD
175).
Main Supply
1
DD
INTERRUPT PROCESS
IT-(AVD)
IT+(AVD)
main sup-
V
Early Warning Interrupt
(Power has dropped, MCU not
not yet in reset)
DD
hyst
(AVDS bit=0)
EVD
RESET VALUE
and
or
).
In the case of a drop in voltage, the AVD interrupt
acts as an early warning, allowing software to shut
down safely before the LVD resets the microcon-
troller. See
The interrupt on the rising edge is used to inform
the application that the V
If the voltage rise time t
CPU cycles (depending on the reset delay select-
ed by option byte), no AVD interrupt will be gener-
ated when V
If t
– If the AVD interrupt is enabled before the
– If the AVD interrupt is enabled after the V
V
rupts will be received: the first when the AVDIE
bit is set, and the second when the threshold is
reached.
threshold is reached then only one AVD interrupt
will occur.
rv
IT+(AVD)
is greater than 256 or 4096 cycles then:
ST72321Rx ST72321ARx ST72321Jx
threshold is reached, then 2 AVD inter-
Figure
IT+(AVD)
t
1
16.
rv
VOLTAGE RISE TIME
is reached.
rv
DD
is less than 256 or 4096
warning state is over.
INTERRUPT PROCESS
0
IT+(AVD)
29/193

Related parts for ST72321J7