II-28
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (SVD Circuit and Heavy Load Protection Function)
Supply Voltage Detection (SVD) Circuit and
Heavy Load Protection Function
The S1C6S3N2 Series has a built-in supply voltage detection
(SVD) circuit, so that the software can find when the source
voltage lowers.
S1C6S3L2/6S3B2 has a heavy load protection function for
when the battery load becomes heavy and the source voltage
drops.
5.3
Table 5.3.1 I/O data memory map (SVD circuit and heavy load protection function)
SVD circuit memory
map
Address
Comment
Register
D3
D2
D1
D0
Name
0
076H
HLMOD
BLD
BLS
R
W
EISWIT1 EISWIT0
R/W
HLMOD
EISWIT1
EISWIT0
0
0
0
Enable
Enable
Mask
Mask
SVD evaluation data
SVD ON/OFF
Interrupt mask register
(stopwatch 1 Hz)
Interrupt mask register
(stopwatch 10 Hz)
R/W
BLD
BLS
0
0
Heavy
load
Normal
ON
Normal
OFF
Heavy load protection mode register
Low
voltage
SR
*1
1
*
1 Initial value at the time of initial reset
*
2 Not set in the circuit
*
3 Undefined
*
4 Reset (0) immediately after being read
*
5 Constantly "0" when being read
To obtain the SVD detection result, follow the programming
sequence below.
0. Set HLMOD to "1" (only when the CPU system clock is
f
OSC3
in S1C6S3A2)
1. Set BLS to "1"
2. Maintain at 100 µs minimum
3. Set BLS to "0"
4. Read out BLD
5. Set HLMOD to "0" (only when the CPU system clock is
f
OSC3
in S1C6S3A2)
Example of supply
voltage detection
using SVD circuit
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......