PIC18F85K22-I/PT Microchip Technology, PIC18F85K22-I/PT Datasheet - Page 363

no-image

PIC18F85K22-I/PT

Manufacturer Part Number
PIC18F85K22-I/PT
Description
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-80
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F85K22-I/PT

Controller Family/series
PIC18
No. Of I/o's
69
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
64MHz
No. Of Timers
8
Core Size
8 Bit
Program Memory Size
32KB
Core Processor
PIC
Speed
64MHz
Connectivity
EBI/EMI, I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
69
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 24x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F85K22-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F85K22-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F85K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
23.4
The ADCON2 register allows the user to select an
acquisition time that occurs each time the GO/DONE
bit is set.
When the GO/DONE bit is set, sampling is stopped and
a conversion begins. The user is responsible for ensur-
ing the required acquisition time has passed between
selecting the desired input channel and setting the
GO/DONE bit.
This
(ADCON2<5:3>) remain in their Reset state (‘ 000 ’),
which is compatible with devices that do not offer
programmable acquisition times.
If desired, the ACQTx bits can be set to select a pro-
grammable acquisition time for the A/D module. When
the GO/DONE bit is set, the A/D module continues to
sample the input for the selected acquisition time, then
automatically begins a conversion. Since the acquisi-
tion time is programmed, there may be no need to wait
for an acquisition time between selecting a channel and
setting the GO/DONE bit.
In either case, when the conversion is completed, the
GO/DONE bit is cleared, the ADIF flag is set and the
A/D begins sampling the currently selected channel
again. If an acquisition time is programmed, there is
nothing to indicate if the acquisition time has ended or
if the conversion has begun.
23.5
The A/D conversion time per bit is defined as T
A/D conversion requires 14 T
The
software-selectable.
The possible options for T
• 2 T
• 4 T
• 8 T
• 16 T
• 32 T
• 64 T
• Using the internal RC Oscillator
For correct A/D conversions, the A/D conversion clock
(T
the minimum T
Parameter
Table 23-1
the device operating frequencies and the A/D clock
source selected.
 2009-2011 Microchip Technology Inc.
AD
) must be as short as possible, but greater than
OSC
OSC
OSC
source
OSC
OSC
OSC
occurs
Selecting and Configuring
Automatic Acquisition Time
Selecting the A/D Conversion
Clock
shows the resultant T
130
of
in
AD
Table
when
the
. (For more information, see
31-28.)
A/D
AD
the
are:
AD
conversion
per 12-bit conversion.
AD
ACQT<2:0>
times derived from
clock
AD
. The
bits
is
PIC18F87K22 FAMILY
TABLE 23-1:
23.6
The ANCON0, ANCON1, ANCON2, TRISA, TRISF,
TRISG and TRISH registers control the operation of the
A/D port pins. The port pins needed as analog inputs
must have their corresponding TRISx bits set (input). If
the TRISx bit is cleared (output), the digital output level
(V
The A/D operation is independent of the state of the
CHS<3:0> bits and the TRISx bits.
Note 1:
OH
Note 1: When reading the PORT register, all pins
Operation
16 T
32 T
64 T
or V
2 T
4 T
8 T
AD Clock Source (T
RC
2:
OSC
OSC
OSC
2: Analog levels on any pin defined as a
Configuring Analog Port Pins
OSC
OSC
OSC
(2)
OL
The RC source has a typical T
4  s.
For device frequencies above 1 MHz, the
device must be in Sleep mode for the
entire conversion or the A/D accuracy may
be out of specification.
) will be converted.
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 be accurately
converted.
digital input may cause the digital input
buffer to consume current out of the
device’s specification limits.
T
FREQUENCIES
AD
ADCS<2:0>
vs. DEVICE OPERATING
000
100
001
101
010
110
x11
AD
)
DS39960D-page 363
Frequency
10.00 MHz
20.00 MHz
40.00 MHz
64.00 MHz
Maximum
1.00 MHz
2.50 MHz
5.00 MHz
Device
AD
time of
(1)

Related parts for PIC18F85K22-I/PT