PIC18F65K90-I/MR Microchip Technology, PIC18F65K90-I/MR Datasheet - Page 420

32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE

PIC18F65K90-I/MR

Manufacturer Part Number
PIC18F65K90-I/MR
Description
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F65K90-I/MR

Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
32 KB
Data Ram Size
2 KB
Interface Type
I2C, SPI
Maximum Clock Frequency
64 MHz
Number Of Timers
8
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit, 16 Channel
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-VFQFN Exposed Pad
Lead Free Status / Rohs Status
 Details
PIC18F87K90 FAMILY
27.6
Time can be precisely measured after the ratio ( C/I ) is
measured from the current and capacitance calibration
step. To do that:
1.
2.
3.
4.
5.
FIGURE 27-3:
DS39957D-page 420
Initialize the A/D Converter and the CTMU.
Set EDG1STAT.
Set EDG2STAT.
Perform an A/D conversion.
Calculate the time between edges as T = (C/I) • V ,
where:
• I is calculated in the current calibration step
• C is calculated in the capacitance calibration step
• V is measured by performing the A/D conversion
(
(
Section 27.4.1 “Current Source Calibration”
Section 27.4.2 “Capacitance Calibration”
Measuring Time with the CTMU
Module
TYPICAL CONNECTIONS AND INTERNAL CONFIGURATION FOR TIME
MEASUREMENT
CTED1
CTED2
AN
R
PR
X
)
)
EDG1
EDG2
It is assumed that the time measured is small enough
that the capacitance, C
to the A/D Converter. For the smallest time measure-
ment, always set the A/D Channel Select register
(AD1CHS) to an unused A/D channel, the correspond-
ing pin for which is not connected to any circuit board
trace. This minimizes added stray capacitance,
keeping the total circuit capacitance close to that of the
A/D Converter itself (25 pF).
To measure longer time intervals, an external capacitor
may be connected to an A/D channel and that channel
selected whenever making a time measurement.
C
AD
PIC18F87K90
A/D Converter
Current Source
CTMU
Output Pulse
 2009-2011 Microchip Technology Inc.
OFFSET
, provides a valid voltage

Related parts for PIC18F65K90-I/MR