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

PIC18F4520-I/ML 参数 Datasheet PDF下载

PIC18F4520-I/ML图片预览
型号: PIC18F4520-I/ML
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚增强型闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 412 页 / 6898 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F4520-I/ML的Datasheet PDF文件第229页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第230页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第231页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第232页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第234页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第235页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第236页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第237页  
PIC18F2420/2520/4420/4520  
After the A/D conversion is completed or aborted, a  
2 TAD wait is required before the next acquisition can  
be started. After this wait, acquisition on the selected  
channel is automatically started.  
19.6 A/D Conversions  
Figure 19-4 shows the operation of the A/D Converter  
after the GO/DONE bit has been set and the  
ACQT<2:0> bits are cleared. A conversion is started  
after the following instruction to allow entry into Sleep  
mode before the conversion begins.  
Note:  
The GO/DONE bit should NOT be set in  
the same instruction that turns on the A/D.  
Figure 19-5 shows the operation of the A/D Converter  
after the GO/DONE bit has been set and the  
ACQT<2:0> bits are set to ‘010’, and selecting a 4 TAD  
acquisition time before the conversion starts.  
19.7 Discharge  
The discharge phase is used to initialize the value of  
the capacitor array. The array is discharged before  
every sample. This feature helps to optimize the unity-  
gain amplifier, as the circuit always needs to charge the  
capacitor array, rather than charge/discharge based on  
previous measure values.  
Clearing the GO/DONE bit during a conversion will abort  
the current conversion. The A/D Result register pair will  
NOT be updated with the partially completed A/D  
conversion sample. This means the ADRESH:ADRESL  
registers will continue to contain the value of the last  
completed conversion (or the last value written to the  
ADRESH:ADRESL registers).  
FIGURE 19-4:  
A/D CONVERSION TAD CYCLES (ACQT<2:0> = 000, TACQ = 0)  
TCY - TAD  
TAD6 TAD7 TAD8 TAD9 TAD10 TAD11 TAD1  
TAD1 TAD2 TAD3 TAD4 TAD5  
b7  
b6  
b4  
b1  
b0  
b9  
b8  
b5  
b3  
b2  
Conversion starts  
Discharge  
Holding capacitor is disconnected from analog input (typically 100 ns)  
Set GO/DONE bit  
On the following cycle:  
ADRESH:ADRESL are loaded, GO/DONE bit is cleared,  
ADIF bit is set, holding capacitor is connected to analog input.  
FIGURE 19-5:  
A/D CONVERSION TAD CYCLES (ACQT<2:0> = 010, TACQ = 4 TAD)  
TAD Cycles  
TACQT Cycles  
7
8
9
10  
b1  
11 TAD1  
b0  
1
2
3
4
1
2
3
4
5
6
b7  
b6  
b3  
b2  
b8  
b5  
b4  
b9  
Automatic  
Acquisition  
Time  
Discharge  
Conversion starts  
(Holding capacitor is disconnected)  
Set GO/DONE bit  
(Holding capacitor continues  
acquiring input)  
On the following cycle:  
ADRESH:ADRESL are loaded, GO/DONE bit is cleared,  
ADIF bit is set, holding capacitor is connected to analog input.  
© 2008 Microchip Technology Inc.  
DS39631E-page 231