Old Farts and Computers,
here we go...
Old Farts and Computers,
here we go...
OK, so it is a proper oscillator.
Then just drive both PICs directly from it it. The way you have it now the second PIC will run at 1/4 the speed of the first one.
Use .png instead of .bmp for images like this, much better!
/Henrik.
Made several mistakes, killed one 18F1320 donīt know how , destroyed my PICKIT operating system, had to desolder and solder one 18F1320, BIG Mistake in the schematic: I had to use the lower 4 bits of PORTA and these begin at PORTA0 not PORTA1 . Put a resistor between 74HC14 and RB1 otherwise the PIC may be grilled.
Changed config:
#CONFIG
CONFIG OSC = HS ;Clock out on RA6 :1/1 CLKI
#ENDCONFIG
now the second PIC gets the same frequency out of the first PIC. Checked it with a scope.
Hardware seems to work (if nothing else is grilled) and I can jump into software.
Bookmarks