I thought this would be a simple solution for someone more experienced than me before I breadboard a mess. It is not a programming question, but I need the circuit correct before I can test my programming.

I am using a 16F877A as the brains for an IR receiver in a preamp. In conjunction with the 16F877A, I am using a Dallas Semiconductor (Maxim) DS1802, dual-digital potentiometer. The DS1802 has a "RST" (Serial Port Reset Input) pin that must be "high" to trigger an internal read and write routine of a "Word" (I’ve got this covered). In addition, however, the DS1802 has a "CLK" (Serial Port Clock Input) pin, which I am almost 100% sure needs the clock speed from the 16F877A.

I have a 20MHz crystal connected to pins 13 and 14 of the 16F877A with paralleled 22pf caps to ground.

My question is, can I just simply connect the "CLK" pin of the DS1802 to pin 14 (OSC2/CLKOUT) of the 16F877A or is it more complicated?

If I must use a separate pin of the 16F877A, how do I place the clock speed on the pin so the DS1802 can see 20MHz?

Thanks

Ken Klausner