View previous topic :: View next topic |
Author |
Message |
cfernandez
Joined: 18 Oct 2003 Posts: 145
|
HS 25Mhz vs. H4 10Mhz |
Posted: Sat Nov 06, 2004 11:46 am |
|
|
Hi,
I test in my design with a PIC18F8720 the time elapsed for my application with the follow configurations:
1) HS with 25Mhz Crystall
2) H4 with 10Mhz Crystall (40Mhz)
and the results are that the opcion 2) is more fast!!!.
My question is: Is really more fast H4 10Mhz (40Mhz internall) that HS 25Mhz??
What you think????
Best Regards, |
|
|
newguy
Joined: 24 Jun 2004 Posts: 1907
|
|
Posted: Sat Nov 06, 2004 1:54 pm |
|
|
The 10 MHz external crystal with the x4 pll enabled means that the processor runs at 40 MHz, which is faster than the 25 MHz without the x4 pll as you observed. |
|
|
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
|
Posted: Sat Nov 06, 2004 5:33 pm |
|
|
Yes but the 18F8720 has a bug and doesn't work properly over 25Mhz. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sat Nov 06, 2004 8:23 pm |
|
|
The early silicon had problems running over 4MHz. I haven't heard of a bug running over 25MHz? The emulator will not run over 25MHz though. |
|
|
Trampas
Joined: 04 Sep 2004 Posts: 89 Location: NC
|
|
Posted: Sun Nov 07, 2004 7:37 am |
|
|
Did you all hear that? That was the light going on....
When the 18F8720 first came out I had bug where the GIE bit would magically get cleared. I called Microchip for weeks trying to figure out why, they kept telling me it was my problem. I cursed them up one side and down the other, then switched to a TI processor.
Now it makes since since this was I think one of the first releases of the chip and I was runing at 10Mhz x 4. I guess they may have found their problem.
Trampas |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sun Nov 07, 2004 8:36 am |
|
|
Basically it was a core problem that certain code sequences would cause strange results. It was totally unpredictable. Not all processors were affected. As a result, we have a hundred or so lighting controllers out there that have failed. |
|
|
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
|
|
Posted: Sun Nov 07, 2004 4:07 pm |
|
|
I too learned it the hard way: Never use the first couple of revisions of anything that comes out of Microchip. |
|
|
|