??? 12/05/06 22:28 Read: times |
#129034 - automatic Responding to: ???'s previous message |
Roque Obusan said:
//Multiprocessor Communication Registers unsigned char *SADDR; unsigned char *SADEN; //Setup Multiprocessor communication SADDR = (unsigned char *)0xA9; SADEN = (unsigned char *)0xB9; *SADDR = 0x3e; *SADEN = 0xff; So manually setting and resetting RB8 works very well. However I cannot get the automatic part of this working. My understanding of this is that (slave)SADDR | SADEN form's a value of ones and 0's. The 0's represent "don't care" bits. The 1's that the (master)SADDR |SADEN form must match the 1's that the slave's form. 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. |