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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/20/12 09:43
Read: times


 
#187439 - at89s51 mode 2 multiprocessor environment.
I am making a system with one master and three slaves. but i have done basic communication in mode 1 but i found (in theory ) it would be much better if i did it in mode 2.

now question is that my model of 8051 doesnt have sddr or saden for automatic recognition. this is what i have in mind, just need to know if its right.

master in mode 2 sm2=1
tb8=1
sbuff=adress

slave in mode 2 sm2=1
adress in r2
ri=1, compares recieved sbuff with r2
if matching set sm2=0

master in mode 2 sm2=1
tb8=0
sbuff=data

slave in mode 2 sm2=0
ri=1, saves data
sm2=1

is this the right way to match adresses without saddr etc?

List of 4 messages in thread
TopicAuthorDate
at89s51 mode 2 multiprocessor environment.            01/01/70 00:00      
   9-bit comms were done long before ....            01/01/70 00:00      
      how and where else should i save the address for slaves            01/01/70 00:00      
         in a variable            01/01/70 00:00      

Back to Subject List