Hi, I have difficulties with the oscillator: when I program the device and run it in the PICDEM 2 PLUS, it works fine. when I put the device in my own buildt board, the oscillator shows a nice sinewave on OSC2, but nothing on OSC1 (that is about 1 V DC). The sinewave is about 4V amplitude. I am using a 4 MHz Quarz between the oscillator pins and from each quarz-pin to ground a capacitor. I have tried capacitor values between 10 pF and 48 pF. I have also tried a resistor of 330 Ohms between OSC2 and the quarz. I am using CONFIG OSC = HS I have also tried XT, but got not even the sinewave. any idea, where to look and what to try? thank you Lembit -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist