поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PIC16F87 датащи(PDF) 41 Page - Microchip Technology

номер детали PIC16F87
подробное описание детали  18/20/28-Pin Enhanced Flash MCUs with nanoWatt Technology
PDF  230 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F87 датащи(HTML) 41 Page - Microchip Technology

Back Button PIC16F87 Datasheet HTML 37Page - Microchip Technology PIC16F87 Datasheet HTML 38Page - Microchip Technology PIC16F87 Datasheet HTML 39Page - Microchip Technology PIC16F87 Datasheet HTML 40Page - Microchip Technology PIC16F87 Datasheet HTML 41Page - Microchip Technology PIC16F87 Datasheet HTML 42Page - Microchip Technology PIC16F87 Datasheet HTML 43Page - Microchip Technology PIC16F87 Datasheet HTML 44Page - Microchip Technology PIC16F87 Datasheet HTML 45Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 230 page
background image
 2002-2013 Microchip Technology Inc.
DS30487D-page 41
PIC16F87/88
FIGURE 4-6:
PIC16F87/88 CLOCK DIAGRAM
4.6.4
MODIFYING THE IRCF BITS
The IRCF bits can be modified at any time regardless of
which clock source is currently being used as the
system clock. The internal oscillator allows users to
change the frequency during run time. This is achieved
by modifying the IRCF bits in the OSCCON register.
The sequence of events that occur after the IRCF bits
are modified is dependent upon the initial value of the
IRCF bits before they are modified. If the INTRC
(31.25 kHz, IRCF<2:0> = 000) is running and the IRCF
bits are modified to any other value than ‘000’, a 4 ms
(approx.) clock switch delay is turned on. Code execu-
tion continues at a higher than expected frequency
while the new frequency stabilizes. Time sensitive code
should wait for the IOFS bit in the OSCCON register to
become set before continuing. This bit can be moni-
tored to ensure that the frequency is stable before using
the system clock in time critical applications.
If the IRCF bits are modified while the internal oscillator
is running at any other frequency than INTRC
(31.25 kHz, IRCF<2:0>
000), there is no need for a
4 ms (approx.) clock switch delay. The new INTOSC
frequency will be stable immediately after the eight fall-
ing edges. The IOFS bit will remain set after clock
switching occurs.
4.6.5
CLOCK TRANSITION SEQUENCE
Following are three different sequences for switching
the internal RC oscillator frequency.
• Clock before switch: 31.25 kHz (IRCF<2:0> = 000)
1.
IRCF bits are modified to an INTOSC/INTOSC
postscaler frequency.
2.
The clock switching circuitry waits for a falling
edge of the current clock, at which point CLKO
is held low.
3.
The clock switching circuitry then waits for eight
falling edges of requested clock, after which it
switches CLKO to this new clock source.
4.
The IOFS bit is clear to indicate that the clock is
unstable and a 4 ms (approx.) delay is started.
Time dependent code should wait for IOFS to
become set.
5.
Switchover is complete.
• Clock before switch: One of INTOSC/INTOSC
postscaler (IRCF<2:0>
000)
1.
IRCF
bits
are
modified
to
INTRC
(IRCF<2:0> = 000).
2.
The clock switching circuitry waits for a falling
edge of the current clock, at which point CLKO
is held low.
3.
The clock switching circuitry then waits for eight
falling edges of requested clock, after which it
switches CLKO to this new clock source.
4.
Oscillator switchover is complete.
Secondary Oscillator
T1OSCEN
Enable
Oscillator
T1OSO
T1OSI
OSC1
OSC2
Sleep
Primary Oscillator
LP, XT, HS, RC, EC
T1OSC
CPU
Peripherals
8 MHz
4 MHz
2 MHz
1 MHz
500 kHz
125 kHz
250 kHz
OSCCON<6:4>
111
110
101
100
011
010
001
000
31.25 kHz
31.25 kHz
Source
Internal
Oscillator
Block
WDT, FSCM
31.25 kHz
8 MHz
Internal Oscillator
(INTRC)
(INTOSC)
Configuration Word 1 (FOSC2:FOSC0)
SCS<1:0> (T1OSC)
To Timer1
Note:
Caution must be taken when modifying the
IRCF bits using BCF or BSF instructions. It
is possible to modify the IRCF bits to a
frequency that may be out of the VDD spec-
ification range; for example, VDD = 2.0V
and IRCF = 111 (8 MHz).



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


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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