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

X  

PIC16F707-E/ML Datasheet(PDF) 122 Page - Microchip Technology

Part # PIC16F707-E/ML
Description  40/44-Pin, Flash Microcontrollers with nanoWatt XLP and mTouch??Technology
PDF  284 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F707-E/ML Datasheet(HTML) 122 Page - Microchip Technology

Back Button PIC16F707-E/ML Datasheet HTML 118Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 119Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 120Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 121Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 122Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 123Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 124Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 125Page - Microchip Technology PIC16F707-E/ML Datasheet HTML 126Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 122 / 284 page
background image
PIC16F707/PIC16LF707
DS41418A-page 122
Preliminary
 2010 Microchip Technology Inc.
16.6.1
TIMERA/B
To select TimerA/B as the timer resource for the
capacitive sensing module:
• Set the TAXCS/TBXCS bit of the CPSACON0/
CPSBCON0 register.
• Clear the TMRACS/TMRBCS bit of the TACON/
TBCON register.
When TimerA/B is chosen as the timer resource, the
capacitive sensing oscillator will be the clock source for
TimerA/B. Refer to Section 14.0 “TimerA/B Mod-
ules” for additional information.
16.6.2
TIMER1/3
To select Timer1/3 as the timer resource for the
capacitive sensing module, set the TMRxCS<1:0> of
the TxCON register to ‘11’. When Timer1/3 is chosen
as the timer resource, the capacitive sensing oscilla-
tor will be the clock source for Timer1/3. Because the
Timer1/3 module has a gate control, developing a
time base for the frequency measurement can be
simplified by using the TimerA/B overflow flag.
It is recommend that the TimerA/B overflow flag, in
conjunction with the Toggle mode of the Timer1/3 gate,
be used to develop the fixed time base required by the
software portion of the capacitive sensing module.
Refer to Section 13.11 “Timer1/3 Control Register ”
for additional information.
16.7
Software Control
The software portion of the capacitive sensing module
is required to determine the change in frequency of the
capacitive sensing oscillator. This is accomplished by
the following:
• Setting a fixed time base to acquire counts on
TimerA/B or Timer1/3.
• Establishing the nominal frequency for the
capacitive sensing oscillator.
• Establishing the reduced frequency for the
capacitive sensing oscillator due to an additional
capacitive load.
• Set the frequency threshold.
16.7.1
NOMINAL FREQUENCY (NO
CAPACITIVE LOAD)
To determine the nominal frequency of the capacitive
sensing oscillator:
• Remove any extra capacitive load on the selected
CPSx pin.
• At the start of the fixed time base, clear the timer
resource.
• At the end of the fixed time base, save the value
in the timer resource.
The value of the timer resource is the number of
oscillations of the capacitive sensing oscillator for the
given time base. The frequency of the capacitive
sensing oscillator is equal to the number of counts on
the timer divided by the period of the fixed time base.
16.7.2
REDUCED FREQUENCY
(ADDITIONAL CAPACITIVE LOAD)
The extra capacitive load will cause the frequency of
the capacitive sensing oscillator to decrease. To
determine the reduced frequency of the capacitive
sensing oscillator:
• Add a typical capacitive load on the selected
CPSx pin.
• Use the same fixed time base as the nominal
frequency measurement.
• At the start of the fixed time base, clear the timer
resource.
• At the end of the fixed time base, save the value
in the timer resource.
The value of the timer resource is the number of
oscillations of the capacitive sensing oscillator with an
additional capacitive load. The frequency of the
capacitive sensing oscillator is equal to the number of
counts on the timer divided by the period of the fixed
time base. This frequency should be less than the
value
obtained
during
the
nominal
frequency
measurement.
TABLE 16-3:
TIMER1/3 ENABLE FUNCTION
TMRxON
TMRxGE
Timerx Operation
00
Off
01
Off
10
On
11
Count Enabled by Input



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