MS51
Nov. 28, 2019
Page
217
of 491
Rev 1.00
MS51
32K
SE
RIES
TE
CHNICAL RE
F
EREN
CE MA
N
UAL
BODCON1
– Brown-out Detection Control 1
Register
SFR Address
Reset Value
BODCON1
ABH, Page 0, TA protected
POR 0000 0001 b
Others 0000 0UUU b
7
6
5
4
3
2
1
0
-
-
-
-
-
LPBOD[1:0]
BODFLT
-
-
-
-
-
R/W
R/W
Bit
Name
Description
7:3
-
Reserved
2:1
LPBOD[1:0]
Low power BOD enable
00 = BOD normal mode. BOD circuit is always enabled.
01 = BOD low power mode 1 by turning on BOD circuit every 1.6 ms periodically.
10 = BOD low power mode 2 by turning on BOD circuit every 6.4 ms periodically.
11 = BOD low power mode 3 by turning on BOD circuit every 25.6 ms periodically.
0
BODFLT
BOD filter control
BOD has a filter which counts 32 clocks of FSYS to filter the power noise when MCU runs with
HIRC, or ECLK as the system clock and BOD does not operates in its low power mode
(LPBOD[1:0] = [0, 0]). In other conditions, the filter counts 2 clocks of LIRC.
Note that when CPU is halted in Power-down mode. The BOD output is permanently filtered by
2 clocks of LIRC.
The BOD filter avoids the power noise to trigger BOD event. This bit controls BOD filter
enabled or disabled.
0 = BOD filter Disabled.
1 = BOD filter Enabled. (Power-on reset default value.)