参数资料
型号: AT89EB5114
厂商: Atmel Corp.
元件分类: 8位微控制器
英文描述: Low-pin-count 8-bit microcontroller with A/D converter
中文描述: 低引脚数的8 - A / D转换位微控制器
文件页数: 63/95页
文件大小: 1126K
代理商: AT89EB5114
63
4311A–8051–01/05
How to Take Advantage of the Calibration Value
The coefficient stored on the stacked die allow to determine the conversion result the
AT8xEB5114 should have returned in case its Vref was exactly equal to 2.4V. In order to
determine it, a multiplication of the result of the conversion with the coefficient stored in
the stack, followed by a shift are sufficient.
Example
Vref is 2.36V instead of 2.4V, and only 8 bits are necessary.
The value measured during the test 2.36V. So, in accordance with the Table 47, the
coefficient which has to be stored on the EEPROM is 0x7e which corresponds to
0.1111110 in binary, which also corresponds to around 2.36/2.4.
If, for example, after a conversion, the ADDH register contains 0xf0, to know the result
the ADC should have returned in case the Vref was really at 2.4V, the following opera-
tions are necessary:
0xf0 * 0x7e = 1111 0000 * 0111 1110 = 0x7620 = 0111 0110 0010 0000.
So because of the point on the coefficient, the result is 1110 110 which is 0xec.
Assembler code example
This is an example of assembler code optimized for size and fast recalculation in case 8
bits are sufficient.
start_adjustement : MOV B,coeff ; Coeff
MOV A,ADDH ; ADC result
MUL AB ;
RLC A ; Recover lowest bit
MOV A,B ;
RLC A ; Recover result
JNC end_fix ; Result OK
MOV A,#0ffh ; Overflow
end_adjustement : RET
The new result is stored on the accumulator.
This routine requires 15 bytes + 3 bytes for the long call (LCALL).
The execution of the subroutine (including the LCALL) is 18 cycles in normal case and
19 cycles in case of overflow (less than 10us with a 12 MHz oscillator and the X2 mode).
Registers
Table 48. ADCON Register
ADCON (S:F3h)
ADC Control Register
7
6
5
4
3
2
1
0
QUIETM
PSIDLE
ADEN
ADEOC
ADSST
SCH2
SCH1
SCH0
Bit
Number
Bit
Mnemonic
Description
7
QUIETM
Quiet mode (best precision)
Set to put in quiet mode during conversion.
Cleared by hardware after completion of the conversion.
6
PSIDLE
Pseudo Idle mode (good precision)
Set to put in idle mode during conversion.
Cleared by hardware after completion of the conversion.
相关PDF资料
PDF描述
AT89EB5114-TGSIL Low-pin-count 8-bit microcontroller with A/D converter
AT83EB5114 Low-pin-count 8-bit microcontroller with A/D converter
AT83R22OK CardMan Smart Key
AT83R22OK_06 CardMan Smart Key
AT83R22OKXXX-RDRUM CardMan Smart Key
相关代理商/技术参数
参数描述
AT89EB5114-TGSIL 功能描述:IC 8051 MCU FLASH 4K 20SOIC RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:89EB 产品培训模块:MCU Product Line Introduction XMEGA Introduction AVR XMEGA USB Connectivity 标准包装:90 系列:AVR® XMEGA 核心处理器:AVR 芯体尺寸:8/16-位 速度:32MHz 连通性:I²C,IrDA,SPI,UART/USART 外围设备:欠压检测/复位,DMA,POR,PWM,WDT 输入/输出数:50 程序存储器容量:192KB(96K x 16) 程序存储器类型:闪存 EEPROM 大小:4K x 8 RAM 容量:16K x 8 电压 - 电源 (Vcc/Vdd):1.6 V ~ 3.6 V 数据转换器:A/D 16x12b; D/A 2x12b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:64-TQFP 包装:托盘 配用:ATSTK600-RC14-ND - STK600 SOCKET/ADAPTER 64TQFPATSTK600-TQFP64-ND - STK600 SOCKET/ADAPTER 64-TQFPATAVRONEKIT-ND - KIT AVR/AVR32 DEBUGGER/PROGRMMRATAVRISP2-ND - PROGRAMMER AVR IN SYSTEM
AT89EB5114-TGSUL 功能描述:8位微控制器 -MCU A/D 4K Flash 256EE RC 4PWM SO20 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT89EMK-01 功能描述:EMULATOR FOR MP3 SND1 MCU RoHS:否 类别:编程器,开发系统 >> 内电路编程器、仿真器以及调试器 系列:Keil 产品变化通告:Development Systems Discontinuation 19/Jul/2010 标准包装:1 系列:* 类型:* 适用于相关产品:* 所含物品:*
AT89EVK-01 功能描述:开发板和工具包 - 8051 AT83C24 Kit for TDA8004/8024 rplcmnt RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:C8051F960, Si7005 核心: 接口类型:USB 工作电源电压:
AT89ISP 功能描述:电缆组件 ISP CABLE FOR 89S SERIES - ISP CABLE RoHS:否 制造商:Molex 产品:Power Assemblies 类型:Cable Assembly 连接器端口 A:No Connector 连接器端口 A 管脚计数:4 连接器端口 B:No Connector 连接器端口 B 管脚计数: 型式:Male 线规 - 美国线规(AWG):20, 28 长度:0.305 m 颜色:Black, Red