4 pin oscillator and PIC clk pins

Thread Starter

hunterage2000

Joined May 2, 2010
487
Can anyone tell me how a 4 pin oscillator is connected to the clkin and clkout pins? I have attached the circuit layout. It is a 20MHZ EPSON oscillator with pins Vdd, GND, Out and OE or ST.
 

Attachments

Ron H

Joined Apr 14, 2005
7,063
You can see the datasheet of crystal module as below.
I always just used three pins, Vcc,Gnd,Out, and ignore the output Enable/Disable.

http://www.pletronics.com/uploads/datasheets/p1145-hcm.pdf

The datasheet as t06afre linked page 54:
The output of crystal module connecting to RC1/T1OSI/CCP2(2) of Pic16F877.
The pinout may be the same, but that is definitely not an Epson 20MHz oscillator, as specified by the OP.
Here is one, but it still may not be the OP's choice.
 

ScottWang

Joined Aug 23, 2012
7,505
The pinout may be the same, but that is definitely not an Epson 20MHz oscillator, as specified by the OP.
Here is one, but it still may not be the OP's choice.
You are right, but if the OP know the meaning of pin of crystal, then he still can connect to the right pin.
 

Thread Starter

hunterage2000

Joined May 2, 2010
487
So in the diagram what are the pins either side of the oscillator? In my tutorial book it says pins 13 and 14 must always be connected and doesnt really go into anything else about the oscillator.
 

t06afre

Joined May 11, 2009
5,934
So in the diagram what are the pins either side of the oscillator? In my tutorial book it says pins 13 and 14 must always be connected and doesnt really go into anything else about the oscillator.
Then your tutorial are wrong. In your case you need to connect the out pin to pin 13 on the PIC. And at the same time select HS, XT ORLP OSC CONFIGURATION
 
Top