|
PIC16F526 Datasheet, PDF (60/122 Pages) Microchip Technology – 14-Pin, 8-Bit Flash Microcontroller | |||
|
◁ |
PIC16F526
9.1.5 SLEEP
This ADC does not have a dedicated ADC clock, and
therefore, no conversion in Sleep is possible. If a
conversion is underway and a Sleep command is
executed, the GO/DONE and ADON bit will be cleared.
This will stop any conversion in process and power-
down the ADC module to conserve power. Due to the
nature of the conversion process, the ADRES may con-
tain a partial conversion. At least 1 bit must have been
converted prior to Sleep to have partial conversion data
in ADRES. The ADCS and CHS bits are reset to their
default condition; ANS<1:0> = 11 and CHS<1:0> = 11.
⢠For accurate conversions, TAD must meet the
following:
⢠500 ns < TAD < 50 ïs
⢠TAD = 1/(FOSC/divisor)
Shaded areas indicate TAD out of range for accurate
conversions. If analog input is desired at these
frequencies, use INTOSC/8 for the ADC clock source.
TABLE 9-2: TAD FOR ADCS SETTINGS WITH VARIOUS OSCILLATORS
Source
ADCS
<1:0>
Divisor
20
MHz
16
MHz
8 MHz 4 MHz 1 MHz
500
kHz
350
kHz
200
kHz
100
kHz
32 kHz
INTOSC 11
FOSC
10
FOSC
01
FOSC
00
4
â
â .5 ïs 1 ïs â
â
â
â
â
â
4
.2 ïs .25 ïs .5 ïs 1 ïs 4 ïs 8 ïs 11 ïs 20 ïs 40 ïs 125 ïs
8
.4 ïs .5 ïs 1 ïs 2 ïs 8 ïs 16 ïs 23 ïs 40 ïs 80 ïs 250 ïs
16 .8 ïs 1 ïs 2 ïs 4 ïs 16 ïs 32 ïs 46 ïs 80 ïs 160 ïs 500 ïs
TABLE 9-3: EFFECTS OF SLEEP ON ADCON0
ANS1
ANS0
ADCS1 ADCS0
Entering Unchanged Unchanged
1
1
Sleep
Wake or
1
1
1
1
Reset
CHS1
1
1
CHS0
1
GO/DONE
0
ADON
0
1
0
0
DS41326D-page 60
ï£ 2010 Microchip Technology Inc.
|
▷ |