Microchip Technology DM163025-1 Data Sheet
PIC18(L)F2X/45K50
DS30684A-page 386
2012 Microchip Technology Inc.
TABLE 26-1:
CONFIGURATION BITS AND DEVICE IDs
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default/
Unprogrammed
Value
300000h
CONFIG1L
—
—
LS48MHZ
CPUDIV<1:0>
—
CFGPLLEN
PLLSEL
0000 0000
300001h
CONFIG1H
IESO
FCMEN
PCLKEN
—
FOSC<3:0>
0010 0101
300002h
CONFIG2L
—
LPBOR
—
BORV<1:0>
BOREN<1:0>
PWRTEN
0101 1111
300003h
CONFIG2H
—
—
WDTPS<3:0>
WDTEN<1:0>
0011 1111
300004h
CONFIG3L
—
—
—
—
—
—
—
—
0000 0000
300005h
CONFIG3H
MCLRE SDOMX
—
T3CMX
—
—
PBADEN
CCP2MX
1101 0011
300006h
CONFIG4L
DEBUG
XINST
ICPRT
(5)
—
—
LVP
(1)
—
STRVEN
1010 0101
300007h
CONFIG4H
—
—
—
—
—
—
—
—
1111 1111
300008h
CONFIG5L
—
—
—
—
CP3
(2)
CP2
(2)
CP1
CP0
0000 1111
300009h
CONFIG5H
CPD
CPB
—
—
—
—
—
—
1100 0000
30000Ah
CONFIG6L
—
—
—
—
WRT3
(2)
WRT2
(2)
WRT1
WRT0
0000 1111
30000Bh
CONFIG6H
WRTD
WRTB
WRTC
(3)
—
—
—
—
—
1110 0000
30000Ch
CONFIG7L
—
—
—
—
EBTR3
(2)
EBTR2
(2)
EBTR1
EBTR0
0000 1111
30000Dh
CONFIG7H
—
EBTRB
—
—
—
—
—
—
0100 0000
3FFFFEh
DEVID1
(4)
DEV<2:0>
REV<4:0>
qqqq qqqq
3FFFFFh
DEVID2
(4)
DEV<10:3>
0101 1100
Legend:
– = unimplemented, q = value depends on condition. Shaded bits are unimplemented, read as ‘0’.
Note
1:
Can only be changed when in high voltage programming mode.
2:
Available on PIC18(L)F45K50 and PIC18(L)F25K50 devices only.
3:
In user mode, this bit is read-only and cannot be self-programmed.
4:
See
and
for DEVID values. DEVID registers are read-only and cannot be programmed by the
user.
5:
Available only on 44-pin TQFP package devices. Program this bit clear on all other devices.