欢迎访问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文件第238页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第239页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第240页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第241页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第243页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第244页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第245页浏览型号PIC18F4520-I/ML的Datasheet PDF文件第246页  
PIC18F2420/2520/4420/4520  
FIGURE 21-1:  
COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM  
CVRSS = 1  
CVRSS = 0  
VREF+  
VDD  
8R  
CVR<3:0>  
R
CVREN  
R
R
R
16 Steps  
CVREF  
R
R
R
CVRR  
VREF-  
8R  
CVRSS = 1  
CVRSS = 0  
21.2 Voltage Reference Accuracy/Error  
21.4 Effects of a Reset  
The full range of voltage reference cannot be realized  
due to the construction of the module. The transistors  
on the top and bottom of the resistor ladder network  
(Figure 21-1) keep CVREF from approaching the refer-  
ence source rails. The voltage reference is derived  
from the reference source; therefore, the CVREF output  
changes with fluctuations in that source. The tested  
absolute accuracy of the voltage reference can be  
found in Section 26.0 “Electrical Characteristics”.  
A device Reset disables the voltage reference by  
clearing bit, CVREN (CVRCON<7>). This Reset also  
disconnects the reference from the RA2 pin by clearing  
bit, CVROE (CVRCON<6>) and selects the high-voltage  
range by clearing bit, CVRR (CVRCON<5>). The CVR  
value select bits are also cleared.  
21.5 Connection Considerations  
The voltage reference module operates independently  
of the comparator module. The output of the reference  
generator may be connected to the RA2 pin if the  
CVROE bit is set. Enabling the voltage reference out-  
put onto RA2 when it is configured as a digital input will  
increase current consumption. Connecting RA2 as a  
digital output with CVRSS enabled will also increase  
current consumption.  
21.3 Operation During Sleep  
When the device wakes up from Sleep through an  
interrupt or a Watchdog Timer time-out, the contents of  
the CVRCON register are not affected. To minimize  
current consumption in Sleep mode, the voltage  
reference should be disabled.  
The RA2 pin can be used as a simple D/A output with  
limited drive capability. Due to the limited current drive  
capability, a buffer must be used on the voltage  
reference output for external connections to VREF.  
Figure 21-2 shows an example buffering technique.  
DS39631E-page 240  
© 2008 Microchip Technology Inc.