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

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.4
The PIC16F785/HV785 has two independent, internal
oscillators that can be configured or selected as the
system clock source.
1.
2.
The system clock speed can be selected via software
using the Internal Oscillator Frequency Select (IRCF)
bits.
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.4.1
The INTRC and INTRCIO modes configure the internal
oscillators as the system clock source when the device
is programmed using the Oscillator Selection (FOSC)
bits in the Configuration Word (Register 12-1).
In INTRC mode, the OSC1 pin is available for general
purpose I/O. The OSC2/CLKOUT pin outputs the
selected internal oscillator frequency divided by 4. The
CLKOUT signal may be used to provide a clock for
external circuitry, synchronization, calibration, test or
other application requirements.
In INTRCIO mode, the OSC1 and OSC2 pins are
available for general purpose I/O.
3.4.2
The High-frequency Internal Oscillator (HFINTOSC) is
a factory calibrated 8 MHz internal clock source. The
frequency
approximately ±12% via software using the OSCTUNE
register (Register 3-1).
The output of the HFINTOSC connects to a postscaler
and multiplexer (see Figure 3-1). One of seven
frequencies can be selected via software using the
IRCF bits (see Section 3.4.4 “Frequency Select Bits
(IRCF)”).
The HFINTOSC is enabled by selecting any frequency
between 8 MHz and 125 kHz (IRCF ≠ 000) as the
system clock source (SCS = 1) or when Two-Speed
Start-up is enabled (IESO = 1 and IRCF ≠ 000).
The HF Internal Oscillator (HTS) bit, in the OSCCON
Register, indicates whether the HFINTOSC is stable or
not.
© 2008 Microchip Technology Inc.
The HFINTOSC (High-frequency Internal Oscil-
lator) is factory calibrated and operates at
8 MHz. The frequency of the HFINTOSC can be
user adjusted ±12% via software using the
OSCTUNE register (Register 3-1).
The
Oscillator) is uncalibrated and operates at
approximately 31 kHz.
Internal Clock Modes
LFINTOSC
INTRC AND INTRCIO MODES
HFINTOSC
of
the
HFINTOSC
(Low-frequency
can
be
Internal
altered
3.4.2.1
The 8 MHz High-frequency Internal Oscillator (HFIN-
TOSC) is factory calibrated. The HFINTOSC calibra-
tion bits are stored in the Calibration Word (CALIB)
located in program memory location 2008h. The Cali-
bration Word is not erased using the specified bulk
erase sequence in the “PIC16F785/HV785 Memory
Programming Specification” (DS41237) and does not
require reprogramming. Reference the “PIC16F785/
HV785
(DS41237) for more information on the Calibration
Word register.
Note:
PIC16F785/HV785
Memory
Address 2008h is beyond the user program
memory space. It belongs to the special
Configuration
3FFFh), which can be accessed only during
programming. See “PIC16F785/HV785
Memory
(DS41237) for more information.
Calibration Bits
Programming
Programming
Memory
DS41249E-page 27
space
Specification”
Specification”
(2000h-

Related parts for PIC16F785-E/SS