參數(shù)資料
型號: PIC14000-04I/SP
廠商: Microchip Technology
文件頁數(shù): 107/153頁
文件大?。?/td> 0K
描述: IC MCU OTP 4KX14 A/D 28DIP
產(chǎn)品培訓(xùn)模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標(biāo)準(zhǔn)包裝: 15
系列: PIC® 14
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
連通性: I²C
外圍設(shè)備: POR,溫度傳感器,WDT
輸入/輸出數(shù): 20
程序存儲器容量: 7KB(4K x 14)
程序存儲器類型: OTP
RAM 容量: 192 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 6 V
數(shù)據(jù)轉(zhuǎn)換器: 斜率 A/D
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-DIP(0.300",7.62mm)
包裝: 管件
配用: ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
ICE2000-ND - EMULATOR MPLAB-ICE 2000 POD
1996 Microchip Technology Inc.
Preliminary
DS40122B-page 57
PIC14000
8.0
ANALOG MODULES FOR A/D
CONVERSION
8.1
Overview
The PIC14000 includes analog components to create a
slope A/D converter including:
Comparator
4-bit programmable current source
16-channel analog mux
16-bit timer with capture register
Each channel is converted independently by means of
a slope conversion method using a single precision
comparator. The programmable current source feeds
an external 0.1
F (nominal) capacitor to generate the
ramp voltage used in the conversion.
8.2
Conversion Process
These are the steps to perform data conversion:
Clear REFOFF (SLPCON<5>) and ADOFF
(SLPCON<0>) bits to enable the A/D module.
Initialize ADCON1<7:4> to initialize the program-
mable current source.
Set ADRST (ADCON0<1>), for a minimum of 200
s to stop the timer and fully discharge the ramp
capacitor to ground.
The A/D timer (ADTMR) increments from 0000h
to FFFFh and must be initialized before each con-
version.
To start a conversion, clear ADRST through soft-
ware, it will allow the timer to begin counting and
the ramp capacitor to begin charging.
When the ramp voltage exceeds the analog input,
the comparator output changes from high to low.
This transition causes a capture event and copies
the current A/D timer value into the 16-bit capture
register.
An interrupt is generated to the CPU if enabled.
Note:
The A/D timer continues to run following a
capture event.
The maximum A/D timer count is 65,536. It can be
clocked by the on-chip or external oscillator. At a 4 MHz
oscillation frequency, the maximum conversion time is
16.38 ms for a full count. A typical conversion should
complete before full-count is reached. A timer overow
ag is set once the timer rolls over (FFFFh to 0000h),
and an interrupt is sent to the CPU, if enabled.
End-user calibration is simplied or eliminated by mak-
ing use of the on-chip EPROM. Internal component val-
ues are measured at factory nal test and stored in the
memory for use by the application rmware.
Periodic conversion cycles should be performed on the
bandgap
and
slope
references
(described
in
Section 9.0) to compensate for A/D component drift.
Measurements for the reference voltage count are
equated to the voltage value stored into EPROM during
calibration. All other channel measurements are
compensated for by ratioing the actual count with the
bandgap count and multiplying by the bandgap voltage
value stored in EPROM. Since all measurements are
relative to the reference, offset voltages inherent in the
comparator are cancelled out. See AN624, “PIC14000
A/D Theory and Implementation” for further details of
A/D operation.
The analog components used in the conversion and
the A/D timer can be disabled during idle periods for
maximum power savings. Power-saving can be
achieved
via
software
and/or
hardware
control
(Section 10.8).
8.3
A/D Timer (ADTMR) Module
The A/D timer (ADTMR) is comprised of a 16-bit up
timer, which is incremented every oscillator cycle.
ADTMR is reset to 0000h by a power-up reset; other-
wise the software must initialize it after each conver-
sion. A separate 16-bit capture register (ADCAP) is
used to capture the ADTMR count if an A/D capture
event occurs (see below). Both the A/D timer and cap-
ture register are readable and writable. The low byte of
the A/D timer (ADTMRL) is accessed at location 0Eh
while the high byte (ADTMRH) is accessed at location
0Fh. Similarly, the low byte of the A/D capture register
(ADCAP) is accessed at location 15h, and the high byte
is located at 16h.
This document was created with FrameMaker404
相關(guān)PDF資料
PDF描述
C8051F231 IC 8051 MCU 8K FLASH 32LQFP
C8051F230 IC 8051 MCU 8K FLASH 48TQFP
C8051F226 IC 8051 MCU 8K FLASH 48TQFP
1-100526-3 Z-PACK F.CODING KEY
1-100526-2 Z-PACK F.CODING KEY
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC14000-20/SO 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC14000-20/SP 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC14000-20/SS 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC14000-20I/P 制造商:Microchip Technology Inc 功能描述:MCU 8BIT PIC14 RISC 7KB EPROM 5V - Bulk
PIC14000-20I/SO 功能描述:8位微控制器 -MCU 7KB 192 RAM 20 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT