参数资料
型号: M38503M2H-XXXFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO42
封装: 0.450 INCH, 0.80 MM PITCH, PLASTIC, SSOP-42
文件页数: 43/103页
文件大小: 1275K
代理商: M38503M2H-XXXFP
Rev.3.01
2003.06.20
page 42 of 97
3850 Group (Spec.A)
A-D CONVERTER
[A-D Conversion Registers (ADL, ADH)]
003516, 003616
The A-D conversion registers are read-only registers that store the
result of an A-D conversion. Do not read these registers during an
A-D conversion.
[A-D Control Register (ADCON)] 003416
The A-D control register controls the A-D conversion process. Bits
0 to 2 select a specific analog input pin. By setting a value to these
bits, when bit 0 of the A-D input selection register (address
003716) is “0”, P30/AN0-P34/AN4 can be selected, and when bit 0
of the A-D input selection register is “1”, P04/AN5-P07/AN8 can be
selected.
Bit 4 indicates the completion of an A-D conversion. The value of
this bit remains at “0” during an A-D conversion and changes to “1”
when an A-D conversion ends. Writing “0” to this bit starts the A-D
conversion.
[A-D Input Selection Register (ADSEL)]
003716
The analog input port selection switch bit is assigned to bit 0 of the
A-D input selection register. When “0” is set to the analog input
port selection switch bit, P30/AN0-P34/AN4 can be selected by the
analog input pin selection bits (b2, b1, b0) of the A-D control reg-
ister (address 003416). When “1” is set to the analog input port
selection switch bit, P04/AN5-P07/AN8 can be selected by the ana-
log input pin selection bits (b2, b1, b0) of the A-D control register
(address 003416).
Comparison Voltage Generator
The comparison voltage generator divides the voltage between
AVSS and VREF into 1024 and outputs the divided voltages.
Channel Selector
The channel selector selects one of ports P30/AN0 to P34/AN4,
P04/AN5 to P07/AN8 and inputs the voltage to the comparator.
Comparator and Control Circuit
The comparator and control circuit compare an analog input volt-
age with the comparison voltage, and the result is stored in the
A-D conversion registers. When an A-D conversion is completed,
the control circuit sets the A-D conversion completion bit and the
A-D interrupt request bit to “1”.
Note that because the comparator consists of a capacitor cou-
pling, set f(XIN) to 500 kHz or more during an A-D conversion.
When the A-D converter is operated at low-speed mode, f(XIN)
and f(XCIN) do not have the lower limit of frequency, because of
the A-D converter has a built-in self-oscillation circuit.
Fig. 42 Structure of A-D control register (spec. A)
Fig. 44 Structure of A-D conversion registers (spec. A)
Fig. 43 Structure of A-D input selection register (spec. A)
A-D control register
(ADCON : address 003416)
Analog input pin selection bits
0 0 0: P30/AN0
0 0 1: P31/AN1
0 1 0: P32/AN2
0 1 1: P33/AN3
1 0 0: P34/AN4
Not used (returns “0” when read)
A-D conversion completion bit
0: Conversion in progress
1: Conversion completed
Not used (returns “0” when read)
b7
b0
b2 b1 b0
Note 1
or
P04/AN5
P05/AN6
P06/AN7
P07/AN8
––––––
Note 2
Notes 1: This is selected when bit 0 of the A-D input selection register
(address 003716) is “0”.
2: This is selected when bit 0 of the A-D input selection register
(address 003716) is “1”.
A-D input selection register
(ADSEL: address 003716)
Analog input port selection switch bit
0: P30/AN0 toP34/AN4 is selected as
analog input pin.
1: P04/AN5 to P07/AN8 is selected as
analog input pin.
Not used (returns “0” when read)
Fix this bit to “0”.
Not used (returns “0” when read)
Fix this bit to “0”.
b7
b0
10-bit reading
(Read address 003616 before 003516)
(Address 003616)
(Address 003516)
8-bit reading (Read only address 003516)
(Address 003516)
b8
b7b6b5b4 b3b2b1b0
b7
b0
b9
b7
b0
Note : The high-order 6 bits of address 003616 become “0”
at reading.
b9b8b7b6 b5b4b3 b2
b7
b0
相关PDF资料
PDF描述
M38507F8FP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO42
M38507M8-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
M38504E6FP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDSO42
M38503M4A-XXXSP 8-BIT, MROM, 12.5 MHz, MICROCONTROLLER, PDIP42
M38503M2A-XXXSP 8-BIT, MROM, 12.5 MHz, MICROCONTROLLER, PDIP42
相关代理商/技术参数
参数描述
M38503M4A-210SP 制造商:Renesas Electronics Corporation 功能描述:
M38504E6FP 制造商:Renesas Electronics Corporation 功能描述:MCU 3/5V 24K 42-SSOP - Trays
M38504E6FP#U0 功能描述:MCU 4.0/5.5V 24K PB-FREE 42-SSOP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 产品培训模块:CAN Basics Part-1 CAN Basics Part-2 Electromagnetic Noise Reduction Techniques Part 1 M16C Product Overview Part 1 M16C Product Overview Part 2 标准包装:1 系列:M16C™ M32C/80/87 核心处理器:M32C/80 芯体尺寸:16/32-位 速度:32MHz 连通性:EBI/EMI,I²C,IEBus,IrDA,SIO,UART/USART 外围设备:DMA,POR,PWM,WDT 输入/输出数:121 程序存储器容量:384KB(384K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:24K x 8 电压 - 电源 (Vcc/Vdd):3 V ~ 5.5 V 数据转换器:A/D 34x10b,D/A 2x8b 振荡器型:内部 工作温度:-20°C ~ 85°C 封装/外壳:144-LQFP 包装:托盘 产品目录页面:749 (CN2011-ZH PDF) 配用:R0K330879S001BE-ND - KIT DEV RSK M32C/87
M38504M6202F 制造商:Panasonic Industrial Company 功能描述:SUB ONLY IC
M38504M6211F 制造商:Panasonic Industrial Company 功能描述:IC SUB FOR P-M38504M6202F