參數(shù)資料
型號(hào): M38856F9-HP
廠商: Renesas Technology Corp.
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁(yè)數(shù): 67/103頁(yè)
文件大小: 1580K
代理商: M38856F9-HP
3885 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
66
COMPARATOR CIRCUIT
Comparator Configuration
The comparator circuit consists of the ladder resistors, the analog
comparators, a comparator control circuit, the comparator refer-
ence input selection bit (bit 7 of PCTL2), a comparator data
register (CMPD), the comparator reference power source input pin
(P2
0
/CMP
REF
) and analog 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 circuit, first set port P3 to input mode
by setting the corresponding direction register (P3D) to
0
to use
port P3 as an analog voltage input pin. The internal fixed analog
voltage (V
CC
29/32) can be generated by setting
1
to the com-
parator reference input selection bit (bit 7 of PCTL2). The internal
fixed analog voltage becomes about 2.99 V at V
CC
= 3.3 V. When
setting
0
to the comparator reference input selection bit, the P2
0
/
CMP
REF
pin becomes the comparator reference power source in-
put pin and it is possible to input the comparator reference power
source optionally from the external. The voltage comparison is im-
mediately performed by the writing operation to the comparator
data register (CMPD). After 14 cycles of the internal system clock
φ
(the time required for the comparison), the comparison result is
stored in the comparator data register (CMPD).
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 (CMPD).
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 may lost if the clock fre-
quency is low.
Keep the clock frequency more than 1 MHz during the comparator
operation. Do not execute the STP, WIT, or port P3 I/O instruction.
Fig. 64 Comparator circuit
V
SS
8
8
V
CC
P3 (8)
P3
7
P3
6
P3
0
b0
Comparator reference input selection bit
(bit 7 of PCTL2)
Comparator data register
Compar-
ator
Ladder resistor
connecting signal
Comparator
control circuit
Comparator connecting
signal
Compar-
ator
Compar-
ator
P2
0
/CMP
REF
V
CC
29/32
1
0
Data bus
相關(guān)PDF資料
PDF描述
M38B50E1XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M3933/18-21N 0 MHz - 18000 MHz RF/MICROWAVE FIXED ATTENUATOR
M39432-12WNC6T DIODE ZENER SINGLE 500mW 18Vz 5mA-Izt 0.05 0.1uA-Ir 12.6 PowerDI-323 3K/REEL
M3H75FAD 8 pin DIP, 5.0 or 3.3 Volt, HCMOS/TTL Clock Oscillator
M3L 3.2x5 mm, 3.3 or 5.0 Volt, HCMOS, Clock Oscillator
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38856FA-HP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38856FB-HP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38856FC-HP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38856FD-HP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38856FE-HP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER