欢迎访问ic37.com |
会员登录 免费注册
发布采购

MPC82G516AE 参数 Datasheet PDF下载

MPC82G516AE图片预览
型号: MPC82G516AE
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit microcontroller]
分类和应用: 微控制器
文件页数/大小: 144 页 / 1527 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82G516AE的Datasheet PDF文件第78页浏览型号MPC82G516AE的Datasheet PDF文件第79页浏览型号MPC82G516AE的Datasheet PDF文件第80页浏览型号MPC82G516AE的Datasheet PDF文件第81页浏览型号MPC82G516AE的Datasheet PDF文件第83页浏览型号MPC82G516AE的Datasheet PDF文件第84页浏览型号MPC82G516AE的Datasheet PDF文件第85页浏览型号MPC82G516AE的Datasheet PDF文件第86页  
(1,0,1): select AIN5 (P1.5) as the analog input  
(1,1,0): select AIN6 (P1.6) as the analog input  
(1,1,1): select AIN7 (P1.7) as the analog input  
AUXR (Address=8EH, Auxiliary Register, Reset Value=0000,xx0xB)  
7
6
5
4
3
2
1
0
-
URTS  
ADRJ  
P41ALE P35ALE  
-
-
EXTRAM  
ADRJ:  
0: The most significant 8 bits of conversion result are saved in ADCH[7:0], while the least significant 2 bits in  
ADCL[1:0].  
1: The most significant 2 bits of conversion result are saved in ADCH[1:0], while the least significant 8 bits in  
ADCL[7:0].  
If ADRJ=0  
If ADRJ=1  
16.2 ADC Operation  
For consideration of pin-compatible with the standard 8051 MCU, the ADC hardware cannot have separated  
input pins for internal positive (Vref+) and negative (Vref-) reference voltages. The Vref+ and Vref- inputs have  
been internally tied to VDD pin and ground, respectively. So, the full-scale voltage Vref+ – Vref- becomes VDD.  
The A/D conversion result can be calculated from the following formula:  
x
Vin Vref-  
AIN Analog Input Voltage  
-
1024 x  
=
ADC Result =  
VDD Voltage  
Vref+ Vref-  
-
Where, Vin is the analog input voltage and x = 0~7 (any pin of AIN0~AIN7).  
The input analog voltage should be between Vref+ and Vref-, i.e., VDD and ground. For input voltages between  
Vref- and Vref- + 1/2 LSB, the 10-bit conversion result will be 00,0000,0000B = 000H. For input voltages between  
Vref+ – 3/2 LSB and Vref+, the conversion result will be 11,1111,1111B = 3FFH. Where:  
Vref+ Vref-  
VDD  
1024  
-
1 LSB =  
=
1024  
MEGAWIN  
MPC82G516A Data Sheet  
82