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

Back to Subject List

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


 
#128935 - Multiprocessor Communication SADDR & SADEN
Good Afternoon,

I'm trying to get the multiprocessor communication on the Atmel T89C51AC2 working.

I am using UART Mode 1 as per the manual, 1 start, 8 bits, 1 stop.

My master controller is currently setup with this code:

//Multiprocessor Communication Registers
unsigned char *SADDR;
unsigned char *SADEN;

//Setup Multiprocessor communication
SADDR = (unsigned char *)0xA9;
SADEN = (unsigned char *)0xB9;

*SADDR = 0x3e;
*SADEN = 0xff;

My slave has the same code except SADDR is 0xff. When my master uP sends data, the slave still continues to receive it. Even though my understanding of this is that if the set bits of

(master)(SADDR | SADEN) != (slave)(SADDR | SADEN)

then the slave will not set the RI bit.

Is there something I am missing here?

Thanks,
Roque


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