Olin Lathrop wrote: > Marcel Duchamp wrote: > >> I'm having some kind of problem getting the hspll mode to work on a >> PIC18F4620. Checking with a scope on a pin being toggled shows >> operation 4 times too slow .... looks like the pll is not on. The 10MHz >> crystal is in fact working at 10MHz. > > > Right. The PLL doesn't change the frequency the crystal operates at. It > takes the frequency from the crystal and multiplies it by 4 for internal > use. You won't see 40MHz on any pin. Yes, I know that. I wasn't looking for 40MHz on any pin. I'm looking for instructions moving along at 10mips; I'm getting 2.5mips. The correct value is not being assembled; that is my question. Thus, the pll is never being commanded to be active. As mentioned before, the config value in my program listing is 0xf2; it should be 0xf6. Again, my question is why is the assembler generating 0xf2? MD -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist