參數(shù)資料
型號(hào): M38234G9-XXXHP
廠商: Renesas Technology Corp.
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁(yè)數(shù): 38/76頁(yè)
文件大?。?/td> 896K
代理商: M38234G9-XXXHP
Rev.2.02 Jun 19, 2007 page 38 of 73
REJ03B0146-0202
3823 Group
A/D CONVERTER
[AD Conversion Register (ADH, ADL)] 0035
16
The AD conversion register is a read-only register that contains
the result of an A/D conversion. When reading this register during
an A/D conversion, the previous conversion result is read.The
high-order 8 bits of a conversion result is stored in the AD conver-
sion high-order register (address 0035
16
),and the low-order 2 bits
of the same result are stored in bit 7 and bit 6 of the AD conver-
sion low-order register (address 0036
16
).
The bit 0 in the AD conversion low-order register is used as the
conversion mode selection bit. 8-bit A/D mode is selected by set-
ting this bit to “0” and 10-bit A/D mode is selected by setting it to
“1”.
[AD Control Register (ADCON)] 0034
16
The AD control register controls the A/D conversion process. Bits
0 to 2 of this register select specific analog input pins. Bit 3 signals
the completion of an A/D conversion. The value of this bit remains
at “0” during an A/D conversion, then changes to “1” when the
A/D conversion is completed. Writing “0” to this bit starts the A/D
conversion. Bit 4 is the V
REF
input switch bit which controls con-
nection of the resistor ladder and the reference voltage input pin
(V
REF
). The resistor ladder is always connected to V
REF
when bit
4 is set to "1". When bit 4 is set to “0”, the resistor ladder is cut off
from V
REF
except for A/D conversion performed. When bit 5,
which is the AD external trigger valid bit, is set to “1”, this bit en-
ables A/D conversion even by a falling edge of an ADT input. Set
the P5
7
/ADT pin to input mode (set "0" to bit 7 of port P5 direction
register) when using an A/D external trigger.
[Comparison Voltage Generator]
The comparison voltage generator divides the voltage between
AV
SS
and V
REF
, and outputs the divided voltages.
[Channel Selector]
The channel selector selects one of the input ports P6
7
/AN
7
–P6
0
/
AN
0,
and inputs it to the comparator.
[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 AD
conversion register. When an A/D conversion is completed, the
control circuit sets the AD conversion completion bit and the AD
interrupt request bit to “1”.
The comparator is constructed linked to a capacitor. The conver-
sion accuracy may be low because the charge is lost if the
conversion speed is not enough. Accordingly, set f(X
IN
) to at least
500kHz during A/D conversion in the middle-or high-speed mode.
Also, do not execute the STP or WIT instruction during an A/D
conversion.
In the low-speed mode, since the A/D conversion is executed by
the built-in self-oscillation circuit, the minimum value of f(X
IN
) fre-
quency is not limited.
Fig. 33 Structure of AD conversion-related registers
A
(
A
D
c
C
n
0
0
0
0
1
1
1
1
o
O
n
t
N
r
o
l
a
r
e
d
g
d
i
r
s
e
t
e
s
r
s
D
:
0
0
3
4
1
6
)
AD conversion completion bit
0 : Conversion in progress
1 : Conversion completed
V
REF
input switch bit
0 : ON during conversion
1 : Always ON
AD external trigger valid bit
0 : A/D external trigger invalid
1 : A/D external trigger valid
Interrupt source selection bit
0 : Interrupt request at A/D
conversion completed
1 : Interrupt request at ADT
input falling
Not used (returns “0” when read)
A
a
0
0
1
1
0
0
1
1
l
o
g
0
1
0
1
0
1
0
1
i
:
:
:
:
:
:
:
:
n
p
u
6
0
/
6
1
/
6
2
/
6
3
/
6
4
/
6
5
/
6
6
/
6
7
/
t
p
A
A
A
A
A
A
A
A
i
N
0
N
1
N
2
N
3
N
4
N
5
N
6
N
7
n
s
e
l
e
c
t
i
o
n
b
i
t
s
P
P
P
P
P
P
P
P
b7
b
0
AD conversion low-order register
(ADL : address 0036
16
)
AD conversion speed selection bit
00 : f(X
IN
)/2
(this can be used in CPUM7 = “0” )
01 : f(X
IN
)
(this can be used in CPUM7 = “0” )
10 : On-chip oscillator
(this can be used in CPUM7 = “0”
and EXPCM0 = “1”)
11 : Disabled
Conversion mode selection bit
0 : 8 bit A/D mode
1 : 10 bit A/D mode
Not used (returns “0” when read)
In 10-bit A/D mode
A/D conversion data storage
In 8-bit A/D mode
Not used (Indefinite at read)
b7
b
0
相關(guān)PDF資料
PDF描述
M38234GA-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38234GA-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38234GB-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38234GB-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38234GC-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38235G6FP#U0 功能描述:MCU 2/5V 24K 80-QFP QZ-ROM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M38235G6HP#U0 功能描述:MCU 2/5V 24K 80-LQFP QZ-ROM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M38238G8FP#U0 功能描述:MCU 2/5V 32K 80-QFP QZ-ROM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M38238G8HP#U0 功能描述:MCU 2/5V 32K 80-LQFP QZ-ROM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M38239GCFP#U0 功能描述:MCU 2/5V 48K 80-QFP QZ-ROM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)