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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/05/06 22:58
Read: times


 
#129036 - comments
Responding to: ???'s previous message
The 1's that the (master)SADDR |SADEN form must match the 1's that the slave's form.
Language? What the transmitting device has in SADDR and SADEN is totally irrelevant. The master, when receiving, need not (but can) have any address recognition.

In my example I made SADDR and SADEN the same value for both the master and the slave, however RB8 still dictates weather or not the value is received.
RB8 means "generate interrupt (i.e. set RI) only if RB8 is set". SADDR/SADEN means "if RB8 is set it must be an address, is it the one we care about" We all happily did 9 bit 485 long before SADDR/SADEN was 'invented' they are a 'convenience' not a 'necessity'. Get it to work without using them, THEN, and ONLY then, startimplementing them.

In your mind separate the RB8 interrupt handling (SM2 on or off) from the SADDR/SADEN mechanism, you seem to mix them up.

Erik

List of 27 messages in thread
TopicAuthorDate
Multiprocessor Communication SADDR & SADEN            01/01/70 00:00      
   I think you need to use 9bit mode            01/01/70 00:00      
   Not Mode 1!            01/01/70 00:00      
      ohhhhh            01/01/70 00:00      
         For reference            01/01/70 00:00      
         the better datasheets ...            01/01/70 00:00      
            Not in the so-called bible            01/01/70 00:00      
               that is correct, however            01/01/70 00:00      
      SM2 Bit            01/01/70 00:00      
         I remember it this way: "when SM2 is set I only ge            01/01/70 00:00      
      sortof an unrelated question            01/01/70 00:00      
         sort of short answer :)            01/01/70 00:00      
   still having trouble...            01/01/70 00:00      
      SADEN and SADDR is a bitch to explain            01/01/70 00:00      
         i thought SM2 sets address recognition...            01/01/70 00:00      
            it does - and it does not            01/01/70 00:00      
   automatic            01/01/70 00:00      
      comments            01/01/70 00:00      
   use SFR            01/01/70 00:00      
      I thought that but            01/01/70 00:00      
         my compiler....ummm...uuhhhh            01/01/70 00:00      
            Use an existing wickenhaeuser sfr definitio            01/01/70 00:00      
               hmmm            01/01/70 00:00      
                  NOOOOOOOOOOOOOOOOOOOO            01/01/70 00:00      
                     ok bare with me...            01/01/70 00:00      
                        almost            01/01/70 00:00      
                           Thanks!            01/01/70 00:00      

Back to Subject List