=20 I am trying to set up a clock crystal for timer1, so I can keep track of time while I am in sleep mode. I got the code working fine with an external 32,768 oscillator (a DS32KHZ tied to T1CLKI), but I am trying to get it to work with a 32,768 crystal. This is my first time working with crystals; I always use the internal oscillator, or a ceramic resonator. Since it works with the external oscillator, I assume my software setup is ok. I am using this crystal: =20 =20 http://rocky.digikey.com/WebLib/Epson/Web%20Data/C-2-TYPE,C-TYPE.pdf =20 The symptoms are that timer1 doesn't increment. :-) I have the crystal connected to T1OSI and T1OSO, and then 33 pF capacitors between those pins and ground. I have also tried 68 pF, 18 pF, and 68 pF, and just plain wires. I wrote a simple printf loop to display the value in timer1 every 1/2 second, and it just sits there. If I wiggle the crystal, then I get a few increments, so I think the timer is set up correctly. =20 Any advice? =20 Thanks! =20 Alex -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu