nikin78
Joined: 20 Sep 2007 Posts: 11
|
Clock for 18F2550 |
Posted: Thu Sep 20, 2007 10:18 am |
|
|
I have seen various sample code for the 18F2550. it looks to me that a 20MHz external clock can give you a 48MHz clock with the following code
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN,NOBROWNOUT,MCLR
if this correct please help me understand the math or explain the last paragraph in 2.2.4 of the PIC datasheet for the 18F2550/4550. it doesn't make sense to me.
I also noticed the same code as above is being used in the sample code for the USB development kit CCS provides. So I know it is correct but I dont know why. |
|