??? 09/24/09 21:27 Read: times |
#169110 - Not always interrupt response instantly Responding to: ???'s previous message |
Richard Erlacher said:
If then, their RESET's and crystals were properly synchronized, they'll respond at exactly the same time. Otherwise, if the synchronization of the two slaves is critical, he'll need a different solution. No, even with two identically fast processors running from the same clock, they may respond at different times, since we can't be sure that they are both ready to process the receive interrupt instantly. But that is obviously irrelevant if the OP don't need the two slaves to send any information back. A lot of people are splitting RX data to multiple listeners. There are normally a huge number of options for controlling multiple processors from the same PC, but the OP has to spend more time describing the exact needs, and what hardware he has available. I don't remember if it has already been discussed in this thread, but one alternative is to have a RS232 link between PC and one processor, and then use a slave link (RS232, SPI, ...) to forward information to other microcontrollers. And there are of course a number of ways more than two devices can talk on a bus as long as there are some form of master/slave, token ring or collision-detect implemented. |