dattlara76
Junior Member level 2
Hi,
As by default PLL is enable in the 18F46k22. If so with the code below ,
will be the FOSC = 64Mhz and then Instruction Clock =64/4=16MIPS ? Is this correct or it will be mutiplied by PLL, I am confused??
If //#use delay (clock=20MHZ, crystal) and if the fuse is above then what should be mulplier PLL, will it be 4x20=80MHZ FOSC.??
If we are in requirement of less than or equal to 64mhz of FOSC then why should we use crystal to get 64MHZ with 16MHZ crystal with PLL. ???
Please any one let me know the actual cause of all my 3 questions.
Thank you...
As by default PLL is enable in the 18F46k22. If so with the code below ,
Code:
#
include <18F46K22.h>
#fuses NOMCLR,NOLVP,NOBROWNOUT,PUT,NOXINST
#use delay(internal = 64MHz) //ORI 8//BY DEFAULT PLL IS ENABLE SO 20 crystal is used the 20X4 =80MHZ
will be the FOSC = 64Mhz and then Instruction Clock =64/4=16MIPS ? Is this correct or it will be mutiplied by PLL, I am confused??
If //#use delay (clock=20MHZ, crystal) and if the fuse is above then what should be mulplier PLL, will it be 4x20=80MHZ FOSC.??
If we are in requirement of less than or equal to 64mhz of FOSC then why should we use crystal to get 64MHZ with 16MHZ crystal with PLL. ???
Please any one let me know the actual cause of all my 3 questions.
Thank you...