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

X  

PIC16F87-I/ML Datasheet(PDF) 145 Page - Microchip Technology

Part # PIC16F87-I/ML
Description  18/20/28-Pin Enhanced FLASH Microcontrollers with nanoWatt Technology
PDF  214 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F87-I/ML Datasheet(HTML) 145 Page - Microchip Technology

Back Button PIC16F87-I/ML Datasheet HTML 141Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 142Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 143Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 144Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 145Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 146Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 147Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 148Page - Microchip Technology PIC16F87-I/ML Datasheet HTML 149Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 145 / 214 page
background image
 2003 Microchip Technology Inc.
Preliminary
DS30487B-page 143
PIC16F87/88
15.12.3
TWO-SPEED CLOCK START-UP
MODE
Two-Speed Start-up mode minimizes the latency
between oscillator start-up and code execution that
may be selected with the IESO (Internal/External
Switch Over) bit in Configuration Word 2. This mode is
achieved by initially using the INTRC for code
execution until the primary oscillator is stable.
If this mode is enabled, and any of the following condi-
tions exist, the system will begin execution with the
INTRC oscillator. This results in almost immediate
code execution with a minimum of delay.
• POR and after the Power-up Timer has expired (if
PWRTEN = 0),
• or following a wake-up from SLEEP,
• or a RESET when running from T1OSC or INTRC
(after a RESET, SCS<1:0> are always set to ‘00’).
If the primary oscillator is configured to be anything
other than XT, LP, or HS, then Two-Speed Start-up
mode is disabled, because the primary oscillator will
not require any time to become stable after POR, or an
exit from SLEEP.
If the IRCF bits of the OSCCON register are configured
to a non-zero value prior to entering SLEEP mode, the
system clock frequency will come from the output of
the INTOSC. The IOFS bit in the OSCCON register will
be clear until the INTOSC is stable. This will allow the
user to determine when the internal oscillator can be
used for time critical applications.
Checking the state of the OSTS bit will confirm
whether the primary clock configuration is engaged. If
not, the OSTS bit will remain clear.
When the device is auto-configured in INTRC mode fol-
lowing a POR or wake-up from SLEEP, the rules for
entering other oscillator modes still apply, meaning the
SCS<1:0> bits in OSCCON can be modified before the
OST time-out has occurred. This would allow the appli-
cation to wake-up from SLEEP, perform a few instruc-
tions using the INTRC as the clock source and go back
to SLEEP without waiting for the primary oscillator to
become stable.
15.12.3.1
Two-Speed Start-up Mode
Sequence
1.
Wake-up from SLEEP, RESET, or POR.
2.
OSCON bits configured to run from INTRC
(31.25 kHz).
3.
Instructions
begin
execution
by
INTRC
(31.25 kHz).
4.
OST enabled to count 1024 clock cycles.
5.
OST timed out, wait for falling edge of INTRC.
6.
OSTS is set.
7.
System clock held low for eight falling edges of
new clock (LP, XT, or HS).
8.
System clock is switched to primary source (LP,
XT, or HS).
The software may read the OSTS bit to determine
when the switch over takes place so that any software
timing edges can be adjusted.
FIGURE 15-9:
TWO-SPEED START-UP MODE
Note:
Following any RESET, the IRCF bits are
zeroed and the frequency selection is
forced to 31.25 kHz. The user can modify
the IRCF bits to select a higher internal
oscillator frequency.
Note:
Executing a SLEEP instruction will abort
the oscillator start-up time and will cause
the OSTS bit to remain clear.
Q4
Q1
Q3 Q4
Q1 Q2
OSC1
SLEEP
Program
PC
0000h
INTRC
TOST
Q3 Q4
OSC2
OSTS
System Clock
0001h
Q1 Q2 Q3 Q4 Q1 Q2
Counter
0004h
0005h
0003h
Q1 Q2 Q3 Q4
CPU Start-up



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