Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC18F25K22-I/SO 数据手册 > PIC18F25K22-I/SO 数据手册 321/539 页
PIC18F25K22-I/SO
器件3D模型
20.347
导航目录
PIC18F25K22-I/SO数据手册
Page:
of 539 Go
若手册格式错乱,请下载阅览PDF原文件
2010-2016 Microchip Technology Inc. DS40001412G-page 321
PIC18(L)F2X/4XK22
19.5 Measuring Time with the CTMU
Module
Time can be precisely measured after the ratio (C/I) is
measured from the current and capacitance calibration
step by following these steps:
1. Initialize the A/D Converter and the CTMU.
2. Set EDG1STAT.
3. Set EDG2STAT.
4. Perform an A/D conversion.
5. Calculate the time between edges as T = (C/I) * V,
where I is calculated in the current calibration step
(Section 19.3.1 “Current Source Calibration”),
C is calculated in the capacitance calibration step
(Section 19.3.2 “Capacitance Calibration”) and
V is measured by performing the A/D conversion.
It is assumed that the time measured is small enough
that the capacitance, C
OFFSET, provides a valid voltage
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, keep-
ing 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.
FIGURE 19-3: TYPICAL CONNECTIONS AND INTERNAL CONFIGURATION FOR TIME
MEASUREMENT
A/D Converter
CTMU
CTED1
CTED2
AN
X
Output
Pulse
EDG1
EDG2
CAD
RPR
Current Source
PIC18(L)FXXK22 Device

PIC18F25K22-I/SO 数据手册

Microchip(微芯)
539 页 / 5.56 MByte
Microchip(微芯)
42 页 / 0.49 MByte
Microchip(微芯)
539 页 / 5.56 MByte
Microchip(微芯)
24 页 / 0.47 MByte
Microchip(微芯)
4 页 / 0.16 MByte

PIC18F25K22 数据手册

Microchip(微芯)
28 /40/ 44引脚,低功耗,高性能的微控制器采用nanoWatt XLP技术 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
Microchip(微芯)
PIC18F2xK22/4xK22 8 位闪存微控制器### PIC18 微控制器
Microchip(微芯)
PIC18F2xK22/4xK22 8 位闪存微控制器### PIC18 微控制器
Microchip(微芯)
MICROCHIP  PIC18F25K22-I/SP  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 32 KB, 1.5 KB, 28 引脚, DIP
Microchip(微芯)
MICROCHIP  PIC18F25K22-E/SS  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 32 KB, 1.5 KB, 28 引脚, SSOP
Microchip(微芯)
PIC18 系列 1536 B RAM 32 kB 闪存 8位 微控制器 - QFN-28
Microchip(微芯)
MICROCHIP  PIC18F25K22-I/ML  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 32 KB, 1.5 KB, 28 引脚, QFN
Microchip(微芯)
28 /40/ 44引脚,低功耗,高性能的微控制器采用nanoWatt XLP技术 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
Microchip(微芯)
28 /40/ 44引脚,低功耗,高性能的微控制器采用nanoWatt XLP技术 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
Microchip(微芯)
PIC18F2xK22/4xK22 8 位闪存微控制器### PIC18 微控制器
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件