English
Language : 

PIC18FXXK80 Datasheet, PDF (34/52 Pages) Microchip Technology – Flash Microcontroller Programming Specification
PIC18FXXK80 FAMILY
5.0 CONFIGURATION WORD
The PIC18FXXK80 family of devices has several
Configuration Words. These bits can be set or cleared
to select various device configurations. All other
memory areas should be programmed and verified
prior to setting the Configuration Words. These bits
may be read out normally, even after read or code
protection. See Table 5-1 for a list of Configuration bits
and Device IDs, and Table 5-3 for the Configuration bit
descriptions.
5.1 ID Locations
A user may store Identification (ID) information in eight
ID locations, mapped in 200000h:200007h. It is recom-
mended that the most significant nibble of each ID be
Fh. In doing so, if the user code inadvertently tries to
execute from the ID space, the ID data will execute as
a NOP.
TABLE 5-1: CONFIGURATION BITS AND DEVICE IDs
File Name
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default/
Unprogrammed
Value
300000h CONFIG1L —
XINST
— SOSCSEL1 SOSCSEL0 INTOSCSEL
—
RETEN -1-1 11-1
300001h CONFIG1H IESO FCMEN
—
PLLCFG FOSC3
FOSC2
FOSC1 FOSC0 00-0 1000
300002h CONFIG2L — BORPW1 BORPW0 BORV1 BORV0 BOREN1 BOREN0 PWRTEN -111 1111
300003h CONFIG2H — WDTPS4 WDTPS3 WDTPS2 WDTPS1 WDTPS0 WDTEN1 WDTEN0
300005h CONFIG3H MCLRE —
—
—
MSSPMSK T3CKMX(1,3) T0CKMX(1) CANMX
-111 1111
1--- 1111
300006h CONFIG4L DEBUG —
—
BBSIZ
—
—
—
STVREN 1--1 ---1
300008h CONFIG5L —
—
—
—
CP3
CP2
CP1
CP0
---- 1111
300009h CONFIG5H CPD CPB
—
—
—
—
—
—
11-- ----
30000Ah CONFIG6L —
—
—
—
WRT3
WRT2
WRT1 WRT0 ---- 1111
30000Bh CONFIG6H WRTD WRTB WRTC
—
—
—
—
—
111- ----
30000Ch CONFIG7L —
—
—
—
EBTR3
EBTR2
EBTR1 EBTR0 ---- 1111
30000Dh
3FFFFEh
3FFFFFh
CONFIG7H
DEVID1(2)
DEVID2(2)
—
DEV2
DEV10
EBTRB
DEV1
DEV9
—
DEV0
DEV8
—
REV4
DEV7
—
REV3
DEV6
—
REV2
DEV5
—
REV1
DEV4
—
REV0
DEV3
-1-- ----
xxxx xxxx
xxxx xxxx
Legend:
Note 1:
2:
3:
x = unknown, u = unchanged, — = unimplemented, q = value depends on condition. Shaded cells are unimplemented, read as ‘0’.
Only implemented in 64-pin devices.
See Register 28-13 in the “PIC18F66K80 Family Data Sheet” for DEVID1 values. DEVID registers are read-only and cannot be
programmed by the user.
This bit must be maintained as ‘0’ on 28-pin PIC18F2XK80 and 40/44-pin PIC18F4XK80 devices.
DS39972B-page 34
 2011 Microchip Technology Inc.