BAT32G1x9 user manual | Chapter 31 Voltage detection circuit
1102 / 1149
Rev.1.02
31.4.3
Used as a setting when interrupt & reset mode
The operating mode (interrupt & reset mode (LVIMDS1, LVIMDS0=1, 0)) and the sense voltage (V) are set by the
option byte 000C1H
LVDH
, V
LVDL
)
。
If you set the Interrupt & Reset mode, it starts running in the following initial setup state.
• Set the bit7 (LVISEN) of the Voltage Sense Register (LVIM) to "0" (disables overwriting of the Voltage
Sense Level Register (LVIS ) )
。
• Set the initial value of the Voltage Sense Level Register (LVIS) to "00H". Bit7 (LVIMD) is "0" (interrupt mode).
bit0 (LVILV) is "0" (high voltage sense level: VLVDH).
● LVD interrupt & reset mode operation
When powered on, interrupt & reset mode (LVIMDS1, LVIMDS0=1, 0) exceeds the high voltage
sense level (
VDD
) at the supply voltage (VDD V
LVDH
) remains in the internal reset state of the LVD
before. If the supply voltage (V
DD
) exceeds the high voltage sense level (V
LVDH
), the internal reset is
dismissed.
When the operating voltage drops, if the supply voltage (V
DD
) falls below the high voltage sense level
(V
LVDH
), an interrupt request signal (INTLVI) of the LVD is generated ) and can perform arbitrary
stack processing. Thereafter, if the supply vo ltage (V
DD
) is below the low voltage sense level
(V
LVDL
), which results in an internal reset of the LVD. However, after the occurrence of INTLVI, even the
supply voltage (V
DD
) reverts to a high voltage sense voltage (V) in a state that is not lower than the
low voltage sense voltage (V
LVDL
).
LVDH
) or higher, and does not generate an interrupt request
signal.
When using LVD interrupt & reset mode, it is necessary to follow the "Setup Steps for
Confirmation/Reset of the Operating Voltage of Figure 30-7" and "Figure 30-8 In the initial setup
steps of the interrupt &reset mode" steps shown in the flowchart are set up.
The timing of the internal reset signal and interrupt signal generation in LVD interrupt & reset mode is
shown in Figure 30-6.