Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24FJ64GA104T-E/SS Datasheet(PDF) 236 Page - Microchip Technology

Part # PIC24FJ64GA104T-E/SS
Description  28/44-Pin, 16-Bit General Purpose Flash Microcontrollers with nanoWatt XLP Technology
PDF  308 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24FJ64GA104T-E/SS Datasheet(HTML) 236 Page - Microchip Technology

Back Button PIC24FJ64GA104T-E/SS Datasheet HTML 232Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 233Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 234Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 235Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 236Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 237Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 238Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 239Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 240Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 236 / 308 page
background image
PIC24FJ64GA104 FAMILY
DS39951C-page 236
 2010 Microchip Technology Inc.
24.2
Measuring Time
Time measurements on the pulse width can be similarly
performed using the A/D module’s internal capacitor
(CAD) and a precision resistor for current calibration.
Figure 24-2 shows the external connections used for
time measurements, and how the CTMU and A/D
modules are related in this application. This example
also shows both edge events coming from the external
CTEDG pins, but other configurations using internal
edge sources are possible. For the smallest time
measurements, select the internal A/D Channel 31,
CH0Sx <4:0>= 11111. This minimizes any stray capac-
itance that may otherwise be associated with using an
input pin, thus keeping the total capacitance to that of the
A/D Converter itself (4-5 pF). A detailed discussion on
measuring capacitance and time with the CTMU module
is provided in the “PIC24F Family Reference Manual”.
24.3
Pulse Generation and Delay
The CTMU module can also generate an output pulse
with edges that are not synchronous with the device’s sys-
tem clock. More specifically, it can generate a pulse with
a programmable delay from an edge event input to the
module.
When the module is configured for pulse generation
delay by setting the TGEN bit (CTMUCON<12>), the
internal current source is connected to the B input of
Comparator 2. A capacitor (CDELAY) is connected to
the Comparator 2 pin, C2INB, and the comparator volt-
age reference, CVREF, is connected to C2INA. CVREF
is then configured for a specific trip point. The module
begins to charge CDELAY when an edge event is
detected. When CDELAY charges above the CVREF trip
point, a pulse is output on CTPLS. The length of the
pulse delay is determined by the value of CDELAY and
the CVREF trip point.
Figure 24-3 shows the external connections for pulse
generation, as well as the relationship of the different
analog modules required. While CTEDG1 is shown as
the input pulse source, other options are available. A
detailed discussion on pulse generation with the CTMU
module is provided in the “PIC24F Family Reference
Manual”.
FIGURE 24-2:
TYPICAL CONNECTIONS AND INTERNAL CONFIGURATION FOR TIME
MEASUREMENT
FIGURE 24-3:
TYPICAL CONNECTIONS AND INTERNAL CONFIGURATION FOR PULSE
DELAY GENERATION
A/D Converter
CTMU
CTEDG1
CTEDG2
ANx
Output Pulse
EDG1
EDG2
CAD
RPR
Current Source
PIC24F Device
C2
CVREF
CTPLS
Current Source
Comparator
CTMU
CTEDG1
C2INB
CDELAY
EDG1
PIC24F Device



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com