dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04
TABLE 21-2: dsPIC33F CONFIGURATION BITS DESCRIPTION
Bit Field
Register
Description
BWRP
BSS<2:0>
GSS<1:0>
GWRP
IESO
FNOSC<2:0>
FCKSM<1:0>
IOL1WAY
OSCIOFNC
POSCMD<1:0>
FBS
FBS
FGS
FGS
FOSCSEL
FOSCSEL
FOSC
FOSC
FOSC
FOSC
Boot Segment Program Flash Write Protection bit
1 = Boot segment can be written
0 = Boot segment is write-protected
Boot Segment Program Flash Code Protection Size bits
X11 = No boot program Flash segment
Boot space is 256 instruction words (except interrupt vectors)
110 = Standard security; boot program Flash segment ends at
0x0003FE
010 = High security; boot program Flash segment ends at 0x0003FE
Boot space is 768 instruction words (except interrupt vectors)
101 = Standard security; boot program Flash segment ends at
0x0007FE
001 = High security; boot program Flash segment ends at 0x0007FE
Boot space is 1792 instruction words (except interrupt vectors)
100 = Standard security; boot program Flash segment ends at
0x000FFE
000 = High security; boot program Flash segment ends at 0x000FFE
General Segment Code-Protect bits
11 = User program memory is not code-protected
10 = Standard security
0x = High security
General Segment Write-Protect bit
1 = User program memory is not write-protected
0 = User program memory is write-protected
Two-speed Oscillator Start-up Enable bit
1 = Start-up device with FRC, then automatically switch to the
user-selected oscillator source when ready
0 = Start-up device with user-selected oscillator source
Initial Oscillator Source Selection bits
111 = Internal Fast RC (FRC) oscillator with postscaler
110 = Internal Fast RC (FRC) oscillator with divide-by-16
101 = LPRC oscillator
100 = Secondary (LP) oscillator
011 = Primary (XT, HS, EC) oscillator with PLL
010 = Primary (XT, HS, EC) oscillator
001 = Internal Fast RC (FRC) oscillator with PLL
000 = FRC oscillator
Clock Switching Mode bits
1x = Clock switching is disabled, Fail-Safe Clock Monitor is disabled
01 = Clock switching is enabled, Fail-Safe Clock Monitor is disabled
00 = Clock switching is enabled, Fail-Safe Clock Monitor is enabled
Peripheral Pin Select Configuration bit
1 = Allow only one reconfiguration
0 = Allow multiple reconfigurations
OSC2 Pin Function bit (except in XT and HS modes)
1 = OSC2 is clock output
0 = OSC2 is general purpose digital I/O pin
Primary Oscillator Mode Select bits
11 = Primary oscillator disabled
10 = HS Crystal Oscillator mode
01 = XT Crystal Oscillator mode
00 = EC (External Clock) mode
DS70318D-page 264
Preliminary
© 2009 Microchip Technology Inc.