PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 352

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
PCD C Compiler Reference Manual January 2011
What are the various Fuse options for the dsPIC/PIC 24 chips?
DsPIC30F chips fuse Summary:
The oscillator settings for the dsPIC30F family are divided into 3 versions.
Version 1 is the basic version that is supported by all the chips.
Version 2 and Version 3 are additions and improvements to these oscillator settings.
Version1 Chip Features:
Primary Oscillator with multiple clock modes – XT, EC, HS
Secondary Oscillator (Low Power 32 kHz)
FRC – Fast Internal RC 7.37 Mhz
LPRC Low Power Internal RC (512 kHz)
Version1 chips support following PLL Clock Multiplier settings
4x ,8x and 16x PLL mode for XT and EC only
Generic post-scaler (divide by 1,4,16,64)
Version2 Chip Features:
PLL Options applicable for FRC Oscillator
Version3 Chip Features:
PLL Options applicable for the HS Oscillator : Use HS2_PLLx and HS3_PLLx fuses
Version1 Chips:
30F6010, 30F6012, 30F6013, 30F6014
Sample Code for setting fuses for HS mode (Primary Oscillator)
#fuses HS, PR, NOWDT
#use delay(clock=20000000) // A 20 Mhz crystal is used
Sample Code for setting fuses for FRC Internal Oscillator mode
#fuses FRC, NOWDT
#use delay(clock=7370000) // Internal FRC clock of 7.37 Mhz is used
Version2 Chips:
30F2010, 30F4011, 30F4012, 30F5011, 30F5013
Note: The FRC_PLLx options is added for this version, but this does not include the 30F2010 chip.
Sample Code for setting the fuse for HS mode (Primary Oscillator)
#fuses HS, PR, NOWDT
#use delay(clock=20000000) // A 20 Mhz crystal is used
Sample Code for setting fuses for FRC Internal Oscillator mode
#fuses FRC, NOWDT
#use delay(clock=7370000) // Internal FRC clock of 7.37 Mhz is used
Sample Code for setting fuses for FRC Internal Oscillator mode with PLL enabled
#fuses PR, FRC_PLL8, NOWDT
#use delay(clock=58960000) // Internal FRC clock of 7.37 * 8 = 58.96 Mhz is used
338

Related parts for PCDIDE COMPILER