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

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
COMMON QUESTIONS AND ANSWERS
Version3 Chips:
30F2011, 30F2012, 30F3010, 30F3011, 30F3012, 30F3013, 30F3014, 30F4013, 30F5015,
30F5016, 30F6010A, 30F6011A, 30F6012A, 30F6013A, 30F6014A, 30F6015
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 FRC_PLL16, PR_PLL, NOWDT
#use delay(clock=117920000) // Internal FRC clock of 7.37 * 16 = 117.92 Mhz is used
Sample Code for setting fuse for HS mode using PLL options. The following PLL options are
applicable for the HS fuse:
HS2_PLLx : Divide by 2, x times PLL enabled.
HS3_PLLx : Divide by 3, x times PLL enabled.
#fuses HS2_PLL8, PR_PLL, NOWDT
#use delay(clock=20000000) // A 20 Mhz crystal is used
The 30F2020 , 30F1010 and 30F2023 chips are quite different from the other 30F chips
One major difference is that the Instruction clock is divide by 2 of the actual input clock. The other
chips in the family use a divide by 4.
Crystal Frequency Limitations for various fuses:
HS Mode 10 – 25 MHz
XT Mode 4 – 10 MHz
EC Mode 4 – 10 Mhz
Note: The upper limits of these crystal setting will change when the PLL fuses are used. (For
example HS2_PLL16, EC_PLL16). At no point should the system clock exceed 120 MHz after the
PLL block. The instruction clock for the 30F chips is derived by dividing this final clock by 4. So, the
maximum clock rate for the 30F chips is 30 MHz.
339

Related parts for PCDIDE COMPILER