Would love to see your two wire solution Dwayne - would possibly make life much easier as I have another two PIC's that are going to have to do a similar job pretty soon using the same master.
What actually seems to happen is the 16F877 sends out the serial data fine (checked it with PC) but the receiving PIC (the 16F84A) just seems to sit there waiting for the start command to come through. I'm guessing that the interrupt (firing once every 300uS or faster) is stopping it from receiving properly. But I'm still a bit green on these things so I'm not too sure of the best way to get around it.
I've attached my current code for you to have a look at - let me know if you can see anything glaringly obvious
The 16F877 send command is...
serout2 dta1,6,["S",#totalret,#rpmsamph]
(dta1 is portb.1, totalret and rpmsamph are calculated 16 bit numbers)
Hope that helps explain a little better anyway.
Cheers
Leigh
Bookmarks