PIC16F872-E/SP Microchip Technology, PIC16F872-E/SP Datasheet - Page 85

no-image

PIC16F872-E/SP

Manufacturer Part Number
PIC16F872-E/SP
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F872-E/SP

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
10.2
The A/D conversion time per bit is defined as T
A/D conversion requires a minimum 12T
conversion. The source of the A/D conversion clock is
software selected. The four possible options for T
are:
• 2T
• 8T
• 32T
• Internal A/D module RC oscillator (2-6 s)
For correct A/D conversions, the A/D conversion clock
(T
of 1.6 s.
Table 10-1shows the resultant T
the device operating frequencies and the A/D clock
source selected.
TABLE 10-1:
© 2006 Microchip Technology Inc.
Note 1: The RC source has a typical T
AD
) must be selected to ensure a minimum T
OSC
OSC
OSC
2: When the device frequencies are greater than 1 MHz, the RC A/D conversion clock source is only recom-
3: For extended voltage devices (LC), please refer to the Electrical Characteristics (Sections 14.1 and 14.2).
Selecting the A/D Conversion
Clock
mended for SLEEP operation.
Operation
RC
32T
2T
8T
T
(1, 2, 3)
OSC
OSC
AD
OSC
vs. MAXIMUM DEVICE OPERATING FREQUENCIES (STANDARD DEVICES (C))
AD Clock Source (T
AD
times derived from
AD
AD
time of 4 s, but can vary between 2-6 s.
per 10-bit
AD
AD
AD
. The
time
)
ADCS1:ADCS0
AD
00
01
10
11
10.3
The ADCON1, and TRIS registers control the operation
of the A/D port pins. The port pins that are desired as
analog inputs must have their corresponding TRIS bits
set (input). If the TRIS bit is cleared (output), the digital
output level (V
The A/D operation is independent of the state of the
CHS2:CHS0 bits and the TRIS bits.
Note 1: When reading the port register, any pin
Configuring Analog Port Pins
2: Analog levels on any pin that is defined as
configured as an analog input channel will
read as cleared (a low level). Pins config-
ured as digital inputs will convert an ana-
log input. Analog levels on a digitally
configured input will not affect the conver-
sion accuracy.
a digital input (including the AN7:AN0
pins), may cause the input buffer to con-
sume current that is out of the device
specifications.
OH
or V
Maximum Device Frequency
OL
) will be converted.
PIC16F872
1.25 MHz
(Note 1)
20 MHz
5 MHz
DS30221C-page 83

Related parts for PIC16F872-E/SP