參數(shù)資料
型號(hào): M38C89EFFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP144
封裝: 20 X 20 MM, 0.50 MM PITCH, PLASTIC, LQFP-144
文件頁數(shù): 21/54頁
文件大小: 805K
代理商: M38C89EFFP
28
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
38C8 Group
A-D CONVERTER
[A-D Conversion Registers (ADL, ADH)] 003216,
003316
The A-D conversion registers are read-only registers that contain the
result of an A-D conversion. During A-D conversion, do not read these
registers.
[A-D Control Register (ADCON)] 003116
The A-D control register controls the A-D conversion process. Bits 0
to 2 are analog input pin selection bits. Bit 3 is an A-D conversion
completion bit and “0” during A-D conversion, then changes to “1”
when the A-D conversion is completed. Writing “0” to this bit starts
the A-D conversion. When bit 5, which is the A-D external trigger
valid bit, is set to “1”, A-D conversion is started even by a rising edge
or falling edge of an ADT input.
Comparator and Control Circuit
The comparator and control circuit compares an analog input volt-
age with the comparison voltage and stores the result in the A-D
conversion register. When an A-D conversion is completed, the con-
trol circuit sets the A-D conversion completion bit and the A-D inter-
rupt request bit to “1”.
Because the comparator consists of a capacitor coupling, a deficient
conversion speed may cause lack of electric charge and make the
conversion accuracy worse. When A-D conversion is performed, set
f(XIN) to at least 500 kHz.
When both bit 5 and bit 4 of the CPU mode register are set to “1”,
A-D conversion is performed by using the built-in self-oscillation
circuit.
Trigger Start
When using the A-D external trigger, set the port shared with the
ADT pin to input. The polarity of INT1 interrupt edge also applies to
the A-D external trigger. When the INT1 interrupt edge polarity is
switched after an external trigger is validated, an A-D conversion
may be started.
Fig. 26 A-D converter block diagram
Fig. 25 Structure of A-D control register
Resistor ladder
The resistor ladder outputs the comparison voltage by dividing the
voltage between VDD and VSS by resistance.
Channel Selector
The channel selector selects one of the ports P33/AIN3–P30/AIN0 and
ports P10/AIN4–P13/AIN7, and inputs it to the comparator.
A-D control register
(ADCON : address 003116)
Analog input pin selection bits
0 0 0 : P30/AIN0
0 0 1 : P31/AIN1
0 1 0 : P32/AIN2
0 1 1 : P33/AIN3
1 0 0 : P10/AIN4
1 0 1 : P11/AIN5
1 1 0 : P12/AIN6
1 1 1 : P13/AIN7
b7
b0
b7
b9 b8 b7 b6 b5 b4 b3 b2
b9 b8
b7 b6 b5 b4 b3 b2
8-bit read (Read only address 003216.)
A-D conversion register (low-order)
(ADL: Address 003216)
10-bit read (Read address 003316 first.)
Note: High-order 6 bits of address 003316 becomes “0” at reading.
b1 b0
b0
A-D conversion register (low-order)
(ADL: Address 003216)
A-D conversion register (high-order)
(ADH: Address 003316)
b7
b0
b7
b0
A-D conversion completion bit
0 : Conversion in progress
1 : Conversion completed
Not used (return “0” when read)
A-D external trigger valid bit
0 : A-D external trigger invalid
1 : A-D external trigger valid
Not used (return “0” when read)
A-D control circuit
VSS
b7
b0
3
P30/AIN0
P31/AIN1
P32/AIN2
P33/AIN3
P10/AIN4
P11/AIN5
P12/AIN6
P13/AIN7
10
P41/INT1/ADT
(H)
(L)
VCC
Data bus
A-D control register
A-D conversion register
Resistor ladder
Comparater
A-D interrupt request
C
h
a
n
e
l
s
e
le
c
to
r
A-D conversion register
相關(guān)PDF資料
PDF描述
M38D24G6HP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D24G4FP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D24G4-XXXHP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D28G8HP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D29FFHP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38D20F1XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38D20F1XXXHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38D20F2XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38D20F2XXXHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38D20F3XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER