In theory lifetime have to be the same, but yes the power consumption would be higher @10MHz than 5MHz.
Which speed to choose... Yikes.. hard to tell... and it's different from project to project. For low current, lower the crystal(resonator) better it is. Lower frequency will also produce less EMI/RF noise... and so on.
If your application is not timing critical and if your PIC have an internal OSC, just use it... it save PCB space and free up 2 I/O. Newer devices have better internal OSC accuracy .. 1% if my memory serves me well. So for many Serial Comm, this might work pretty well. Keep in mind it's a RC OSC and it will shift will temperature.
Some PIC18F can run up to 32MHz using the internal OSC with internal PLL... that's pretty fast.(Yeah i know PIC32 run up to 80MHz now)
All PIC have their own external OSC limit. Some can run @48Mhz... but with a 4 MHz external osc.
Loads of different PIC, each have their respective datasheets. In case of doubt, just post your PIC model and we may have a look at it.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks