PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 100

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
PIC17C4X
14.1
The PIC17CXX has up to seven configuration locations
(Table 14-1). These locations can be programmed
(read as '0') or left unprogrammed (read as '1') to select
various device configurations. Any write to a configura-
tion location, regardless of the data, will program that
configuration bit. A TABLWT instruction is required to
write to program memory locations. The configuration
bits can be read by using the TABLRD instructions.
Reading any configuration location between FE00h
and FE07h will read the low byte of the configuration
word (Figure 14-1) into the TABLATL register. The TAB-
LATH register will be FFh. Reading a configuration
location between FE08h and FE0Fh will read the high
byte of the configuration word into the TABLATL regis-
ter. The TABLATH register will be FFh.
Addresses FE00h thorough FE0Fh are only in the pro-
gram memory space for microcontroller and code pro-
tected microcontroller modes. A device programmer
will be able to read the configuration word in any pro-
cessor mode. See programming specifications for more
detail.
TABLE 14-1:
DS30412C-page 100
Note 1: This location does not exist on the
Note:
WDTPS0
WDTPS1
Configuration Bits
FOSC0
FOSC1
PM2
PIC17C42.
PM0
PM1
When programming the desired configura-
tion locations, they must be programmed in
ascending order. Starting with address
FE00h.
Bit
(1)
CONFIGURATION
LOCATIONS
Address
FE00h
FE01h
FE02h
FE03h
FE04h
FE06h
FE0Fh
(1)
14.2
14.2.1
The PIC17CXX can be operated in four different oscil-
lator modes. The user can program two configuration
bits (FOSC1:FOSC0) to select one of these four
modes:
• LF:
• XT:
• EC:
• RC:
14.2.2
In XT or LF modes, a crystal or ceramic resonator is
connected to the OSC1/CLKIN and OSC2/CLKOUT
pins
PIC17CXX Oscillator design requires the use of a par-
allel cut crystal. Use of a series cut crystal may give a
frequency out of the crystal manufacturers specifica-
tions.
For frequencies above 20 MHz, it is common for the
crystal to be an overtone mode crystal. Use of overtone
mode crystals require a tank circuit to attenuate the
gain at the fundamental frequency. Figure 14-3 shows
an example of this.
FIGURE 14-2: CRYSTAL OR CERAMIC
See Table 14-2 and Table 14-3 for recommended
values of C1 and C2.
Note 1: A series resistor may be required for AT strip
to
Oscillator Configurations
CRYSTAL OSCILLATOR / CERAMIC
RESONATORS
OSCILLATOR TYPES
C1
C2
establish
cut crystals.
Low Power Crystal
Crystal/Resonator
External Clock Input
Resistor/Capacitor
Note1
XTAL
RESONATOR OPERATION
(XT OR LF OSC
CONFIGURATION)
OSC1
OSC2
oscillation
1996 Microchip Technology Inc.
PIC17CXX
RF
(Figure 14-2). The
SLEEP
To internal
logic

Related parts for PIC17C42