数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PIC12F1822-I/MF 数据表(PDF) 309 Page - Microchip Technology

部件名 PIC12F1822-I/MF
功能描述  8/14-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  398 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

PIC12F1822-I/MF 数据表(HTML) 309 Page - Microchip Technology

Back Button PIC12F1822-I/MF Datasheet HTML 305Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 306Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 307Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 308Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 309Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 310Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 311Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 312Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 313Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 309 / 398 page
background image
 2010 Microchip Technology Inc.
Preliminary
DS41413A-page 309
PIC12F/LF1822/16F/LF1823
26.1
Analog MUX
The capacitive sensing module can monitor up to four
inputs for the PIC12F/LF1822 (CPSCH<3:0>) and up
to eight inputs for the PIC16F/LF1823 (CPSCH<7:0>).
See Register 26-2 for details. The capacitive sensing
inputs are defined as CPS<7:0>, as applicable to
device. To determine if a frequency change has
occurred the user must:
• Select the appropriate CPS pin by setting the
appropriate CPSCH bits of the CPSCON1 register.
• Set the corresponding ANSEL bit.
• Set the corresponding TRIS bit.
• Run the software algorithm.
Selection of the CPSx pin while the module is enabled
will cause the capacitive sensing oscillator to be on the
CPSx pin. Failure to set the corresponding ANSEL and
TRIS bits can cause the capacitive sensing oscillator to
stop, leading to false frequency readings.
26.2
Capacitive Sensing Oscillator
The capacitive sensing oscillator consists of a constant
current source and a constant current sink, to produce
a triangle waveform. The CPSOUT bit of the
CPSCON0 register shows the status of the capacitive
sensing oscillator, whether it is a sinking or sourcing
current. The oscillator is designed to drive a capacitive
load (single PCB pad) and at the same time, be a clock
source to either Timer0 or Timer1. The oscillator has
three different current settings as defined by
CPSRNG<1:0> of the CPSCON0 register. The different
current settings for the oscillator serve two purposes:
• Maximize the number of counts in a timer for a
fixed time base.
• Maximize the count differential in the timer during
a change in frequency.
26.3
Voltage References
The capacitive sensing oscillator uses voltage refer-
ences to provide two voltage thresholds for oscillation.
The upper voltage threshold is referred to as Ref+ and
the lower voltage threshold is referred to as Ref-.
The user can elect to use fixed voltage references,
which are internal to the capacitive sensing oscillator,
or variable voltage references, which are supplied by
the Fixed Voltage Reference (FVR) module and the
Digital-to-Analog Converter (DAC) module.
When the fixed voltage references are used, the VSS
voltage determines the lower threshold level (Ref-) and
the VDD voltage determines the upper threshold level
(Ref+).
When the variable voltage references are used, the
DAC voltage determines the lower threshold level
(Ref-) and the FVR voltage determines the upper
threshold level (Ref+). An advantage of using these ref-
erence sources is that oscillation frequency remains
constant with changes in VDD.
Different oscillation frequencies can be obtained
through the use of these variable voltage references.
The more the upper voltage reference level is lowered
and the more the lower voltage reference level is
raised, the higher the capacitive sensing oscillator
frequency becomes.
Selection between the voltage references is controlled
by the CPSRM bit of the CPSCON0 register. Setting
this bit selects the variable voltage references and
clearing this bit selects the fixed voltage references.
Please see Section 14.0 “Fixed Voltage Reference
(FVR)” and Section 16.0 “Digital-to-Analog Converter
(DAC) Module” for more information on configuring the
variable voltage levels.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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