running 2 PIC chips off same xtal

Status
Not open for further replies.

Build-A-Burger

Full Member level 1
Joined
Oct 27, 2010
Messages
95
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Wyoming
www.hampleman.com
Activity points
2,102
I'm building a circuit that uses a PIC16F877A and also a PIC16F84. Would there be any problem in running both of these off the same 20Mhz crystal and 22pf caps?
 

I've used a crystal "can" oscillator (XO) to drive several microcontrollers in the the past.

I would recommend implementing a simple external oscillator using your crystal and an inverter from which to drive the PICs, rather than try and utilize the clock signal directly from the first PIC to drive the second PIC.

Stray capacitance could certainly be an issue with the latter method.

As per Microchip's recommendation,

Reference: PICmicro Mid-Range MCU Family Reference, Section: 2.3.5 External Crystal Oscillator Circuit for Device Clock, Page: 2-11



BigDog
 

This is so cool - thanks a lot. I was going to use the 2nd PIC1684a with the PIC16877a and the parallel port with a DS1220Y 2k ram chip to give the 877a more ram. Since the parallel port can only be controlled by an external source, the PIC1684 will control the access to the ram chip and the PSP on the 877a. If both chips are running at the same clock speed, then I can expect when the PIC84 will read/write the PSP after the 877a sends a signal to the PIC84 to start the sequence.
This design is the topic for another post, but if anyone would like to comment on it, you can see it at **broken link removed**. Thanks again.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…