Running a graphic display is an example where you may want to use a faster speed..
But if you are just flashing a few LEDs, there is no point in using PLL, as you wouldn't see it!
So, for example: When I look at an LCD with menus and the option to scroll, all that stuff are running at 40MHz? That is so fast that when cannot realise that the image look like pictures, like frames.. well I can't explain I hope you understand
So, for example: When I look at an LCD with menus and the option to scroll, all that stuff are running at 40MHz? That is so fast that when cannot realise that the image look like pictures, like frames.. well I can't explain I hope you understand
I don't think you really understand PIC's very well yet, but keep at it and all will make sense in no time at all.
The best is to start with some tutorials and a breadboard... the quickest way to learn is doing it hands-on.
OOH! Variable speed! That's like the Intel Speed Step technology that makes my 1.6GHz Pentium-M so seemingly speedy!
So, I have 12F683, 16F688, and 16F872, and figuring the latter is the biggest newest, I searched its PDF for PLL, finding none, went for "phase" and found no reference related ..
what chips support this variable speed? Just for curiosity. I know I could change existing ones to be slower (and I thank ye all for the thoughts of going even 32KHz for some of my "waiting around for something slow" projects). Even a ... say ... wireless Data Logger could lounge around in the KHz range and crank up to 4 or 8MHz to do say wireless or maybe USB or IR sends... cool. But just curious about "really cranking them up", too.
The timer takes 256 to roll over because it is 8 bits. If you change to timer 2 then you can set the value that it should roll over at in register PR2. Have a read of the timer 2 section in the data sheet.
Some of the 18 series chips have the PLL. The one I believe the OP is using is the 18F2520 which can use the internal oscillator in combination with the PLL to manage 32MHz. The 18F2550 has USB support and an internal speed of 48MHz. With both of these chips the instruction time is ¼ of the oscillator frequency, so a 32MHz chip will execute 8MIPS.
The timer takes 256 to roll over because it is 8 bits. If you change to timer 2 then you can set the value that it should roll over at in register PR2. Have a read of the timer 2 section in the data sheet.