How do you measure the speed? Keep in mind that all the peripherals run at Fosc (5MHz), only core clock is 20MHz. Do a code that oscillates an output pin and measure if the frq is different wether you have PLL enabled or not. - K Graham North wrote: > > I am trying to get the PPL working on the 18F8720. I am currently running > the device at 20MHz @5V using a 20MHz crystal and HS mode. > I wanted to use a 5MHz crystal and HS PLL mode, but I can't get it to work. > When I change the config bits, and use a 5MHz crystal it just runs at 5MHz, > not the expected 20MHz! > > Help, I'm tearing my hair out. > > I'm using MPLAB 6.13 and an ICD2 if that makes any difference. > > Thanks > > Graham > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads