PIC16F1827-E/P Microchip Technology Inc., PIC16F1827-E/P Datasheet - Page 56

no-image

PIC16F1827-E/P

Manufacturer Part Number
PIC16F1827-E/P
Description
7 KB Flash, 384 bytes RAM, 32 MHz Int. Osc, 16 I/0, Enhanced Mid Range Core
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F1827-E/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
8 MIPS
Eeprom Memory
256 Bytes
Input Output
16
Interface
CAN/I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
7K Bytes
Ram Size
384 Bytes
Speed
32 MHz
Timers
4-8-bit, 1-16-bit
Voltage, Range
1.8-5.5 V
Standby Current (pic16lf182x)
30 nA @ 1.8 V, Typical
PIC16(L)F1826/27
5.2.2
The device may be configured to use the internal oscil-
lator block as the system clock by performing one of the
following actions:
• Program the FOSC<2:0> bits in Configuration
• Write the SCS<1:0> bits in the OSCCON register
In INTOSC mode, OSC1/CLKIN is available for general
purpose I/O. OSC2/CLKOUT is available for general
purpose I/O or CLKOUT.
The function of the OSC2/CLKOUT pin is determined
by the state of the CLKOUTEN bit in Configuration
Word 1.
The internal oscillator block has two independent
oscillators and a dedicated Phase-Lock Loop, HFPLL
that can produce one of three internal system clock
sources.
1.
2.
3.
DS41391D-page 56
Word 1 to select the INTOSC clock source, which
will be used as the default system clock upon a
device Reset.
to switch the system clock source to the internal
oscillator during run-time. See
“Clock
The
Oscillator) is factory calibrated and operates at
16 MHz. The HFINTOSC source is generated
from the 500 kHz MFINTOSC source and the
dedicated Phase-Lock Loop, HFPLL. The
frequency
user-adjusted via software using the OSCTUNE
register
The MFINTOSC (Medium-Frequency Internal
Oscillator) is factory calibrated and operates at
500 kHz. The frequency of the MFINTOSC can
be
OSCTUNE register
The
Oscillator) is uncalibrated and operates at
31 kHz.
user-adjusted
Switching”for more information.
HFINTOSC
LFINTOSC
INTERNAL CLOCK SOURCES
(Register
of
the
5-3).
(Register
(High-Frequency
(Low-Frequency
via software using the
HFINTOSC
Section 5.3
5-3).
can
Internal
Internal
be
5.2.2.1
The High-Frequency Internal Oscillator (HFINTOSC) is
a factory calibrated 16 MHz internal clock source. The
frequency of the HFINTOSC can be altered via
software using the OSCTUNE register
The output of the HFINTOSC connects to a postscaler
and multiplexer (see
frequencies derived from the HFINTOSC can be
selected via software using the IRCF<3:0> bits of the
OSCCON register. See
Oscillator Clock Switch Timing”
The HFINTOSC is enabled by:
• Configure the IRCF<3:0> bits of the OSCCON
• FOSC<2:0> = 100, or
• Set the System Clock Source (SCS) bits of the
The High Frequency Internal Oscillator Ready bit
(HFIOFR) of the OSCSTAT register indicates when the
HFINTOSC is running and can be utilized.
The High Frequency Internal Oscillator Status Locked
bit (HFIOFL) of the OSCSTAT register indicates when
the HFINTOSC is running within 2% of its final value.
The High Frequency Internal Oscillator Status Stable
bit (HFIOFS) of the OSCSTAT register indicates when
the HFINTOSC is running within 0.5% of its final value.
5.2.2.2
The
(MFINTOSC) is a factory calibrated 500 kHz internal
clock source. The frequency of the MFINTOSC can be
altered via software using the OSCTUNE register
(Register
The output of the MFINTOSC connects to a postscaler
and multiplexer (see
frequencies derived from the MFINTOSC can be
selected via software using the IRCF<3:0> bits of the
OSCCON register. See
Oscillator Clock Switch Timing”
The MFINTOSC is enabled by:
• Configure the IRCF<3:0> bits of the OSCCON
• FOSC<2:0> = 100, or
• Set the System Clock Source (SCS) bits of the
The Medium Frequency Internal Oscillator Ready bit
(MFIOFR) of the OSCSTAT register indicates when the
MFINTOSC is running and can be utilized.
register for the desired HF frequency, and
OSCCON register to ‘1x’.
register for the desired HF frequency, and
OSCCON register to ‘1x’
Medium-Frequency
5-3).
HFINTOSC
MFINTOSC
 2011 Microchip Technology Inc.
Figure
Figure
Section 5.2.2.7 “Internal
Section 5.2.2.7 “Internal
5-1). One of nine
5-1). One of nine
Internal
for more information.
for more information.
(Register
Oscillator
5-3).

Related parts for PIC16F1827-E/P