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

X  

PIC16F684-E/ST Datasheet(PDF) 22 Page - Microchip Technology

Part # PIC16F684-E/ST
Description  14-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PDF  164 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F684-E/ST Datasheet(HTML) 22 Page - Microchip Technology

Back Button PIC16F684-E/ST Datasheet HTML 18Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 19Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 20Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 21Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 22Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 23Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 24Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 25Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 26Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 164 page
background image
PIC16F684
DS41202C-page 20
Preliminary
 2004 Microchip Technology Inc.
3.2
Clock Source Modes
Clock source modes can be classified as external or
internal.
• External clock modes rely on external circuitry for
the clock source. Examples are oscillator modules
(EC mode), quartz crystal resonators or ceramic
resonators (LP, XT and HS modes), and
Resistor-Capacitor (RC mode) circuits.
• Internal clock sources are contained internally
within the PIC16F684. The PIC16F684 has two
internal oscillators, the 8 MHz High-Frequency
Internal Oscillator (HFINTOSC) and 31 kHz
Low-Frequency Internal Oscillator (LFINTOSC).
The system clock can be selected between external or
internal clock sources via the System Clock Selection
(SCS) bit (see Section 3.5 “Clock Switching”).
3.3
External Clock Modes
3.3.1
OSCILLATOR START-UP TIMER (OST)
If the PIC16F684 is configured for LP, XT or HS modes,
the Oscillator Start-up Timer (OST) counts 1024 oscil-
lations from the OSC1 pin, following a Power-on Reset
(POR) and the Power-up Timer (PWRT) has expired (if
configured), or a wake-up from Sleep. During this time,
the program counter does not increment and program
execution is suspended. The OST ensures that the
oscillator circuit, using a quartz crystal resonator or
ceramic resonator, has started and is providing a stable
system clock to the PIC16F684. When switching
between clock sources a delay is required to allow the
new clock to stabilize. These oscillator delays are
shown in Table 3-1.
In order to minimize latency between external oscillator
start-up and code execution, the Two-Speed Clock
Start-up mode can be selected (see Section 3.6
“Two-Speed Clock Start-up Mode”).
TABLE 3-1:
OSCILLATOR DELAY EXAMPLES
3.3.2
EC MODE
The External Clock (EC) mode allows an externally
generated logic level as the system clock source.
When operating in this mode, an external clock source
is connected to the OSC1 pin and the RA5 pin is
available for general purpose I/O. Figure 3-2 shows the
pin connections for EC mode.
The Oscillator Start-up Timer (OST) is disabled when
EC mode is selected. Therefore, there is no delay in
operation after a Power-on Reset (POR) or wake-up
from Sleep. Because the PIC16F684 design is fully
static, stopping the external clock input will have the
effect of halting the device while leaving all data intact.
Upon restarting the external clock, the device will
resume operation as if no time had elapsed.
FIGURE 3-2:
EXTERNAL CLOCK (EC)
MODE OPERATION
Switch From
Switch To
Frequency
Oscillator Delay
Sleep/POR
LFINTOSC
HFINTOSC
31 kHz
125 kHz to 8 MHz
5
µs-10 µs (approx.) CPU Start-up(1)
Sleep/POR
EC, RC
DC – 20 MHz
LFINTOSC (31 kHz)
EC, RC
DC – 20 MHz
Sleep/POR
LP, XT, HS
31 kHz to 20 MHz
1024 Clock Cycles (OST)
LFINTOSC (31 kHz)
HFINTOSC
125 kHz to 8 MHz
1
µs (approx.)
Note 1:
The 5
µs to 10 µs start-up delay is based on a 1 MHz system clock.
OSC1/CLKIN
I/O (OSC2)
RA4
Clock from
Ext. System
PIC16F684



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