
Rev. 1.00
74
October 26, 2018
Rev. 1.00
75
October 26, 2018
BS86DH12C
High Voltage Touch A/D Flash MCU with HVIO
BS86DH12C
High Voltage Touch A/D Flash MCU with HVIO
• PDC Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
PDC5
PDC4
PDC3
PDC2
PDC1
PDC0
R/W
—
—
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
—
1
1
1
1
1
1
Bit 7~6
Unimplemented, read as “0”
Bit 5~0
PDC5~PDC0
: HVIO PD5~PD0 pin input/output type selection
0: Output
1: Input
• PDOM Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
PDOM5
PDOM4
PDOM3
PDOM2
PDOM1
PDOM0
R/W
—
—
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
—
0
0
0
0
0
0
Bit 7~6
Unimplemented, read as “0”
Bit 5~0
PDOM5~PDOM0
: HVIO PD5~PD0 output mask control
0: No output mask
1: Output mask
• PWRDET Register
Bit
7
6
5
4
3
2
1
0
Name
PWRRDYF
—
—
—
—
—
—
SFRTC
R/W
R
—
—
—
—
—
—
R/W
POR
x
—
—
—
—
—
—
0
“x”: unknown
Bit 7
PWRRDYF
: V
CC2
and V
DD
Power ready flag
0: Power not ready – V
CC2
< V
DET1
or V
DD
< V
DET2
1: Power ready – V
CC2
≥ V
DET1
and V
DD
≥ V
DET2
During the power-on voltage rising process, when the MCU operates normally and
the V
DD
voltage is equal to or greater than the V
DET2
voltage, it is not yet determined
whether the V
CC2
voltage is equal to or greater than the V
DET1
voltage, then the
PWRRDYF read value may be 0 or 1 and therefore in an unknown condition.
Bit 6~1
Unimplemented, read as “0”
Bit 0
SFRTC
: HVIO short flag response time selection
0: 64×t
LIRC
~ 96×t
LIRC
1: 32×t
LIRC
~ 64×t
LIRC
Voltage Detector
An internal voltage detector circuit is used to monitor the V
CC2
and V
DD
voltage levels. It provides
a power ready flag, PWRRDYF, which can be read by the MCU to indicate the power status. If
the V
CC2
is equal to or greater than the V
DET1
, and the V
DD
is equal to or greater than the V
DET2
, then
PWRRDYF=1, otherwise PWRRDYF=0.
In addition, there is also a V
CC2O
voltage output with a value of 0.2V
CC2
, which can be measured by
the internal A/D converter for the power good detection purpose.
The VCC1 is the LDO high voltage power input pin. A power divided voltage V
CC1O
is generated
using a divider resistor, this voltage can be externally connected to the A/D converter internal input
channel for measurement.