![Freescale Semiconductor HCS08 Series Reference Manual Download Page 69](http://html1.mh-extra.com/html/freescale-semiconductor/hcs08-series/hcs08-series_reference-manual_2330628069.webp)
Chapter 5 Resets, Interrupts, and System Configuration
MC9S08JS16 MCU Series Reference Manual, Rev. 4
Freescale Semiconductor
69
5.6
Low-Voltage Detect (LVD) System
The MC9S08JS16 series include a system to protect against low-voltage conditions to protect memory
contents and control MCU system states during supply voltage variations. The system is composed of a
power-on reset (POR) circuit and a LVD circuit with trip voltages for warning and detection. The LVD
circuit is enabled when LVDE in SPMSC1 is set to 1. The LVD is disabled upon entering any of the stop
modes unless LVDSE is set in SPMSC1. If LVDSE and LVDE are both set, then the MCU cannot enter
stop2 (it will enter stop3 instead), and the current consumption in stop3 with the LVD enabled will be
higher.
5.6.1
Power-On Reset Operation
When power is initially applied to the MCU, or when the supply voltage drops below the power-on reset
re-arm voltage level, V
POR
, the POR circuit will cause a reset condition. As the supply voltage rises, the
LVD circuit will hold the MCU in reset until the supply has risen above the low voltage detection low
threshold, V
LVDL
. Both the POR bit and the LVD bit in SRS are set following a POR.
5.6.2
Low-Voltage Detection (LVD) Reset Operation
The LVD can be configured to generate a reset upon detection of a low voltage condition by setting
LVDRE to 1. The low voltage detection threshold is determined by the LVDV bit. After an LVD reset has
occurred, the LVD system will hold the MCU in reset until the supply voltage has risen above the low
voltage detection threshold. The LVD bit in the SRS register is set following either an LVD reset or POR.
5.6.3
Low-Voltage Warning (LVW) Interrupt Operation
The LVD system has a low voltage warning flag to indicate to the user that the supply voltage is
approaching the low voltage condition. When a low voltage warning condition is detected and is
2
0xFFFA:FFFB
Virq
IRQ
IRQF
IRQIE
IRQ pin
1
0xFFFC:FFFD
Vswi
Core
SWI Instruction
—
Software interrupt
0
0xFFFE:FFFF
Vreset
System
control
COP
LVD
RESET pin
Illegal opcode
Illegal address
LOC
POR
BDFR
COPE
LVDRE
—
ILOP
ILAD
CME
POR
Watchdog timer
Low-voltage detect
External pin
Illegal opcode
Illegal address
Loss of clock
Power-on-reset
BDM-forced reset
1
Unused vector space is available for use as general flash memory. However, other devices in the S08 family of MCUs
may use this location as interrupt vectors. Therefore, care must be taken when using this location if the code will be
ported to other MCUs.
Table 5-1. Vector Summary (from Lowest to Highest Priority) (continued)
Vector
Number
Address
(High/Low)
Vector Name
Module
Source
Enable
Description
Summary of Contents for HCS08 Series
Page 2: ......
Page 4: ......
Page 8: ......
Page 62: ...Chapter 4 Memory MC9S08JS16 MCU Series Reference Manual Rev 4 62 Freescale Semiconductor...
Page 305: ......