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 03:43
Read: 1180 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.      Shoaib Asghar      05/20/12 03:43      
   9-bit comms were done long before ....      Erik Malund      05/20/12 06:34      
      how and where else should i save the address for slaves      Shoaib Asghar      05/20/12 14:16      
         in a variable      Erik Malund      05/20/12 15:23      

Back to Subject List