PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 25

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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:
© 2008 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
(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
DS41249E-page 23
System Clock
OSC
/4 output
by
the

Related parts for PIC16F785-E/SS