Microchip PIC24F32KA302 Handleiding


Lees hieronder de 📖 handleiding in het Nederlandse voor Microchip PIC24F32KA302 (50 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 19 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 1/50
 2011-2016 Microchip Technology Inc. DS30009743B-page 1
HIGHLIGHTS
This section of the manual contains the following major topics:
1.0 Introduction ....................................................................................................................... 2
2.0 Register Maps................................................................................................................... 4
3.0 CTMU Operation............................................................................................................. 10
4.0 Calibrating the CTMU Module......................................................................................... 12
5.0 Measuring Capacitance with the CTMU.......................................................................... 24
6.0 Measuring Time with the CTMU Module......................................................................... 32
7.0 Generating Delays with the CTMU Module..................................................................... 36
8.0 Measuring Temperature with the CTMU ......................................................................... 39
9.0 Operation During Sleep/Idle Modes................................................................................ 44
10.0 Effects of a Reset on CTMU ........................................................................................... 45
11.0 Low-Power Applications for Devices with a CTMREQ Bit .............................................. 45
12.0 Electrical Specifications .................................................................................................. 45
13.0 Related Application Notes............................................................................................... 46
14.0 Revision History .............................................................................................................. 47
Charge Time Measurement Unit (CTMU) and
CTMU Operation with Threshold Detect
dsPIC33/PIC24 Family Reference Manual
DS30009743B-page 2  2011-2016 Microchip Technology Inc.
1.0 INTRODUCTION
The Charge Time Measurement Unit (CTMU) is a flexible analog module that has a configurable
current source with a digital circuit built around it. The CTMU can be used for differential time
measurement between pulse sources and can be used for generating an asynchronous pulse.
By working with other on-chip analog modules, the CTMU can be used for high-resolution time,
capacitance, resistance, inductance and temperature measurement. The CTMU can also gener-
ate output pulses with a specific time delay. These measurements can be used in applications
including capacitive touch, humidity sensing and measuring relative changes in capacitance. The
CTMU is ideal for interfacing with capacitive-based sensors.
The module includes the following key features:
• On-chip precision current source
• Sixteen-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 asynchronous to system clock
• Integrated temperature sensing diode
• Control of current source during auto-sampling
• Four current source ranges
• Time measurement resolution of one nanosecond or less
• CTMU operation in Sleep mode
• Relative measurements using Analog-to-Digital Converter Threshold Detect
The CTMU works in conjunction with the A/D Converter for time or charge measurement. When
configured for time delay, the CTMU is connected to one of the analog comparators. The input
edge sources can be selected from up to sixteen sources for each edge. For device-specific
information on available input sources, refer to the appropriate device data sheet.
A block diagram of the CTMU in Measurement mode is shown in Figure 1-1 and in Time Generation
(TGEN) mode in Figure 1-2.
 2011-2016 Microchip Technology Inc. DS30009743B-page 3
CTMU and CTMU Operation with Threshold Detect
Figure 1-1: CTMU Measurement Mode Block Diagram
Figure 1-2: CTMU Time Generation Block Diagram
Note 1: Refer to the particular device data sheet for specific edge source types and assignments.
EDG1SEL<3:0>
Timer1
CMPx
OCx
CTEDGy
EDG2SEL<3:0>
ICx
EDG2POL
IRNG<1:0>
ITRIM<5:0>
IDISSEN
AV
SS
EDG1POL
CTEDG1
Timer1
CMPx
OCx
CTEDGx
ICx
EDGEN
0
1
EDG1MOD
Edge
Detect
EDG1STAT
CTTRIG
ADC Trigger
EDGEN
0
1
EDG2MOD
Edge
Detect
EDG2STAT
ADC
ADxCHS
Temperature
Diode
AV
SS
AV
SS
Current
Source
Note 1: Refer to the particular device data sheet for specific edge source types and assignments.
EDG1SEL<3:0>
Timer1
CMPx
OCx
CTEDGy
EDG2SEL<3:0>
ICx
EDG2POL
IRNG<1:0>
ITRIM<5:0>
Current
Source
IDISSEN
AV
SS
EDG1POL
CTEDG1
CxIN
CV
REF
CTPLS
Comparator
Timer1
CMPx
OCx
CTEDGx
ICx


Product specificaties

Merk: Microchip
Categorie: Niet gecategoriseerd
Model: PIC24F32KA302

Heb je hulp nodig?

Als je hulp nodig hebt met Microchip PIC24F32KA302 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Microchip

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd