PIC16F88-I/SO Microchip Technology Inc., PIC16F88-I/SO Datasheet - Page 43

no-image

PIC16F88-I/SO

Manufacturer Part Number
PIC16F88-I/SO
Description
18 PIN, 7 KB FLASH, 368 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F88-I/SO

A/d Inputs
7-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
16
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin SOIC
Programmable Memory
7K Bytes
Ram Size
368 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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F88-I/SO
Manufacturer:
ROHM
Quantity:
15 000
Part Number:
PIC16F88-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F88-I/SO
0
FIGURE 4-6:
4.6.4
The IRCF bits can be modified at any time regardless of
which clock source is currently being used as the
system clock. The internal oscillator allows users to
change the frequency during run time. This is achieved
by modifying the IRCF bits in the OSCCON register.
The sequence of events that occur after the IRCF bits
are modified is dependent upon the initial value of the
IRCF bits before they are modified. If the INTRC
(31.25 kHz, IRCF<2:0> = 000) is running and the IRCF
bits are modified to any other value than ‘000’, a 4 ms
(approx.) clock switch delay is turned on. Code execu-
tion continues at a higher than expected frequency
while the new frequency stabilizes. Time sensitive code
should wait for the IOFS bit in the OSCCON register to
become set before continuing. This bit can be moni-
tored to ensure that the frequency is stable before using
the system clock in time critical applications.
If the IRCF bits are modified while the internal oscillator
is running at any other frequency than INTRC
(31.25 kHz, IRCF<2:0>
4 ms (approx.) clock switch delay. The new INTOSC
frequency will be stable immediately after the eight fall-
ing edges. The IOFS bit will remain set after clock
switching occurs.
 2005 Microchip Technology Inc.
Note:
T1OSO
T1OSI
OSC2
OSC1
MODIFYING THE IRCF BITS
Caution must be taken when modifying the
IRCF bits using BCF or BSF instructions. It
is possible to modify the IRCF bits to a
frequency that may be out of the V
ification range; for example, V
and IRCF = 111 (8 MHz).
Primary Oscillator
Secondary Oscillator
PIC16F87/88 CLOCK DIAGRAM
31.25 kHz
(INTRC)
000), there is no need for a
Oscillator
31.25 kHz
Internal
Source
Sleep
T1OSCEN
Enable
Oscillator
Block
(INTOSC)
8 MHz
DD
DD
= 2.0V
spec-
31.25 kHz
500 kHz
250 kHz
125 kHz
8 MHz
4 MHz
2 MHz
1 MHz
OSCCON<6:4>
4.6.5
Following are three different sequences for switching
the internal RC oscillator frequency.
• Clock before switch: 31.25 kHz (IRCF<2:0> = 000)
1.
2.
3.
4.
5.
• Clock before switch: One of INTOSC/INTOSC
1.
2.
3.
4.
111
110
101
100
011
010
001
000
postscaler (IRCF<2:0>
IRCF bits are modified to an INTOSC/INTOSC
postscaler frequency.
The clock switching circuitry waits for a falling
edge of the current clock, at which point CLKO
is held low.
The clock switching circuitry then waits for eight
falling edges of requested clock, after which it
switches CLKO to this new clock source.
The IOFS bit is clear to indicate that the clock is
unstable and a 4 ms (approx.) delay is started.
Time dependent code should wait for IOFS to
become set.
Switchover is complete.
IRCF
(IRCF<2:0> = 000).
The clock switching circuitry waits for a falling
edge of the current clock, at which point CLKO
is held low.
The clock switching circuitry then waits for eight
falling edges of requested clock, after which it
switches CLKO to this new clock source.
Oscillator switchover is complete.
To Timer1
LP, XT, HS, RC, EC
CLOCK TRANSITION SEQUENCE
bits
Internal Oscillator
Configuration Word 1 (FOSC2:FOSC0)
are
T1OSC
PIC16F87/88
SCS<1:0> (T1OSC)
modified
000)
DS30487C-page 41
WDT, FSCM
to
Peripherals
INTRC
CPU

Related parts for PIC16F88-I/SO