PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 25

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
3.0
3.1
The PIC16F785/HV785 has a wide variety of clock
sources and selection features to allow it to be used in
a wide range of applications while maximizing perfor-
mance and minimizing power consumption. Figure 3-1
illustrates a block diagram of the PIC16F785/HV785
clock sources.
Clock sources can be configured from external oscilla-
tors, quartz crystal resonators, ceramic resonators and
Resistor-Capacitor (RC) circuits. In addition, the sys-
tem clock source can be configured from one of two
internal oscillators, with a choice of speeds selectable
via software. Additional clock features include:
• Selectable system clock source between external
• Two-Speed Clock Start-up mode, which mini-
• Fail-Safe Clock Monitor (FSCM) designed to
FIGURE 3-1:
© 2006 Microchip Technology Inc.
or internal via software.
mizes latency between external oscillator start-up
and code execution.
detect a failure of the external clock source (LP,
XT, HS, EC or RC modes) and switch to the
internal oscillator.
OSC2
OSC1
CLOCK SOURCES
Overview
External Oscillator
Internal Oscillator
HFINTOSC
LFINTOSC
31 kHz
8 MHz
PIC16F785/HV785 CLOCK SOURCE BLOCK DIAGRAM
Sleep
500 kHz
250 kHz
125 kHz
31 kHz
8 MHz
4 MHz
2 MHz
1 MHz
Preliminary
(OSCCON<6:4>)
IRCF<2:0>
111
110
101
100
011
010
001
000
The PIC16F785/HV785 can be configured in one of
eight clock modes.
1.
2.
3.
4.
5.
6.
7.
8.
Clock
FOSC<2:0> bits in the Configuration Word (see
Section 15.0 “Special Features of the CPU”). Once
the PIC16F785/HV785 is programmed and the Clock
Source mode configured, it cannot be changed in the
software.
LP, XT, HS, RC, RCIO, EC
EC – External clock with I/O on RA4.
LP – 32.768 kHz Watch Crystal or Ceramic
Resonator Oscillator mode.
XT – Medium Gain Crystal or Ceramic
Resonator Oscillator mode.
HS – High Gain Crystal or Ceramic Resonator
mode.
RC – External Resistor-Capacitor (RC) with
F
RCIO – External Resistor-Capacitor with I/O on
RA4.
INTOSC – Internal Oscillator with F
on RA4 and I/O on RA5.
INTOSCIO – Internal Oscillator with I/O on RA4
and RA5.
OSC
PIC16F785/HV785
Source
/4 output on RA4
Power-up Timer (PWRT)
Watchdog Timer (WDT)
Fail-Safe Clock Monitor (FSCM)
modes
(Configuration Word)
(OSCCON<0>)
FOSC<2:0>
SCS
are
(CPU and Peripherals)
configured
DS41249D-page 23
System Clock
OSC
/4 output
by
the

Related parts for PIC16F785-I/P