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

X  

PIC16 Datasheet(PDF) 56 Page - Microchip Technology

Part # PIC16
Description  20-Pin Flash, 8-Bit Microcontrollers with XLP Technology
PDF  418 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16 Datasheet(HTML) 56 Page - Microchip Technology

Back Button PIC16 Datasheet HTML 52Page - Microchip Technology PIC16 Datasheet HTML 53Page - Microchip Technology PIC16 Datasheet HTML 54Page - Microchip Technology PIC16 Datasheet HTML 55Page - Microchip Technology PIC16 Datasheet HTML 56Page - Microchip Technology PIC16 Datasheet HTML 57Page - Microchip Technology PIC16 Datasheet HTML 58Page - Microchip Technology PIC16 Datasheet HTML 59Page - Microchip Technology PIC16 Datasheet HTML 60Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 56 / 418 page
background image
PIC16(L)F1508/9
DS40001609C-page 56
 2011-2013 Microchip Technology Inc.
5.4
Two-Speed Clock Start-up Mode
Two-Speed Start-up mode provides additional power
savings by minimizing the latency between external oscil-
lator start-up and code execution. In applications that
make heavy use of the Sleep mode, Two-Speed Start-up
will remove the external oscillator start-up time from the
time spent awake and can reduce the overall power con-
sumption of the device. This mode allows the application
to wake-up from Sleep, perform a few instructions using
the INTOSC internal oscillator block as the clock source
and go back to Sleep without waiting for the external
oscillator to become stable.
Two-Speed Start-up provides benefits when the oscilla-
tor module is configured for LP, XT, or HS modes. The
Oscillator Start-up Timer (OST) is enabled for these
modes and must count 1024 oscillations before the oscil-
lator can be used as the system clock source.
If the oscillator module is configured for any mode
other than LP, XT or HS mode, then Two-Speed
Start-up is disabled. This is because the external clock
oscillator does not require any stabilization time after
POR or an exit from Sleep.
If the OST count reaches 1024 before the device enters
Sleep mode, the OSTS bit of the OSCSTAT register is
set and program execution switches to the external oscil-
lator. However, the system may never operate from the
external oscillator if the time spent awake is very short.
5.4.1
TWO-SPEED START-UP MODE
CONFIGURATION
Two-Speed Start-up mode is configured by the following
settings:
• IESO (of the Configuration Words) = 1;
Internal/External Switchover bit (Two-Speed
Start-up mode enabled).
• SCS (of the OSCCON register) = 00.
• FOSC<2:0> bits in the Configuration Words
configured for LP, XT or HS mode.
Two-Speed Start-up mode is entered after:
• Power-On Reset (POR) and, if enabled, after
Power-up Timer (PWRT) has expired, or
• Wake-up from Sleep.
5.4.2
TWO-SPEED START-UP
SEQUENCE
1.
Wake-up from Power-on Reset or Sleep.
2.
Instructions begin execution by the internal
oscillator at the frequency set in the IRCF<3:0>
bits of the OSCCON register.
3.
OST enabled to count 1024 clock cycles.
4.
OST timed out, wait for falling edge of the
internal oscillator.
5.
OSTS is set.
6.
System clock held low until the next falling edge
of new clock (LP, XT or HS mode).
7.
System clock is switched to external clock
source.
5.4.3
CHECKING TWO-SPEED CLOCK
STATUS
Checking the state of the OSTS bit of the OSCSTAT
register will confirm if the CPU is running from the
external clock source, as defined by the FOSC<2:0>
bits in the Configuration Words, or the internal oscilla-
tor. See Table 5-2.
TABLE 5-3:
OSCILLATOR SWITCHING DELAYS
Note:
Executing a SLEEP instruction will abort
the oscillator start-up time and will cause
the OSTS bit of the OSCSTAT register to
remain clear.
Note:
When FSCM is enabled, Two-Speed
Start-up will automatically be enabled.
Switch From
Switch To
Oscillator Delay
Any clock source
LFINTOSC
1 cycle of each clock source
HFINTOSC
2
s (approx.)
ECH, ECM, ECL, EXTRC
2 cycles
LP, XT, HS
1024 Clock Cycles (OST)
Secondary Oscillator
1024 Secondary Oscillator Cycles



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