raman00084
Full Member level 6
dspic 30f6010a pll issue with ccs
how to enable pll in dspic 30f6010a ic i use the following
#FUSES NOWDT //No Watch Dog Timer
#FUSES XT_PLL16
#FUSES CKSFSM //Clock Switching is enabled, fail Safe clock monitor is enabled
#FUSES NOBROWNOUT //No brownout reset
#device ICSP=1
#use delay(clock=64MHz,crystal=4MHz)
i am using 4 mhz crystal and enabling 16x pll so that i can get 64mhz
but the pll 64mhz is not working no response i just wrote a led toggle program but it is not toglling
if i take this 2 lines
#FUSES XT_PLL16
#use delay(clock=64MHz,crystal=4MHz)
and add this line
#use delay(crystal=4MHz)
it is working perfect without pll enabling it is working perfect
this problem i am facing only in dspic ordinary pic 18f series works
kindly give the steps for enabling pll in ccs complier
regards
kalyan
how to enable pll in dspic 30f6010a ic i use the following
#FUSES NOWDT //No Watch Dog Timer
#FUSES XT_PLL16
#FUSES CKSFSM //Clock Switching is enabled, fail Safe clock monitor is enabled
#FUSES NOBROWNOUT //No brownout reset
#device ICSP=1
#use delay(clock=64MHz,crystal=4MHz)
i am using 4 mhz crystal and enabling 16x pll so that i can get 64mhz
but the pll 64mhz is not working no response i just wrote a led toggle program but it is not toglling
if i take this 2 lines
#FUSES XT_PLL16
#use delay(clock=64MHz,crystal=4MHz)
and add this line
#use delay(crystal=4MHz)
it is working perfect without pll enabling it is working perfect
this problem i am facing only in dspic ordinary pic 18f series works
kindly give the steps for enabling pll in ccs complier
regards
kalyan