PIC18LF27J13-I/SO Microchip Technology, PIC18LF27J13-I/SO Datasheet - Page 407

no-image

PIC18LF27J13-I/SO

Manufacturer Part Number
PIC18LF27J13-I/SO
Description
IC PIC MCU 128KB FLASH 28SOIC
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18LF27J13-I/SO

Core Size
8-Bit
Program Memory Size
128KB (64K x 16)
Core Processor
PIC
Speed
48MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 2.75 V
Data Converters
A/D 10x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Controller Family/series
PIC18
Cpu Speed
48MHz
Digital Ic Case Style
SOIC
Supply Voltage Range
1.8V To 3.6V
Embedded Interface Type
I2C, SPI, USART
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
26.5
Time can be precisely measured after the ratio (C/I) is
measured from the current and capacitance calibration
step by following these steps:
1.
2.
3.
4.
5.
FIGURE 26-3:
 2010 Microchip Technology Inc.
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
(Section 26.3.1 “Current Source Calibration”),
C is calculated in the capacitance calibration step
(Section 26.3.2 “Capacitance Calibration”) and
V is measured by performing the A/D conversion.
Measuring Time with the CTMU
Module
TYPICAL CONNECTIONS AND INTERNAL CONFIGURATION FOR TIME
MEASUREMENT
CTED1
CTED2
AN
C
EXT
X
Preliminary
EDG2
EDG1
PIC18F47J13 FAMILY
C
It is assumed that the time measured is small enough
that the capacitance, C
voltage to the A/D Converter. For the smallest time
measurement, always set the A/D Channel Select
register (AD1CHS) to an unused A/D channel; the cor-
responding 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 (4-5 pF). To measure longer time
intervals, an external capacitor may be connected to an
A/D channel and this channel selected when making a
time measurement.
AD
A/D Converter
PIC18F47J13
Current Source
CTMU
A/D Voltage
AD
+ C
EXT
DS39974A-page 407
, provides a valid

Related parts for PIC18LF27J13-I/SO