|
Yes, the "Open" baud mode is designed for this purpose. You'll need to read the SERIN/SEROUT part of the manual, set things up for "Open" baud mode, and add the appropriate pull-up resistor for the mode you're using.
The PIC driver pin can put out about 20 mA, while the PIC input pin draws a very small amount of current. Thus you could drive LOTS of input pins with a single output pin.
One issue is distance -- but if you're on a single board, this shouldn't be a problem. Another issue is capacitance -- with a lot of input pins connected together, the rise time of the signal can be affected. Again, you've got enough current here, and RS-232 baud rates are rather slow, so that shouldn't be an issue either.
One last thing -- you must make absolutly sure that at no time do you connect two outputs while one is 'driving' high and the other is 'driving' low. This will burn out your I/O pins. If you think this is possible, putting a 220 ohm resistor in series with each connected I/O pin will insure the current stays below the damaging level.
|