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

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
PIC18F87K22 FAMILY
27.4.2
There is a small amount of capacitance from the inter-
nal A/D Converter sample capacitor, as well as stray
capacitance from the circuit board traces and pads that
affect the precision of capacitance measurements. A
measurement of the stray capacitance can be taken by
making sure the desired capacitance to be measured
has been removed.
After removing the capacitance to be measured:
1.
2.
3.
4.
5.
6.
Where:
• I is known from the current source measurement
• t is a fixed delay
• V is measured by performing an A/D conversion
DS39960D-page 394
step
Initialize the A/D Converter and the CTMU.
Set EDG1STAT (= 1 ).
Wait for a fixed delay of time, t .
Clear EDG1STAT.
Perform an A/D conversion.
Calculate the stray and A/D sample capacitances:
C
CAPACITANCE CALIBRATION
OFFSET
= C
STRAY
+ C
AD
= (I • t)/V
This measured value is then stored and used for
calculations of time measurement or subtracted for
capacitance measurement. For calibration, it is
expected that the capacitance of C
approximately known; C
An iterative process may be required to adjust the time,
t , that the circuit is charged to obtain a reasonable volt-
age reading from the A/D Converter. The value of t may
be determined by setting C
and solving for t . For example, if C
calculated to be 11 pF, and V is expected to be 70% of
V
or 63  s.
See
capacitance calibration.
DD
or 2.31V, t would be:
Example 27-3
(4 pF + 11 pF) • 2.31V/0.55 A
 2009-2011 Microchip Technology Inc.
for a typical routine for CTMU
AD
OFFSET
is approximately 4 pF.
to a theoretical value
STRAY
STRAY
is theoretically
+ C
AD
is

Related parts for PIC18F85K22-I/PT