2008-2015 Microchip Technology Inc. DS30009687F-page 19
PIC18F2XJXX/4XJXX FAMILY
TABLE 5-3: PIC18F45J10 FAMILY DEVICES: BIT DESCRIPTIONS
Bit Name
Configuration
Words
Description
DEBUG
CONFIG1L Background Debugger Enable bit
1 = Background debugger disabled, RB6 and RB7 configured as general
purpose I/O pins
0 = Background debugger enabled, RB6 and RB7 are dedicated to in-circuit debug
XINST CONFIG1L Extended Instruction Set Enable bit
1 = Instruction set extension and Indexed Addressing mode enabled
0 = Instruction set extension and Indexed Addressing mode disabled
(Legacy mode)
STVREN CONFIG1L Stack Overflow/Underflow Reset Enable bit
1 = Reset on stack overflow/underflow enabled
0 = Reset on stack overflow/underflow disabled
WDTEN CONFIG1L Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled (control is placed on SWDTEN bit)
CP0 CONFIG1H Code Protection bit
1 = Program memory is not code-protected
0 = Program memory is code-protected
IESO CONFIG2L Internal/External Oscillator Switchover bit
1 = Oscillator Switchover mode enabled
0 = Oscillator Switchover mode disabled
FCMEN CONFIG2L Fail-Safe Clock Monitor Enable bit
1 = Fail-Safe Clock Monitor enabled
0 = Fail-Safe Clock Monitor disabled
FOSC2 CONFIG2L Default Oscillator Select bit
1 = Clock designated by FOSC<1:0> is enabled as system clock when
OSCCON<1:0> = 00
0 = INTRC is enabled as system clock when OSCCON<1:0> = 00
FOSC<1:0> CONFIG2L Primary Oscillator Select bits
11 = EC oscillator, PLL enabled and under software control, CLKO function on OSC2
10 = EC oscillator, CLKO function on OSC2
01 = HS oscillator, PLL enabled and under software control
00 = HS oscillator
WDTPS<3:0> CONFIG2H Watchdog Timer Postscale Select bits
1111 = 1:32,768
1110 = 1:16,384
1101 = 1:8,192
1100 = 1:4,096
1011 = 1:2,048
1010 = 1:1,024
1001 = 1:512
1000 = 1:256
0111 = 1:128
0110 = 1:64
0101 = 1:32
0100 = 1:16
0011 = 1:8
0010 = 1:4
0001 = 1:2
0000 = 1:1
CCP2MX CONFIG3H CCP2 MUX bit
1 = CCP2 is multiplexed with RC1
0 = CCP2 is multiplexed with RB3
PIC18F2XJXX/4XJXX FAMILY
DS30009687F-page 20 2008-2015 Microchip Technology Inc.
TABLE 5-4: PIC18F46J11 AND PIC18F46J50 FAMILY DEVICES: 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
(1)
300000h CONFIG1L DEBUG XINST STVREN PLLDIV2
(3)
PLLDIV1
(3)
PLLDIV0
(3)
WDTEN 111- 1111
300001h CONFIG1H
(2)
(2)
(2)
(2)
(4)
CP0 CPDIV1
(3)
CPDIV0
(3)
---- 0111
300002h CONFIG2L IESO FCMEN
LPT1OSC T1DIG FOSC2 FOSC1 FOSC0 11-1 1111
300003h CONFIG2H
(2)
(2)
(2)
(2)
WDTPS3 WDTPS2 WDTPS1 WDTPS0 ---- 1111
300004h CONFIG3L DSWDTPS3 DSWDTPS2 DSWDTPS1 DSWDTPS0 DSWDTEN DSBOREN RTCOSC DSWDTOSC 1111 1111
300005h CONFIG3H
(2)
(2)
(2)
(2)
MSSPMSK IOL1WAY ---- 1--1
300006h CONFIG4L WPCFG WPEND WPFP5
(5)
WPFP4
(6)
WPFP3 WPFP2 WPFP1 WPFP0 1111 1111
300007h CONFIG4H
(2)
(2)
(2)
(2)
—WPDIS---- ---1
3FFFFEh DEVID1 DEV2 DEV1 DEV0 REV4 REV3 REV2 REV1 REV0 xxxx xxxx
3FFFFFh DEVID2 DEV10 DEV9 DEV8 DEV7 DEV6 DEV5 DEV4 DEV3 0100 00xx
Legend: x = unknown, u = unchanged, - = unimplemented. Shaded cells are unimplemented, read as ‘0’.
Note 1: Values reflect the unprogrammed state as received from the factory and following Power-on Resets. In all other Reset states, the
configuration bytes maintain their previously programmed states.
2: The value of these bits in program memory should always be ‘1’. This ensures that the location is executed as a NOP if it is
accidentally executed.
3: These bits are not implemented in PIC18F46J11 family devices.
4: This bit should always be maintained at ‘0’.
5: This bit is not available on 32K and 16K memory devices (X4J11, X4J50, X5J11, and X5J50 devices) and should always be
maintained at ‘0’ on those devices.
6: This bit is not available on 16K memory devices (X4J11 and X4J50 devices) and should always be maintained at0’ on those
devices.
TABLE 5-5: PIC18F46J11 AND PIC18F46J50 FAMILY DEVICES: BIT DESCRIPTIONS
Bit Name
Configuration
Words
Description
DEBUG
CONFIG1L Background Debugger Enable bit
1 = Background debugger disabled, RB6 and RB7 configured as general purpose
I/O pins
0 = Background debugger enabled, RB6 and RB7 are dedicated to in-circuit debug
XINST CONFIG1L Enhanced Instruction Set Enable bit
1 = Instruction set extension and Indexed Addressing mode enabled
0 = Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
STVREN CONFIG1L Stack Overflow/Underflow Reset Enable bit
1 = Reset on stack overflow/underflow enabled
0 = Reset on stack overflow/underflow disabled
PLLDIV<2:0>
(3)
CONFIG1L PLL Input Divider bits
Divider must be selected to provide a 4 MHz input into the 96 MHz PLL.
111 = No divide – oscillator used directly (4 MHz input)
110 = Oscillator divided by 2 (8 MHz input)
101 = Oscillator divided by 3 (12 MHz input)
100 = Oscillator divided by 4 (16 MHz input)
011 = Oscillator divided by 5 (20 MHz input)
010 = Oscillator divided by 6 (24 MHz input)
001 = Oscillator divided by 10 (40 MHz input)
000 = Oscillator divided by 12 (48 MHz input)
WDTEN CONFIG1L Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled (control is placed on SWDTEN bit)
Note 1: The Configuration bits can only be programmed indirectly by programming the Flash Configuration Word.
2: The Configuration bits are reset to ‘1’ only on V
DD Reset; it is reloaded with the programmed value at any device Reset.
3: These bits are not implemented in PIC18F46J11 family devices.
4: Once this bit is cleared, all the Configuration registers which reside in the last page are also protected. To disable code
protection, perform an ICSP™ Bulk Erase operation.
2008-2015 Microchip Technology Inc. DS30009687F-page 21
PIC18F2XJXX/4XJXX FAMILY
CP0
(4)
CONFIG1H Code Protection bit
1 = Program memory is not code-protected
0 = Program memory is code-protected
CPDIV<1:0>
(3)
CONFIG1H CPU System Clock Selection bits
11 = No CPU system clock divide
10 = CPU system clock divided by 2
01 = CPU system clock divided by 3
00 = CPU system clock divided by 6
IESO CONFIG2L
(1,2)
Two-Speed Start-up (Internal/External Oscillator Switchover) Control bit
1 = Oscillator Switchover mode enabled
0 = Oscillator Switchover mode disabled
FCMEN CONFIG2L
(1,2)
Fail-Safe Clock Monitor Enable bit
1 = Fail-Safe Clock Monitor enabled
0 = Fail-Safe Clock Monitor disabled
LPT1OSC CONFIG2L
(1,2)
Low-Power Timer1 Oscillator Enable bit
1 = Timer1 oscillator configured for low-power operation
0 = Timer1 oscillator configured for higher-power operation
T1DIG CONFIG2L
(1,2)
Secondary Clock Source T1OSCEN Enforcement bit
(1)
1 = Secondary oscillator clock source may be selected (OSCCON <1:0> = 01)
regardless of T1OSCEN state
0 = Secondary oscillator clock source may not be selected unless T1CON <3> = 1
FOSC<2:0> CONFIG2L
(1,2)
Oscillator Selection bits
111 =EC+PLL (S/W controlled by PLLEN bit), CLKO on RA6
110 =EC oscillator (PLL always disabled) with CLKO on RA6
101 =HS+PLL (S/W controlled by PLLEN bit)
100 =HS oscillator (PLL always disabled)
011 =INTOSCPLLO, internal oscillator with PLL (S/W controlled by PLLEN bit), CLKO on
RA6, port function on RA7
010 =INTOSCPLL, internal oscillator with PLL (S/W controlled by PLLEN bit), port
function on RA6 and RA7
001 =INTOSCO, internal oscillator, INTOSC or INTRC (PLL always disabled), CLKO on
RA6, port function on RA7
000 =INTOSC, internal oscillator INTOSC or INTRC (PLL always disabled), port function
on RA6 and RA7
WDTPS<3:0> CONFIG2H
(1,2)
Watchdog Timer Postscale Select bits
1111 = 1:32,768
1110 = 1:16,384
1101 = 1:8,192
1100 = 1:4,096
1011 = 1:2,048
1010 = 1:1,024
1001 = 1:512
1000 = 1:256
0111 = 1:128
0110 = 1:64
0101 = 1:32
0100 = 1:16
0011 = 1:8
0010 = 1:4
0001 = 1:2
0000 = 1:1
TABLE 5-5: PIC18F46J11 AND PIC18F46J50 FAMILY DEVICES: BIT DESCRIPTIONS (CONTINUED)
Bit Name
Configuration
Words
Description
Note 1: The Configuration bits can only be programmed indirectly by programming the Flash Configuration Word.
2: The Configuration bits are reset to ‘1’ only on V
DD Reset; it is reloaded with the programmed value at any device Reset.
3: These bits are not implemented in PIC18F46J11 family devices.
4: Once this bit is cleared, all the Configuration registers which reside in the last page are also protected. To disable code
protection, perform an ICSP™ Bulk Erase operation.

PIC18F25J50-I/SS

Mfr. #:
Manufacturer:
Microchip Technology
Description:
8-bit Microcontrollers - MCU Full Spd USB 32KB Flsh 4KBRAM nanoWatt
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union