[sdiy] PICs sharing pins and clock
fmg
eqys at iposadas.com.ar
Sun Sep 25 08:29:02 CEST 2005
To the pics gurus,
Is this possible? I mean, can two (or more) PICs work together, one
with one of its pins working as output and connected to a second one
configured as input, both sharing a common external clock?
Example (for better clarity): pin RB0 (from PIC #1) as output and directly
connected to pin RA0 (from PIC #2) as input...
instruc.
cycle pic #1 pic #2
------------------------------------------------------ (-x- = don't care)
Tn -x- -x-
Tn+1 incf portB,1 --------> btfsc portA,0
Tn+2 -x- goto XX
Tn+3 -x- goto YY
...will pic #2 go to XX if RB0 from pic #1 changes from 0x00 to 0x01 ?
The 16f84a's datasheet is a bit confusing (or I'm not interpreting it
correctly). I'm also not sure if this is the correct place to ask (even
if this is for a synth project)
Any light would be appreciated, TIA
Fabio
(listening R van Gaal's Closer to the Truth)
.
PS (...wich is a good thing to listen to at 03:30 am)
More information about the Synth-diy
mailing list