Correct 4-pin Oscillator connections

crystaloscillatorpic

I'm looking for the correct way to connect a 4-pin oscillator to a PIC24F. I have seen diagrams like the one below, but it seems that this connection is only for crystals and not crystal oscillators.

I've also seen on various forums (such as: http://forum.allaboutcircuits.com/showthread.php?t=76570) that the correct connection for a 4-pin oscillator is VDD to one pin, VSS to one pin, and OUT to CLKIN on the PIC24F.

Here is a link to the datasheet of one oscillator that I've been looking at: http://www.mouser.com/ds/2/3/ASFLMB-24525.pdf

This datasheet states: "Note:Recommend using an approximately 0.01uF bypass capacitor between PIN 2 and 4"

So my questions are: is the the correct way to connect a 4-pin osciallator? Also, do I need the external capacitors as shown in the image below for this type of oscillator? Or should I only connect the one cap between pins 2 and 4 as the oscillator datasheet recommends?

Crystal Connection

Best Answer

Oscillator modules are quite compatible with PIC CLKIN pins. Just make sure that the power supplies are compatible i.e. don't use a 5V module if the PIC is running from 3V3. The one you linked to is 3V3 compatible so presumably your PIC is also running from 3V3?

You won't need C1 and C2 - they are needed when a XTAL is used.

Related Topic