參數(shù)資料
型號: M38869M8A-012HP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁數(shù): 54/110頁
文件大小: 1601K
代理商: M38869M8A-012HP
54
3886 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
COMPARATOR CIRCUIT
Comparator Configuration
The comparator circuit consists of resistors, comparators, a com-
parator control circuit, the comparator reference input selection bit
(bit 7 of address 001D
16
), a comparator data register (address
002D
16
), the comparator reference power source input pin (P0
0
/
P3
REF
) and analog signal input pins (P3
0
–P3
7
). The analog input
pin (P3
0
–P3
7
) also functions as an ordinary digital port.
Comparator Operation
To activate the comparator, first set port P3 to input mode by set-
ting the corresponding direction register (address 0007
16
) to “0” to
use port P3 as an analog voltage input pin. The internal fixed ana-
log voltage (V
CC
29/32) can be generated by setting “1” to the
comparator reference input selection bit (bit 7) of the serial I/O2
control register (address 001D
16
). (The internal fixed analog volt-
age becomes about 4.5 V at V
CC
= 5.0 V.) When setting “0” to the
comparator reference input selection bit, the P0
0
/P3
REF
pin be-
comes the comparator reference power source input pin and it is
possible to input the comparator reference power source option-
ally from the external. The voltage comparison is immediately
performed by the writing operation to the comparator data register
(address 002D
16
). After 14 cycles of the internal system clock
φ
(the time required for the comparison), the comparison result is
stored in the comparator register (address 002D
16
).
If the analog input voltage is greater than the internal reference
voltage, each bit of this register is “1”; if it is less than the internal
reference voltage, each bit of this register is “0”. To perform an-
other comparison, the voltage comparison must be performed
again by writing to the comparator data register (address 002D
16
).
Read the result when 14 cycles of
φ
or more have passed after the
comparator operation starts. The ladder resistor is turned on dur-
ing 14 cycles of
φ
, which is required for the comparison, and the
reference voltage is generated. An unnecessary current is not
consumed because the ladder resistor is turned off while the com-
parator operation is not performed. Since the comparator consists
of capacitor coupling, the electric charge is lost if the clock fre-
quency is low.
Keep that the clock frequency is 1 MHz or more during the com-
parator operation. Do not execute the STP, WIT, or port P3 I/O
instruction.
Fig. 52 Comparator circuit
V
S
S
8
8
V
C
C
P
3
(
8
)
P
3
7
P
3
6
P
3
0
b
0
C
b
r
e
o
i
m
(
g
i
p
i
t
a
t
e
r
a
)
(
a
t
o
d
o
r
d
s
r
r
e
e
e
f
r
s
e
i
a
s
r
e
l
0
n
I
/
0
c
O
1
e
2
D
1
i
c
6
)
n
p
o
u
n
t
r
o
s
e
l
l
e
c
t
i
o
n
t
b
s
7
r
f
t
C
(
a
o
m
d
d
p
r
a
s
r
a
s
t
0
o
r
2
d
D
1
a
t
a
6
)
r
e
g
i
s
t
e
r
e
0
C
a
o
t
m
r
p
a
r
-
o
L
c
a
o
d
n
d
n
e
e
r
c
t
r
i
e
n
s
g
i
s
s
t
i
o
g
r
n
a
l
C
c
o
o
m
n
p
r
o
a
l
r
c
a
i
t
r
o
c
r
u
i
t
t
C
s
o
i
m
n
p
a
a
r
a
t
o
r
c
o
n
n
e
c
t
i
n
g
g
l
C
a
o
t
m
r
p
a
r
-
o
C
a
o
t
m
r
p
a
r
-
o
P
0
0
/
P
3
R
E
F
V
C
C
2
9
/
3
2
“1
“0
D
a
t
a
b
u
s
相關(guān)PDF資料
PDF描述
M38B40EDH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B4XMXH SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B43EDH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B43M2H-XXXXFP OSC 3.3V SMT 7X5 CMOS
M38B43M3H-XXXXFP OSC 3.3V SMT 7X5 CMOS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38869M8A-XXXGP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38869M8A-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38869M8-XXXHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38869M9-XXXHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38869MA-XXXHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER