![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Well, after about 20 phone calls, i finally found a manufacturer in australia who will sell 40Mhz crystals.
So, i want to order some... only, the dude behind the desk asks me "do you want fundamental or 3rd harmonics". So i'm like "What the f***?" I need the crystal for a pic (18f452) .... what do i need? CHeerZ JB |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
What do you mean? That it should be fundamental?
Anyway, he only manufactured crystals, i don't think he used them. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Overtone crystals are usually used for high frequencies, it's difficult to built crystals with a high fundamental frequency. Quote:
|
|||
|
|
|
|
|
(permalink) |
|
It would be difficult to obtain 40Mhz crystals operating in fundamental mode. Even if you could, it might not oscillate at that mode.
Anyway, the PIC18F452 solves this problem by having a 4X clock multiplier circuit. This means you only need a 10Mhz crystal to operate at 40Mhz speed.
__________________
"Having to do with Motion Control" |
|
|
|
|
|
|
(permalink) |
|
You serious? Well I never.... So I only need a 10Mhz Crystal then? Do i need to set flags on the chip or is it enabled by default?
Thanks, John |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Code:
__CONFIG _CONFIG1H, _OSCS_OFF_1H&_HSPLL_OSC_1H
__________________
"Having to do with Motion Control" |
||
|
|
|
|
|
(permalink) |
|
omega
in your case I would also say that you could use a pic that has an internal crystal which ones have the speed you need I don't know, its just that I know they make them such as the pic16f627. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|