Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/25/03 14:36
Read: times


 
#53322 - RE: Go master-slave
Responding to: ???'s previous message
Hi,
Andy, it depends on hardware scheme. For example, you connect TX pin of MCU1 (here: master) with RX pin of MCU2 and MCU3 and so TX pins of MCU2/3 to RX pin of MCU1. Now explain me how it may work if MCU2 comes to be as master and MCU3 still keeps as slave? They both have TX connected together and transmission from MCU2 comes to TX of MCU3 (= You should then make some additional hardware to communicate all their TX/RX signals.
Even if master is always fixed so anyway for many nodes it is need to use extra-hardware as buffer because output current of a chip is limited.

There is another way - connect all the MCUs via Ring scheme: TX/MCU1->RX/MCU2/TX->RX/MCU3/TX/->RX/MCU1. The idea is simple - each node retransmits passthrough messages of another node and rejects own ones after they come back via Ring. Yes, it takes additional time (but easy may be done inside UART ISR) and as well there is another problem - if any node fails/switched off then communication will be terminated at all.
Good days!

List of 12 messages in thread
TopicAuthorDate
contact several 8051            01/01/70 00:00      
   RE: contact several 8051            01/01/70 00:00      
      RE: contact several 8051            01/01/70 00:00      
         RE: contact several 8051            01/01/70 00:00      
      RE: Go master-slave            01/01/70 00:00      
         RE: Go master-slave            01/01/70 00:00      
            RE: Go master-slave            01/01/70 00:00      
               RE: Go master-slave            01/01/70 00:00      
   RE: contact several 8051            01/01/70 00:00      
      RE: contact several 8051            01/01/70 00:00      
   RE: contact several 8051            01/01/70 00:00      
   RE: contact several 8051            01/01/70 00:00      

Back to Subject List