Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC18F97J94-I/PT 数据手册 > PIC18F97J94-I/PT 数据手册 521/696 页
PIC18F97J94-I/PT
器件3D模型
41.077
导航目录
PIC18F97J94-I/PT数据手册
Page:
of 696 Go
若手册格式错乱,请下载阅览PDF原文件
2012 Microchip Technology Inc. DS30575A-page 521
PIC18F97J94 FAMILY
26.6 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. To do that:
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 26.4.1 “Current Source
Calibration”)
C is calculated in the capacitance calibra-
tion step (Section 26.4.2 “Capacitance
Calibration”)
V is measured by performing the A/D conversion
It is assumed that the time measured is small enough
that the capacitance, C
AD + CEXT, provides a valid
voltage to the A/D Converter. For the smallest time
measurement, always set the A/D Channel Select bits
via ADCON1L/H to an unused A/D channel; the corre-
sponding 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.
FIGURE 26-3: CTMU TYPICAL CONNECTIONS AND INTERNAL CONFIGURATION FOR TIME
MEASUREMENT
PIC18F97J94
A/D Converter
CTMU
CTED1
CTED2
AN
X
A/D Voltage
EDG1
EDG2
CAD
CEXT
Current Source

PIC18F97J94-I/PT 数据手册

Microchip(微芯)
696 页 / 9.88 MByte
Microchip(微芯)
36 页 / 1.21 MByte
Microchip(微芯)
28 页 / 0.49 MByte
Microchip(微芯)
21 页 / 0.16 MByte
Microchip(微芯)
2 页 / 0.12 MByte

PIC18F97J94 数据手册

Microchip(微芯)
MICROCHIP  PIC18F97J94-I/PT  微控制器, 8位, 闪存, PIC18FxxJxx, 64 MHz, 128 KB, 3.7714 KB, 100 引脚, TQFP
Microchip(微芯)
MICROCHIP  PIC18F97J94-I/PF  微控制器, 8位, 闪存, PIC18FxxJxx, 64 MHz, 128 KB, 4 KB, 100 引脚, TQFP
Microchip(微芯)
PIC 64MHz 闪存:64K@x16bit
Microchip(微芯)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件