Rev. 1.00
82
August 29, 2018
Rev. 1.00
83
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
BUF_OUTn
R2R
D/A
OPAnP
OPAnN
To A/D converter
OPAnO
V
DD
VRnEXT
D[11:0]
DACnEN
S0
S1
S2
S7
S5
S4
S3
S6
x: Don't care
x: Don't care
DACnVRS
CMPnP
CMPnN
CnPOL
OnOFM OnRSP S0 S1 S2
0
1
1
x
0
1
ON
OFF
ON
ON
ON
OFF
OFF
ON
ON
CnOFM CnRSP S3 S4 S5
0
1
1
x
0
1
ON
OFF
ON
ON
ON
OFF
OFF
ON
ON
+
CMP
-
+
-
OPA
OPnOUT
OnOFM
CMPnO
Sn7
Sn6
OPnEN
OPnBW[1:0]
CMPnO
one
shot
OCPn Interrupt
CNVTn[1:0]
CMPnEN
Note: In applications, the BUF_OUTn function should be first selected by properly configuring the corresponding
pin-shared function register before the DACnEN bit is set high.
Over Current Protection Block Diagram (n=0~1)
The above circuit can be combined to associative functions via switches S6 and S7 by controlling
the Sn6 and Sn7 bits. The following table illustrates all implemented functions.
Sn6
Sn7
S6
S7
Implemented Functions
0
0
OFF
OFF
Independent operational amplifier; Independent comparator;
Independent D/A converter
0
1
OFF
ON
Independent D/A converter;
Combine to a function of operational amplifier and comparator:
the operational amplifier amplifies a signal and then the
comparator compares it with the external signals
1
0
ON
OFF
Independent operational amplifier
Combine to an over voltage protection function of D/A converter
and comparator
1
1
ON
ON
Combine to a complete over current protection function of
operational amplifier, comparator and D/A converter
Implemented Function Summary
Over Current Protection Registers
Overall operation of the over current protection is controlled using a series of registers. The DAnH
and DAnL registers are used to setup the OCP D/A Converter n output control code. The DACnC
register is used for OCP D/A Converter n enable or disable control and reference input selection as
well as switches on/off control. The OPnC and OPnVOS registers are used for overall control of the
OCP Operational Amplifier n, including enable/disable control, operating mode selection, bandwidth
setup and so on. The CMPnC and CMPnVOS registers are related to overall control of the OCP
Comparator n, such as enable/disable control, input offset calibration related setup, response time
selection, etc.