PIC24FJ128GB MICROCHIP [Microchip Technology], PIC24FJ128GB Datasheet - Page 267
![no-image](/images/no-image-200.jpg)
PIC24FJ128GB
Manufacturer Part Number
PIC24FJ128GB
Description
64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG)
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC24FJ128GB.pdf
(328 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC24FJ128GB106-I/MR
Manufacturer:
MICROCHIP
Quantity:
54 574
Company:
Part Number:
PIC24FJ128GB106-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB106T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB108-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB108T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB110-I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 267 of 328
- Download datasheet (6Mb)
24.0
The Charge Time Measurement Unit is a flexible
analog module that provides accurate differential time
measurement between pulse sources, as well as
asynchronous pulse generation. Its key features
include:
• Four edge input trigger sources
• Polarity control for each edge source
• Control of edge sequence
• Control of response to edges
• Time measurement resolution of 1 nanosecond
• Accurate current source suitable for capacitive
Together with other on-chip analog modules, the CTMU
can be used to precisely measure time, measure
capacitance, measure relative changes in capacitance,
or generate output pulses that are independent of the
system clock. The CTMU module is ideal for interfacing
with capacitive-based sensors.
The CTMU is controlled through two registers,
CTMUCON and CTMUICON. CTMUCON enables the
module, and controls edge source selection, edge
source polarity selection, and edge sequencing. The
CTMUICON register has controls the selection and trim
of the current source.
FIGURE 24-1:
© 2008 Microchip Technology Inc.
Note:
measurement
CHARGE TIME
MEASUREMENT UNIT (CTMU)
This data sheet summarizes the features
of this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information, refer to the
associated “PIC24F Family Reference
Manual” chapter.
C
APP
TYPICAL CONNECTIONS AND INTERNAL CONFIGURATION FOR
CAPACITANCE MEASUREMENT
ANx
AN
R
PR
Y
PIC24FJ256GB110 FAMILY
EDG2
Preliminary
EDG1
PIC24F Device
A/D Converter
Timer1
CTMU
Current Source
Output Pulse
24.1
The CTMU module measures capacitance by generat-
ing an output pulse with a width equal to the time
between edge events on two separate input channels.
The pulse edge events to both input channels can be
selected from four sources: two internal peripheral
modules (OC1 and Timer1) and two external pins
(CTEDG1 and CTEDG2). This pulse is used with the
module’s precision current source to calculate
capacitance according to the relationship:
For capacitance measurements, the A/D Converter
samples an external capacitor (C
input channels after the CTMU output’s pulse. A preci-
sion resistor (R
on a second A/D channel. After the pulse ends, the
converter determines the voltage on the capacitor. The
actual calculation of capacitance is performed in
software by the application.
Figure 24-1 shows the external connections used for
capacitance measurements, and how the CTMU and
A/D modules are related in this application. This
example also shows the edge events coming from
Timer1, but other configurations using external edge
sources are possible. A detailed discussion on measur-
ing capacitance and time with the CTMU module is
provided in the “PIC24F Family Reference Manual”.
Measuring Capacitance
PR
) provides current source calibration
C
=
I
⋅
dV
------ -
dT
APP
DS39897B-page 265
) on one of its
Related parts for PIC24FJ128GB
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC24FJ16MC102-I/SO](/photos/16/13/161315/soic28_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC101-I/P](/photos/40/66/406676/20-dip_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC102-I/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SPDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC102-I/SS](/photos/16/12/161251/ssop28_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16GA004-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, TQFP-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ256GA106-I/MR](/photos/12/13/121325/c04-149_mr_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB004-I/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB106-I/MR](/photos/12/13/121325/c04-149_mr_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB002-I/SS](/photos/16/12/161251/ssop28_tmb.jpg)
Part Number:
Description:
16-bit, 16 MIPS, 64KB Flash, 8KB RAM, Nanowatt XLP, USB OTG 28 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128DA110-I/BG](/photos/39/70/397092/lpmicrochippic24fj256da210_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128DA210-I/BG](/photos/39/70/397092/lpmicrochippic24fj256da210_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128GB210-I/BG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ256GB210-I/BG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24HJ256GP206A-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24H, 40MIPS, TQFP-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24HJ256GP210A-I/PF](/photos/12/13/121330/c04-100-tqfp_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24H, 40MIPS, TQFP-100
Manufacturer:
Microchip Technology
Datasheet: