PIC16F72-I/SO Microchip Technology Inc., PIC16F72-I/SO Datasheet - Page 58
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F72-I/SO
Manufacturer Part Number
PIC16F72-I/SO
Description
28 PIN, 3.5 KB FLASH, 128 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F72-ISO.pdf
(136 pages)
Specifications of PIC16F72-I/SO
A/d Inputs
5-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
22
Interface
I2C/SPI
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SOIC
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F72-I/SO
Manufacturer:
MICROCHIP
Quantity:
3 290
Part Number:
PIC16F72-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F72
10.1
For the A/D converter to meet its specified accuracy,
the charge holding capacitor (C
to fully charge to the input channel voltage level. The
analog input model is shown in Figure 10-2. The
source impedance (R
switch (R
required to charge the capacitor C
switch (R
(V
at the analog input (due to pin leakage current).
The maximum recommended impedance for ana-
log sources is 10 kΩ. After the analog input channel is
selected (changed), this acquisition must be done
before the conversion can be started.
To calculate the minimum acquisition time, T
the PICmicro™ Mid-Range MCU Reference Manual,
(DS33023). In general, however, given a max of 10 kΩ
and at a temperature of 100°C, T
than 16 µs.
10.2
The A/D conversion time per bit is defined as T
A/D conversion requires 9.0 T
The source of the A/D conversion clock is software
selectable. The four possible options for T
For correct A/D conversions, the A/D conversion clock
(T
as small as possible, but no less than 1.6 µs and not
greater than 6.4 µs.
Table 10-1 shows the resultant T
the device operating frequencies and the A/D clock
source selected.
TABLE 10-1:
DS39597B-page 56
Note 1: The RC source has a typical T
AD
DD
• 2 T
• 8 T
• 32 T
• Internal RC oscillator (2 - 6 µs)
) must be selected to ensure a minimum T
). The source impedance affects the offset voltage
2: When the device frequencies are greater than 1 MHz, the RC A/D conversion clock source is only
A/D Acquisition Requirements
Selecting the A/D Conversion
Clock
SS
OSC
OSC
SS
recommended for SLEEP operation.
OSC
) impedance varies over the device voltage
) impedance directly affect the time
Operation
32 T
RC
2 T
8 T
T
OSC
OSC
(1, 2)
AD
OSC
vs. MAXIMUM DEVICE OPERATING FREQUENCIES (STANDARD DEVICES (C))
S
) and the internal sampling
AD Clock Source (T
AD
HOLD
AD
per 8-bit conversion.
ACQ
HOLD
times derived from
) must be allowed
will be no more
. The sampling
AD
AD
time of 4 µs, but can vary between 2-6 µs.
are:
ACQ
AD
AD
, see
. The
AD
time
)
ADCS<1:0>
00
01
10
11
10.3
The ADCON1, and TRISA registers control the opera-
tion 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
CHS<2:0> bits and the TRIS bits.
10.4
Clearing the GO/DONE bit during a conversion will
abort the current conversion. The ADRES register will
NOT be updated with the partially completed A/D con-
version sample. That is, the ADRES register will con-
tinue to contain the value of the last completed
conversion (or the last value written to the ADRES reg-
ister). After the A/D conversion is aborted, a 2 T
is required before the next acquisition is started. After
this 2 T
on the selected channel. The GO/DONE bit can then
be set to start the conversion.
Note:
Note 1: When reading the port register, all pins
AD
Configuring Analog Port Pins
A/D Conversions
2: Analog levels on any pin that is defined as
wait, an acquisition is automatically started
The GO/DONE bit should NOT be set in
the same instruction that turns on the A/D.
configured as analog input channels will
read as cleared (a low level). Pins config-
ured as digital inputs, will convert an
analog input. Analog levels on a digitally
configured input will not affect the
conversion accuracy.
a digital input (including the AN4:AN0
pins), may cause the input buffer to
consume current out of the device
specification.
OH
Maximum Device Frequency
2002 Microchip Technology Inc.
or V
OL
) will be converted.
1.25 MHz
(Note 1)
20 MHz
5 MHz
Max.
AD
wait