PIC32MX210F016B-I/SO Microchip Technology, PIC32MX210F016B-I/SO Datasheet - Page 217

no-image

PIC32MX210F016B-I/SO

Manufacturer Part Number
PIC32MX210F016B-I/SO
Description
PIC32, 16KB Flash, 4KB RAM, 40 MHz, USB, CTMU, 4 DMA 28 SOIC .300in TUBE
Manufacturer
Microchip Technology
Datasheet
24.0
The Charge Time Measurement Unit (CTMU) is a flex-
ible analog module that has a configurable current
source with a digital configuration circuit built around it.
The CTMU can be used for differential time measure-
ment between pulse sources and can be used for gen-
erating an asynchronous pulse. By working with other
FIGURE 24-1:
© 2011-2012 Microchip Technology Inc.
Note 1: This data sheet summarizes the fea-
CMP1-CMP3
CTED13
IC1-IC3
CTED1
PBCLK
Timer1
2: Some registers and associated bits
CHARGE TIME
MEASUREMENT UNIT (CTMU)
OC1
tures of the PIC32MX1XX/2XX family of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this data
sheet, refer to Section 37. “Charge
Time
(DS61167)
Reference Manual”, which is available
from
(www.microchip.com).
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization”
this data sheet for device-specific register
and bit information.
Measurement
the
CTMU BLOCK DIAGRAM
(To ADC)
in
CTMUT
Microchip
Temperature
the
Current Control Selection
CTMUT
CTMUI
CTMUP
No Connect
Control
Sensor
Logic
Edge
“PIC32
Unit
web
(CTMU)”
EDG1STAT
EDG2STAT
(To ADC S&H capacitor)
Family
for pulse generation
External capacitor
CTMUCON1 or CTMUCON2
site
Preliminary
CDelay
in
C2INB
Current Source
CTMUICON
CTMUI
Current
Control
TGEN
0
0
1
1
ITRIM<5:0>
IRNG<1:0>
on-chip analog modules, the CTMU can be used for
high resolution time measurement, measure capaci-
tance, measure relative changes in capacitance or
generate output pulses with a specific time delay. The
CTMU is ideal for interfacing with capacitive-based
sensors.
The module includes the following key features:
• Up to 13 channels available for capacitive or time
• On-chip precision current source
• 16-edge input trigger sources
• Selection of edge or level-sensitive inputs
• Polarity control for each edge source
• Control of edge sequence
• Control of response to edges
• High precision time measurement
• Time delay of external or internal signal asynchro-
• Integrated temperature sensing diode
• Control of current source during auto-sampling
• Four current source ranges
• Time measurement resolution of one nanosecond
A block diagram of the CTMU is shown in
CTMUP
measurement input
nous to system clock
EDG1STAT = EDG2STAT
EDG1STAT ≠ EDG2STAT
EDG1STAT ≠ EDG2STAT
EDG1STAT = EDG2STAT
EDG1STAT, EDG2STAT
TGEN
Comparator 2
Generator
Control
CTMU
Logic
Pulse
CTPLS
Trigger
ADC
DS61168D-page 217
Figure
24-1.

Related parts for PIC32MX210F016B-I/SO