Rev. 1.00
11�
��ne ��� �01�
Rev. 1.00
113
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Phase Current Detection
The device contains a fully integrated phase current detect circuit which is used for motor protection.
8
+5V
PD3/OPA�P
+
-
PD�/OPA�N
OPA�O
PA�S[�:0]
PA�/OPA�O
+5V
PD1/OPA1P
+
-
PD0/OPA1N
OPA1O
PA6S[1:0]
PA6/OPA1O
To A/D converter
To A/D converter
OPA1
OPA�
Phase Current Detector Block Diagram
Phase Current Detect Functional Description
The phase current detect function can be implemented using OPA1 and OPA2. The OPA1 and OPA2
outputs can be measured by connecting to the A/D converter. These two signals can also be output
on PA6 and PA7 respectively by properly configuring the associated pin-shared control bits. A kind
of A/D converter interrupt, i.e, Int_AHL_Lim, can be used for phase current detection, which will be
introduced more in the A/D Converter chapter.
Phase Current Detect Register
There are two registers to control the on/off function of the phase current detection circuits, known
as OPA1CAL and OPA2CAL.
OPA1CAL Register
Bit
7
6
5
4
3
2
1
0
Name
OPA1ON
—
—
—
—
—
—
—
R/W
R/W
—
—
—
—
—
—
—
POR
0
—
—
—
—
—
—
—
Bit 7
OPA1ON
: OPA1 on/off control
0: Disable, OPA1 off
1: Enable, OPA1 on
Bit 6~0
Unimplemented, read as "0"
OPA2CAL Register
Bit
7
6
5
4
3
2
1
0
Name
OPA�ON
—
—
—
—
—
—
—
R/W
R/W
—
—
—
—
—
—
—
POR
0
—
—
—
—
—
—
—
Bit 7
OPA2ON
: OPA2 on/off control
0: Disable, OPA2 off
1: Enable, OPA2 on
Bit 6~0
Unimplemented, read as "0"