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

X  

PIC18F23K22-E/ML Datasheet(PDF) 323 Page - Microchip Technology

Part # PIC18F23K22-E/ML
Description  28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
PDF  496 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F23K22-E/ML Datasheet(HTML) 323 Page - Microchip Technology

Back Button PIC18F23K22-E/ML Datasheet HTML 319Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 320Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 321Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 322Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 323Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 324Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 325Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 326Page - Microchip Technology PIC18F23K22-E/ML Datasheet HTML 327Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 323 / 496 page
background image
 2010 Microchip Technology Inc.
Preliminary
DS41412C-page 323
PIC18(L)F2X/4XK22
19.3.2
CAPACITANCE CALIBRATION
There is a small amount of capacitance from the
internal A/D Converter sample capacitor as well as
stray capacitance from the circuit board traces and
pads that affect the precision of capacitance
measurements.
A
measurement
of
the
stray
capacitance can be taken by making sure the desired
capacitance to be measured has been removed. The
measurement is then performed using the following
steps:
1.
Initialize the A/D Converter and the CTMU.
2.
Set EDG1STAT (= 1).
3.
Wait for a fixed delay of time t.
4.
Clear EDG1STAT.
5.
Perform an A/D conversion.
6.
Calculate the stray and A/D sample capacitances:
where I is known from the current source measurement
step, t is a fixed delay and V is measured by performing
an A/D conversion.
This measured value is then stored and used for
calculations of time measurement or subtracted for
capacitance measurement. For calibration, it is
expected that the capacitance of CSTRAY + CAD is
approximately known. CAD is approximately 4 pF.
An iterative process may need to be used to adjust the
time, t, that the circuit is charged to obtain a reasonable
voltage reading from the A/D Converter. The value of t
may be determined by setting COFFSET to a theoretical
value, then solving for t. For example, if CSTRAY is
theoretically calculated to be 11 pF, and V is expected
to be 70% of VDD, or 2.31V, then t would be:
or 63
s.
See Example 19-3 for a typical routine for CTMU
capacitance calibration.
COFFSET
CSTRAY CAD
+
It
 V
==
(4 pF + 11 pF) • 2.31V/0.55
A



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