8 SUPPLY VOLTAGE DETECTOR (SVD)
8-6
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
6.1 Clock Source and Division Ratio Settings
Table 8.
SVDCLK.
CLKDIV[2:0] bits
SVDCLK.CLKSRC[1:0] bits
0x0
0x1
0x2
0x3
OSC3B
OSC1
OSC3A
EXOSC
0x6, 0x7
Reserved
1/1
Reserved
1/1
0x5
1/512
1/512
0x4
1/256
1/256
0x3
1/128
1/128
0x2
1/64
1/64
0x1
1/32
1/32
0x0
1/16
1/16
(Note) The oscillation circuits/external input that are not supported in this IC cannot be
selected as the clock source.
Note
: The clock frequency should be set to around 32 kHz.
SVD Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
SVDCTL
15 VDSEL
0
H1
R/WP –
14–13 SVDSC[1:0]
0x0
H0
R/WP Writing takes effect when the SVDCTL.
SVDMD[1:0] bits are not 0x0.
12–8 SVDC[4:0]
0x00
H1
R/WP –
7–4 SVDRE[3:0]
0x0
H1
R/WP
3
–
0
–
R
2–1 SVDMD[1:0]
0x0
H0
R/WP
0
MODEN
0
H1
R/WP
Bit 15
VDSel
This bit selects the power supply voltage to be detected by SVD.
1 (R/WP): Voltage applied to the EXSVD pin
0 (R/WP): V
DD
Bits 14–13 SVDSC[1:0]
These bits set the condition to generate an interrupt/reset (number of successive low voltage detec-
tions) in intermittent operation mode (SVDCTL.SVDMD[1:0] bits = 0x1 to 0x3).
6.2 Interrupt/Reset Generating Condition in Intermittent Operation Mode
Table 8.
SVDCTL.SVDSC[1:0] bits
Interrupt/reset generating condition
0x3
Low power supply voltage is successively detected eight times.
0x2
Low power supply voltage is successively detected four times.
0x1
Low power supply voltage is successively detected twice.
0x0
Low power supply voltage is successively detected once.
This setting is ineffective in continuous operation mode (SVDCTL.SVDMD[1:0] bits = 0x0).
Bits 12–8 SVDC[4:0]
These bits select a comparison voltage for detecting low voltage.
6.3 Comparison Voltage Setting
Table 8.
SVDCTL.SVDC[4:0] bits
Comparison voltage [V]
0x1f
High
0x1e
↑
:
0x0d
↓
0x0c
Low
0x0b–0x00
Use prohibited
For more information, refer to “Supply Voltage Detector Characteristics, SVD detection voltage
V
SVD
” in the “Electrical Characteristics” chapter.