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

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.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 of the HFINTOSC can be altered approxi-
mately ±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 fre-
quencies 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
tem clock source (SCS = 1) or when Two-Speed Start-
up is enabled (IESO = 1 and IRCF
The HF Internal Oscillator (HTS) bit, (OSCCON<2>),
indicates whether the HFINTOSC is stable or not.
© 2006 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
(Low-frequency
000).
000) as the sys-
Internal
Preliminary
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
DS41249D-page 27
space
Specification”
Specification”
(2000h-

Related parts for PIC16F785-I/P